Jump to content

php4->php5


dzedward

Recommended Posts

The only thing I have found at this point is that the phpbb code has several references to $user->session_begin(), but that the session_begin() function is part of the "session" class. I have not found the "user" class yet (hopefully it extends the "session" class.) Unless phpbb generates the same errors you are getting, there does not appear to be anything wrong.

Link to comment
https://forums.phpfreaks.com/topic/90713-php4-php5/page/2/#findComment-465616
Share on other sites

I checked into various files (I did find the user class that extends the session class) and did not find anything specific that would be causing the problem.

 

However, I suspect that some other modification (theme for example) contains some code that is doing something like a return statement inside of an included file that is causing the $user = new user(); statement to be skipped.

 

If this is what is happening, it would usually be due to short open tags that cause some portion of php code to not be seen.

 

Do you have access to the php.ini or the output from a phpinfo(); statement on the php4 system and on the php5 system for comparison purposes?

 

You could try to turn on the short open tags setting as a test to see if the problem goes away.

Link to comment
https://forums.phpfreaks.com/topic/90713-php4-php5/page/2/#findComment-465624
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.