Announcement

Collapse
No announcement yet.

Upgrade from php5.2 to php5.3 - problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Alfa1
    replied
    Originally posted by Paul M View Post
    Yes, it is.
    Thanks!

    Leave a comment:


  • Paul M
    replied
    Originally posted by pelican View Post
    can anyone confirm if vb 3.8.7 is compatible with php 5.3.6 ?
    Yes, it is.

    Leave a comment:


  • parttimepoker
    replied
    Originally posted by haythamghareeb View Post
    I still have hope that someone with coding experience can help me before I do something I'd regret. Please read the lines in which there are errors and see what they have in common. Maybe we can find a solution.

    includes/init.php on line 55

    $vbulletin =& new vB_Registry();

    includes/init.php on line 107

    $db =& new vB_Database_Explain($vbulletin);

    includes/init.php on line 111

    $db =& new vB_Database($vbulletin)

    includes/init.php on line 119


    $db =& new vB_Database_Slave($vbulletin)

    includes/init.php on line 130

    $db =& new vB_Database_MySQLi_Explain($vbulletin)

    includes/init.php on line 134

    $db =& new vB_Database_MySQLi($vbulletin)

    includes/init.php on line 142

    $db =& new vB_Database_Slave_MySQLi($vbulletin)

    includes/init.php on line 211

    $vbulletin->datastore =& new $datastore_class($vbulletin, $db)

    includes/init.php on line 389


    $vbulletin->session =& new vB_Session($vbulletin, $sessionhash, $vbulletin->GPC[COOKIE_PREFIX .

    'userid'], $vbulletin->GPC[COOKIE_PREFIX . 'password'], $styleid, $languageid)

    includes/class_core.php on line 2552



    All you have to do to fix this is removed the "&" in the init.php and class_core.php files at each line where the error spits. It's about 10 places in init.php and 1 in class_core (first one line 55 in init.php) etc.

    Make sure to make backups of these files before you edit them. The "&" is deprecated and not needed anymore in the code, removing them on the specific lines where the errors occur fixes it. Suppressing the errors really isn't the best option.

    Leave a comment:


  • rootsxrocks
    replied
    Sorry I can't but I can confirm that 4.12 works just fine with
    Apache version2.2.17
    PHP version5.3.6
    MySQL version5.1.56

    Leave a comment:


  • pelican
    replied
    can anyone confirm if vb 3.8.7 is compatible with php 5.3.6 ?

    Leave a comment:


  • Steve Machol
    replied
    We can't help you if you run third-party code. You can try www.vbulletin.org.

    Leave a comment:


  • haythamghareeb
    replied
    Thank you Steve. If you want I'll start my own thread but to remove my add-ons is really not an option. This will make the whole forum fall apart. Delete my arcade or video directory? That's too much.

    Leave a comment:


  • Steve Machol
    replied
    Those errors are from add-ons. The foirst thing you need to do is remove your add-ons. Then if you still need help please start your own thread with all the relevant details. Thank you.

    Leave a comment:


  • haythamghareeb
    replied
    I still have hope that someone with coding experience can help me before I do something I'd regret. Please read the lines in which there are errors and see what they have in common. Maybe we can find a solution.

    includes/init.php on line 55

    $vbulletin =& new vB_Registry();

    includes/init.php on line 107

    $db =& new vB_Database_Explain($vbulletin);

    includes/init.php on line 111

    $db =& new vB_Database($vbulletin)

    includes/init.php on line 119


    $db =& new vB_Database_Slave($vbulletin)

    includes/init.php on line 130

    $db =& new vB_Database_MySQLi_Explain($vbulletin)

    includes/init.php on line 134

    $db =& new vB_Database_MySQLi($vbulletin)

    includes/init.php on line 142

    $db =& new vB_Database_Slave_MySQLi($vbulletin)

    includes/init.php on line 211

    $vbulletin->datastore =& new $datastore_class($vbulletin, $db)

    includes/init.php on line 389


    $vbulletin->session =& new vB_Session($vbulletin, $sessionhash, $vbulletin->GPC[COOKIE_PREFIX .

    'userid'], $vbulletin->GPC[COOKIE_PREFIX . 'password'], $styleid, $languageid)

    includes/class_core.php on line 2552




    Warning: Cannot modify header information - headers already sent by (output started at

    [path]/includes/init.php:55) in [path]/arcade.php on line 97

    Warning: Cannot modify header information - headers already sent by (output started at

    [path]/includes/init.php:55) in [path]/arcade.php on line 2675

    Warning: Cannot modify header information - headers already sent by (output started at

    [path]/includes/init.php:55) in [path]/arcade.php on line 2676

    Warning: Cannot modify header information - headers already sent by (output started at

    [path]/includes/init.php:55) in [path]/arcade.php on line 2677

    Warning: Cannot modify header information - headers already sent by (output started at

    [path]/includes/init.php:55) in [path]/arcade.php on line 2678
    ==========================================

    Can it be fixed through this:

    http://www.vbulletin.com/forum/showt...=1#post2104887


    I hope someone can help. It's 4 AM where I am at and I can't sleep. Thank you.

    Leave a comment:


  • Zachery
    replied
    Best bet is to try to upgrade to vB 3.8.7, see if it doesnt help.

    Leave a comment:


  • haythamghareeb
    replied
    So are you saying I should just upgrade to 3.8.7? If that'll work, it'd be great. I hate to lose my style and modification if I up grade to 4.

    Leave a comment:


  • Zachery
    replied
    3.8.7 should have fixes in place to help address this IIRC.

    Leave a comment:


  • haythamghareeb
    replied
    Originally posted by Steve Machol View Post
    You will need to upgrade to vB4.
    So this is the solution for sure? I don't want to upgrade and still get this problem. I don't really like V. 4 that much. But if that's the sure solution, I am forced to upgrade.

    Leave a comment:


  • Sworm1
    replied
    But why this? A big number of host go to upgrade to 5.3 of php ..... all 3.8 users will be out....

    Leave a comment:


  • HenrikHansen
    replied
    Originally posted by Steve Machol View Post
    If you are getting the same error as in post #1, then the answer is no for your version of PHP.
    OK, thanks, I have no problems right now, but I have different hosts, some running 5.3, so I also need to know.
    There must be a list somewhere which versions of vb can be run by the different versions of PHP.

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X