Welcome to WebmasterWorld Guest from 54.226.60.235

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

URGENT HELP! - oscommerce and 4.4.5 support

my host has upgraded to PHP 4.4.5 and broken my site

     

marcus76

8:24 am on Mar 22, 2007 (gmt 0)

10+ Year Member



The site is offline! Does anyone know what i need to do to get the site up and running under this version?

Thanks

Marcus

cameraman

10:00 am on Mar 22, 2007 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



They may have taken the opportunity to trun register_globals off. If that's it, as a quick fix to get back online you can do this at the top of each script:
foreach($_POST as $vbl => $val)
$$vbl = $val;

Then repeat as necessary for $_GET, $_SERVER, $_COOKIE...
Afterward, you can start going through each script and fixing them.

eelixduppy

11:00 am on Mar 22, 2007 (gmt 0)

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 5+ Year Member



Also remember to check your error logs as it will provide some information as to what is going on so you can make necessary changes to configuration settings, etc...

marcus76

11:04 am on Mar 22, 2007 (gmt 0)

10+ Year Member



The webhost has said php safe mode has also been turned on.

Any ideas what oscommerce files / config or otherwise i need to make these changes to?

thanks for your posts

Marcus

henry0

11:38 am on Mar 22, 2007 (gmt 0)

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



There are a few fixes about it available all over the place.

Years ago I used it

do a search with global and oscomm
also the fix is somewhere discussed on their forum.

search with exactly "oscommerce register globals patch"

marcus76

12:13 pm on Mar 22, 2007 (gmt 0)

10+ Year Member



hi, so are we saying this is 100% to do with the register_globals? i see there is a contrib available for register globals, i just want to be sure that since my host has upgraded to PHP 4.4.5 applying the register global fix will help me?

Is there anyone with 1st hand knowledge of this?

excuse my ignorance but how long has PHP version 4.4.5 been around?

jatar_k

1:29 pm on Mar 22, 2007 (gmt 0)

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member



do you know what version of php they upgraded from?

you could check the docs on the version of oscommerce you use to see if it relies on register_globals being on.

you could pick through the code to find out but that may take forever.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month