Wordpress Content Disappears

Richard Ibbotson richard.ibbotson at googlemail.com
Sun May 2 20:19:10 UTC 2010


Hi

Right, I've checked the themes to make sure that they are okay.  Same 
result every time with different themes.  The background of the page is 
there but not the content or pictures.  Checked my.cnf and php.ini.  
They look good.  Just to make sure I upgraded to Wordpress 3.0 beta 1.  
That works fine.

Looking into /var/log/apache2/error.log I find something interesting.  
Not sure what this means but it looks Ubuntu related and so this is 
probably the place to ask what to do next.  This is after an upgrade 
from 9.10 to 10.04.....

<b>Warning</b>:  Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 
and greater in <b>Unknown</b> on line <b>0</b><br />
[Sun May 02 16:16:38 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Function set_magic_quotes_runtime() is deprecated in /var/www/blog/wp-
settings.php on line 27, referer: http://sl
[Sun May 02 16:16:38 2010] [error] [client 10.0.0.2] PHP Warning:  
session_start() [<a href='function.session-start'>function.session-
start</a>]: Cannot send session cache limiter - h
<br />
<b>Warning</b>:  Directive 'register_long_arrays' is deprecated in PHP 
5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>:  Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 
and greater in <b>Unknown</b> on line <b>0</b><br />
[Sun May 02 16:17:14 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Function set_magic_quotes_runtime() is deprecated in /var/www/blog/wp-
settings.php on line 27, referer: http://sl
[Sun May 02 16:17:14 2010] [error] [client 10.0.0.2] PHP Warning:  
session_start() [<a href='function.session-start'>function.session-
start</a>]: Cannot send session cache limiter - h
[Sun May 02 16:17:29 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Function set_magic_quotes_runtime() is deprecated in /var/www/blog/wp-
settings.php on line 27, referer: http://sl
[Sun May 02 16:17:29 2010] [error] [client 10.0.0.2] PHP Warning:  
session_start() [<a href='function.session-start'>function.session-
start</a>]: Cannot send session cache limiter - h
[Sun May 02 16:17:47 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Function set_magic_quotes_runtime() is deprecated in /var/www/blog/wp-
settings.php on line 27, referer: http://sl
[Sun May 02 16:17:47 2010] [error] [client 10.0.0.2] PHP Warning:  
session_start() [<a href='function.session-start'>function.session-
start</a>]: Cannot send session cache limiter - h
[Sun May 02 16:17:55 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Function set_magic_quotes_runtime() is deprecated in /var/www/blog/wp-
settings.php on line 27, referer: http://sl
[Sun May 02 16:17:55 2010] [error] [client 10.0.0.2] PHP Warning:  
session_start() [<a href='function.session-start'>function.session-
start</a>]: Cannot send session cache limiter - h
[Sun May 02 16:18:03 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Function set_magic_quotes_runtime() is deprecated in /var/www/blog/wp-
settings.php on line 27, referer: http://sl
[Sun May 02 16:18:03 2010] [error] [client 10.0.0.2] PHP Warning:  
session_start() [<a href='function.session-start'>function.session-
start</a>]: Cannot send session cache limiter - h
<br />
<b>Warning</b>:  Directive 'register_long_arrays' is deprecated in PHP 
5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>:  Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 
and greater in <b>Unknown</b> on line <b>0</b><br />
[Sun May 02 16:25:43 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Function set_magic_quotes_runtime() is deprecated in /var/www/blog/wp-
settings.php on line 27, referer: http://sl
[Sun May 02 16:25:43 2010] [error] [client 10.0.0.2] PHP Warning:  
session_start() [<a href='function.session-start'>function.session-
start</a>]: Cannot send session cache limiter - h
[Sun May 02 16:25:57 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Function set_magic_quotes_runtime() is deprecated in /var/www/blog/wp-
settings.php on line 27, referer: http://sl
[Sun May 02 16:25:57 2010] [error] [client 10.0.0.2] PHP Warning:  
session_start() [<a href='function.session-start'>function.session-
start</a>]: Cannot send session cache limiter - h
[Sun May 02 16:26:08 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Assigning the return value of new by reference is deprecated in 
/var/www/blog/wp-settings.php on line 208, refere
[Sun May 02 16:26:08 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Assigning the return value of new by reference is deprecated in 
/var/www/blog/wp-settings.php on line 223, refere
[Sun May 02 16:26:08 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Assigning the return value of new by reference is deprecated in 
/var/www/blog/wp-settings.php on line 230, refere
[Sun May 02 16:26:08 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Assigning the return value of new by reference is deprecated in 
/var/www/blog/wp-settings.php on line 237, refere
[Sun May 02 16:26:08 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Assigning the return value of new by reference is deprecated in 
/var/www/blog/wp-settings.php on line 262, refere
[Sun May 02 16:26:08 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Function set_magic_quotes_runtime() is deprecated in /var/www/blog/wp-
settings.php on line 27, referer: http://sl
[Sun May 02 16:26:09 2010] [error] [client 10.0.0.2] PHP Warning:  
session_start() [<a href='function.session-start'>function.session-
start</a>]: Cannot send session cache limiter - h
[Sun May 02 16:26:11 2010] [error] [client 10.0.0.2] File does not 
exist: /var/www/plugins, referer: 
http://sleepypenguin.homelinux.org/blog/wp-
admin/admin.php?page=wpsyslog2/wpsyslog
[Sun May 02 16:27:12 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Function set_magic_quotes_runtime() is deprecated in /var/www/blog/wp-
settings.php on line 27, referer: http://sl
[Sun May 02 16:27:12 2010] [error] [client 10.0.0.2] PHP Warning:  
session_start() [<a href='function.session-start'>function.session-
start</a>]: Cannot send session cache limiter - h
[Sun May 02 16:27:31 2010] [error] [client 10.0.0.2] PHP Deprecated:  
Function set_magic_quotes_runtime() is deprecated in /var/www/blog/wp-
settings.php on line 27, referer: http://sl

Any suggestions ?  I notice that if I comment out line 27 then a lot 
of this spam goes away.


Richard
http://www.sheflug.org.uk




More information about the ubuntu-users mailing list