genome Posted February 24, 2007 Share Posted February 24, 2007 all my pages have gone blank i get nothing. view source is empty too. Link to comment Share on other sites More sharing options...
jasonabc Posted February 24, 2007 Share Posted February 24, 2007 this is usually due to unescaped apostrophes/quotes in your language files. Make sure that "what's new" (for example) is written "what\'s new" Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix Link to comment Share on other sites More sharing options...
genome Posted February 24, 2007 Author Share Posted February 24, 2007 this happened just after my host restarted the server beforehand it had just started working after needing fixed after a mysql5 upograde. nothing jumping out at me in a quick check through the language files although i havent checked them all or thouroughly. as i said it worked until my host restarted the server... Link to comment Share on other sites More sharing options...
jasonabc Posted February 24, 2007 Share Posted February 24, 2007 Sounds like the database upgrade is the cause of the problem then. Download the latest version of OSC and consult update-20060817.txt contained in the zip. Down at the bottom are some fixes to apply to some of your store queries that are due to MySQL 5 running in STRICT mode. Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix Link to comment Share on other sites More sharing options...
genome Posted February 24, 2007 Author Share Posted February 24, 2007 i had already fixed that issue and confirmed the site working after the upgrade before this happened. Link to comment Share on other sites More sharing options...
genome Posted February 25, 2007 Author Share Posted February 25, 2007 [email protected] [~/public_html]# php index.php Segmentation fault (core dumped) [email protected] [~/public_html]# Link to comment Share on other sites More sharing options...
genome Posted February 25, 2007 Author Share Posted February 25, 2007 thats the same even for a clean install from fantastico Link to comment Share on other sites More sharing options...
genome Posted February 25, 2007 Author Share Posted February 25, 2007 apache 1.3.37 php 4.4.5 mysql 5.0.27-standard Link to comment Share on other sites More sharing options...
hbidad Posted February 25, 2007 Share Posted February 25, 2007 This is a bug in php4.4.5 Has been corrected in the CVS Description: ------------ The upgrade from PHP 4.4.4 to 4.4.5 caused a Segmentation Fault on a client's osCommerce site. I've tracked the problem down to a session_register function call on a undeclared variable. Reproduce code: --------------- <?php session_start(); // Uncomment the following line to prevent the Segmentation Fault //$myvar = 1; session_register("myvar"); echo "Hello World"; ?> Expected result: ---------------- Hello World and no "Segmentation Fault" in Apache's error log: [sat Feb 17 21:14:16 2007] [notice] child pid 20549 exit signal Segmentation fault (11) Actual result: -------------- 0x080dbbc2 in php_add_session_var (name=0x850b75c "myvar", namelen=5) at /usr/src/apache-php/build/php-4.4.5/ext/session/session.c:287 287 if ((Z_TYPE_PP(sym_global) == IS_ARRAY && Z_ARRVAL_PP(sym_global) == &EG(symbol_table)) || *sym_global == PS(http_session_vars)) { Link to comment Share on other sites More sharing options...
genome Posted February 25, 2007 Author Share Posted February 25, 2007 how do i fix it? Link to comment Share on other sites More sharing options...
genome Posted February 25, 2007 Author Share Posted February 25, 2007 anyone know how to fix this? (and i have no idea how to use cvs) Link to comment Share on other sites More sharing options...
jasonabc Posted February 25, 2007 Share Posted February 25, 2007 http://www.oscommerce.com/forums/index.php?showtopic=252138 Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix Link to comment Share on other sites More sharing options...
genome Posted February 25, 2007 Author Share Posted February 25, 2007 doesnt work Link to comment Share on other sites More sharing options...
hbidad Posted February 25, 2007 Share Posted February 25, 2007 doesnt work A few options: oscommerce changes the script to get around this. Update to php4 dev version if you have root access to the server If your host has php4 and php5 installed, use .htaccess to force the use of php5 (verified this to work) My fix was to recompile the latest dev 4.4.6rc2 dev Link to comment Share on other sites More sharing options...
genome Posted February 25, 2007 Author Share Posted February 25, 2007 i do not have root acess. i think my host is planning an upgrade to php5 next week, how would i modify .htaccess so and would cpanel argue wih me about it? also, would i have to edit the .htaccess in every folder or just the one in public_html/ ? Link to comment Share on other sites More sharing options...
genome Posted February 26, 2007 Author Share Posted February 26, 2007 ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.