When I change wp-config.php to Spanish (define('WPLANG', 'es_ES');) and I restart apache, I see a blank (white) screen.

I run WP 3.2.1 with Bitnami in EC2. The language file es_ES.mo is in /wp-content/languages/

Thanks!

asked 16 Dec '11, 11:01

Gregor's gravatar image

Gregor
91171722
accept rate: 12%

edited 16 Dec '11, 11:01


It is strange. Could you check the Apache log file at /opt/bitnami/apache2/logs/error.log?

link

answered 16 Dec '11, 17:49

Beltran%20Rueda's gravatar image

Beltran Rueda ♦♦
11.1k81550
accept rate: 25%

Here the Apache error log. This error shows repeatedly, for every browser page reload that resulted in a blank screen

[Fri Dec 16 15:53:29 2011] [error] [client XX.XXX.X.XXX] PHP Fatal error: require_once(): Failed opening required '/opt/bitnami/apps/wordpress/htdocs/wp-config.php' (include_path='.:/opt/bitnami/php/lib/php') in /opt/bitnami/apps/wordpress/htdocs/wp-load.php on line 29

Thanks Beltran.

(17 Dec '11, 04:56) Gregor

Maybe did you modified the wp-config permissions file? Run the following command in the server:

$ sudo chown bitnami:daemon /opt/bitnami/apps/wordpress/htdocs/wp-config.php

$ sudo chmod 750 /opt/bitnami/apps/wordpress/htdocs/wp-config.php

(17 Dec '11, 15:25) Beltran Rueda ♦♦

This error it seems was related to a wrong configuration of my sftp client, through which I uploaded / updated the wp-config.php file.

I uploaded the modified wp-config.php through a different sftp client (filezilla), and the new language showed correctly.

link

answered 26 Dec '11, 08:25

Gregor's gravatar image

Gregor
91171722
accept rate: 12%

I'm glad to hear that.

(26 Dec '11, 08:44) Beltran Rueda ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×90
×2
×2
×1

Asked: 16 Dec '11, 11:01

Seen: 802 times

Last updated: 26 Dec '11, 08:44

powered by BitNami OSQA