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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.