Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
forums updated
#2

seems the upgrade got borked somehow

 

in the end we had to edit php.ini to reveal the php errors as any topic you clicked on revealed a BLANK PAGE

 



Code:
[root@www cacheid_6]# cp /usr/local/lib/php.ini /usr/local/lib/php.ini.backup




 

to turn on php error reporting edit php.ini (use locate php.ini to find it) and edit the following bits

 

Quote:error_reporting E_ALL display_errors = On
 

once done restart apache/httpd

 

the PHP error reported after modifying php.ini was

 

Quote:Fatal error: Function name must be a string in /usr/local/apache/htdocs/forums/cache/skin_cache/cacheid_6/skin_topic.php on line 696
 

luckily i backup (check out the apache section of the forums., and look at the backup script) so I restored that file to my webserver and it WORKED

 

now that it works, time to restore php.ini to it's previous non-error reporting state

 



Code:
[root@www cacheid_6]# cp /usr/local/lib/php.ini.backup /usr/local/lib/php.inicp: overwrite `/usr/local/lib/php.ini'? y




 

many thanks to the following

 

znx, jy, kobras ! and the other linux-noob members who helped out on #linux-noob and the admin channel !

 

good work dudes

 

cheers

anyweb

Reply


Messages In This Thread
forums updated - by anyweb - 2007-06-21, 03:45 PM
forums updated - by anyweb - 2007-06-21, 09:29 PM
forums updated - by KobrAs - 2007-06-21, 09:33 PM
forums updated - by anyweb - 2007-06-29, 05:41 PM
forums updated - by znx - 2007-06-29, 08:35 PM
forums updated - by znx - 2007-06-29, 09:03 PM
forums updated - by anyweb - 2007-10-26, 01:58 PM
forums updated - by znx - 2007-06-21, 10:20 PM

Forum Jump:


Users browsing this thread: