Announcement

Collapse
No announcement yet.

Error when upgrading my production server

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

  • Error when upgrading my production server

    Hello

    My test server (Win7 PC) based on easyphp 12.0 based on MySQL 5.5.25a and PHP 5.3.14 is working fine! good point

    But I am stuck while going live on my hosted server.

    vb_test.php (VB3 tool) give me :
    Essential vBulletin Requirements
    PHP 5.3.16
    MySQL 5.1.66-0+squeeze1-log
    PCRE
    magic_quotes_sybase
    XML
    MySQL Permission Requirements
    create Pass
    alter Pass
    insert Pass
    update Pass
    select Pass
    delete Pass
    drop Pass
    Recommended Settings (Optional)
    GD 2.x
    open_basedir
    safe_mode
    GZIP
    magic_quotes_runtime
    magic_quotes_gpc
    pcre.backtrack_limit
    Overall Result: Pass

  • #2
    updating from 3.8.7 to 5.0.5 give :
    Fatal error: Call to a member function fetch_userinfo() on a non-object in /homez.301/datsunfr/www/forum/core/vb/library/user.php on line 722

    and SQL error :

    Database error in vBulletin 3.8.7: Invalid SQL: SELECT COUNT(*) AS postcount FROM vb_node; MySQL Error : Table 'datsunfrforum.vb_node' doesn't exist Error Number : 1146 Request Date : Tuesday, December 31st 2013 @ 11:31:05 AM Error Date : Tuesday, December 31st 2013 @ 11:31:07 AM Script : http:///forum/core/install/upgrade.php Referrer : IP Address : 82.237.79.113 Username : Classname : vB_Database_MySQL MySQL Version : 5.1.66-0+squeeze1-log

    vb_node does not exist in VB3... what is not a surprise because created in VB5. Any idea please? thanks a lot!

    Comment


    • #3
      missing prerequisite?

      Comment


      • #4
        So what exactly did you do, step by step?

        Comment


        • #5
          I upgraded 3.8.4 to 3.8.7 + deleted hooks and additional products.
          I renamed my /forum in /forumVB3 and installed a /forum with all the files for VB5.
          I updated the .htaccess in /forum to set PHP 5.3
          I deleted /core/install/install.php & /core/install/makeconfig.php
          I populated :
          \forum\core\customavatars
          \forum\core\customgroupicons
          \forum\core\customprofilepics
          \forum\core\images\ranks
          \forum\customalbums + \forum\core\customalbums
          \forum\customattachments
          I filled in /forum/config.php & /core/includes/config.php
          I replaced vbulletin-custom-language-french.xml par vbulletin-custom-language-french2.xml with fixed charset problem

          then launched the upgrade.php with the result above.

          Comment


          • #6
            Why would you have run the installer? Just follow the upgrade instructions.

            Comment


            • #7
              That's what I did, isn't it?
              https://www.vbulletin.com/docs/html/upgrade
              Links from this section:
              What to know before you upgrade to vBulletin 5
              Creating a Test/Development Installation
              Preparing the vBulletin Files for Upload
              Updating the vBulletin Scripts on Your Web Server
              Running the vBulletin Upgrade Script
              Cleaning up after your Upgrade
              Checking for Updated Templates
              Checking for Updated Phrases


              I could also just back up my dev environment and import in my production server. That's what you mean?

              Comment


              • #8
                I manage to start my production server through restoring my development database in the production server.

                Take care to open admincp and modify roots of forum to the production domain url because after migration thanks to localhosted server, root of server is set to 127.0.0.1 and webserver remains the local host.

                shutdown the local apache and test ==> OK!

                I don't understand why I cannot upgrade directly on production server but I have a workaround.... so that is ok for me.

                Comment

                Related Topics

                Collapse

                Working...
                X