PFMaBiSmAd Posted February 13, 2008 Share Posted February 13, 2008 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 More sharing options...
PFMaBiSmAd Posted February 13, 2008 Share Posted February 13, 2008 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 More sharing options...
dzedward Posted February 13, 2008 Author Share Posted February 13, 2008 Just turned on short open tags to no avail. http://flashgods.kicks-ass.net/forums/phpinfo.php <-- Not working http://www.flashgods.org/phpinfo.php <-- Working Link to comment https://forums.phpfreaks.com/topic/90713-php4-php5/page/2/#findComment-465633 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.