Menu

#75 Wierd Bulletin Board behavior after upgrade of PHP

open
nobody
Interface (27)
5
2006-06-14
2006-06-14
Obie
No

My site hosting company decided to suddenly upgrade
their version of PHP to 5.1.4. As a result, I am
getting some wierd behavior with my site. I first had
to fix the "splitDateObject not found" error, due to
the case of the 'Date' string.

Once that was fixed, my site is up, but the Bulletin
Board module has some wierd behavior. It no longer
shows who posted last, and what thread they posted on,
it just shows numbers instead. Also, all of the buttons
available while writing a topic or repling to one are
gone, only the save button remains. The functionality
of the board itself seems to be working, you can create
topics and reply to them.

Does anyone know what changed in PHP that would cause
this? Would an upgrade to PHPWebsite 1.0 fix this
behavior?

Any help would be much appreciated!

Thanks,
Obie.

Discussion

  • Shaun Murray

    Shaun Murray - 2006-06-14

    Logged In: YES
    user_id=722742

    Update the core phpWebSite classes in /core with those in cvs

    Then also install the phpwsbb from cvs. It should work fine as long as you
    avoid the new functionality with private forums which is a little rough still and
    will most likely change before release.

    You might also need to update fatcat too.

    Most of the issues are to do with case sensitivity in the class names. They
    weren't in php4 but are now. Anywhere using the getclass() php function may
    have issues.

    http://uk.php.net/manual/en/function.get-class.php

     
  • Obie

    Obie - 2006-06-14

    Logged In: YES
    user_id=1483233

    I have done what you have suggested, but I was still getting
    errors, and similar behavior, so I took a chance and
    uninstalled the bulletin board, and reinstalled the 1.0.4
    version from CVS.

    Beforehand, I backed up my site and database so I can
    restore if I can't get it to work out.

    After installing the newer version, I restored my database,
    but the forums I had already created in 1.0.3 don't show up
    in the list. When I look at the data in the database
    tables, the forums are all there.

    What do I need to do to restore the forums?

    Thanks a bunch for your help!
    -Obie

     
  • Obie

    Obie - 2006-06-14

    Logged In: YES
    user_id=1483233

    Sorry for all of the replies... And disregard my last
    message - apparently it took a while to update the database,
    because the data appeared in the tables after about an hour.

    However, I am still getting the same behavior with the 1.0.4
    version of the bb, and the newer Core and Fatcat.

    Please take a look at the screen shot attached. It shows
    that the "Last Post" info just shows a bunch of numbers, not
    the actual person and topic that was last posted to.

    Thanks again!!
    -Obie

     
  • Obie

    Obie - 2006-06-14

    Screen shot of error

     
  • Shaun Murray

    Shaun Murray - 2006-06-21

    Logged In: YES
    user_id=722742

    I'm not sure what else needs to change. Make sure you killed your browser
    session and restarted to flush out any objects hanging about.

     
  • el1179

    el1179 - 2006-07-31

    Logged In: YES
    user_id=1565323

    I have these same problems and weird behavior following an
    upgrade to php5, has there been any work around or
    resolution yet?

     
  • Shaun Murray

    Shaun Murray - 2006-07-31

    Logged In: YES
    user_id=722742

    Use php4 or do as I say in this bug report. It works for me. Don't know why the
    other poster is having issues still.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.