Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Upgrade Installation 1.03>1.1.2 big problem

edited April 2007 in Vanilla 1.0 Help
I was attempting to upgrade this morning and followed these instructions: Assuming you haven’t made any changes to the core Vanilla files, upgrading is easy. By “core Vanilla files”, I am referring to all files NOT in the conf or extensions directories. All you need to do is: Back up your current Vanilla files. Download the new version from Unzip the files to your local machine. Delete the extensions and conf folders on your downloaded, unzipped files (You do not want to copy the conf or extensions folders because you want your existing configurations and extensions to remain intact). Upload all remaining New Vanilla files on top of the existing Vanilla files on your server. Take any additional language and theme files that you were using from your backup and re-upload them into the appropriate places in Vanilla. When I tried to enter the forum I got this message: Technical information (for support personel): Error Message The connection to the database failed: Affected Elements MySQL.OpenConnection(); The error occurred on or near: Access denied for user... So, replaced the new version with the old backup and I still get the same error message...


  • edited April 2007
    You didn't by any chance happen to accidentally replace or delete conf/database.php? That's where the servername, username and password for the database server are stored. You might want to check that the following lines in conf/database.php are right:

    $Configuration['DATABASE_HOST'] = 'yourservername';
    $Configuration['DATABASE_NAME'] = 'nameofthedatabase';
    $Configuration['DATABASE_USER'] = 'dbusername';
    $Configuration['DATABASE_PASSWORD'] = 'dbpassword';

    Change the values to what they should be on your server, of course.
  • I deleted the conf folder from the new install. So they were never overwritten
  • I uploaded the backup version of the database.php file and I am now back in. OK, I swear that they are the same...but wheew.
  • edited April 2007
    Ok, now. I have overwritten the old files with the new ones. I cannot see page 1 of the discussions. Page 2 is fine... I cannot create a new discussion. Actually I can create it, but it does not display. I get this error message: Fatal error: Call to a member function on a non-object in /home/content/W/e/n/Wendorff/html/THEPHOTOGRAPHERSALLIANCE/forum/library/Vanilla/Vanilla.Functions.php on line 18 I tried to fix it by deleting the file functions.php and uploading the new version from the fresh download. Thanks again for helping me out here...
  • Re-loading the old version of the functions.php file restored the discussions. I have 2 more things going wrong with the old file installed. First, there is an error message: Notice: Undefined index: TEXT_WHISPERED this message is only seen when I am logged in as ADMIN. The Second error message Notice: Undefined index: TEXT_STICKY... Removing the old sticky discussion removes t warning, but creating a new sticky message brings back the error message. When I try to change an extension, I get an error message saying: There was an error authenticating your post information. Looking for help in old posts, I thought perhaps it was theme/style related. I get the same messages in Vanilla/default as in Namedvanilla/europeaftertherain
  • I finally deleted the entire folder contents and started over from scratch. That solved my dilemma. Apparently the upload on top of the original files did not go properly. Cheers,
This discussion has been closed.