Problem with Upgrading from Pligg beta 9.0 to 9.5

Register an Account
Closed Thread
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-09-2007, 05:42 AM
New Pligger
 
Join Date: Nov 2006
Posts: 29
I had Pligg beta 9.0 installed (I did not upgrade to Pligg beta 9.1).

Before upgrading to Pligg beta 9.5, I deleted all Pligg beta 9.0 files except the avatars and backup folder.

I then uploaded the Pligg beta 9.5 files and filled the dbconnect.php file with the necessary details.

I then ran the upgrade.php file, but I got this error

Quote:
This will upgrade the database for Pligg Beta v9.0 and above to the latest version.

Note: this is just a database upgrade, you still need to upload the new files.

Warning: Access denied for user 'pliggdemo'@'278.57.158.0/255.255.152.0' to database 'pliggdb' in /home/.margarida/rhythm/domainname.com/libs/db.php on line 129

Warning: No database selected in /home/.margarida/rhythm/domainname.com/libs/db.php on line 206
Error. The pligg_config table is empty or does not exist
What could be causing this error?
  #2 (permalink)  
Old 05-09-2007, 07:04 AM
New Pligger
 
Join Date: May 2007
Posts: 2
Looks like database configuration is incorrect.
  #3 (permalink)  
Old 05-09-2007, 07:38 AM
New Pligger
 
Join Date: Nov 2006
Posts: 29
jordanX- Thanks for replying. But the database configuration is correct. I have put it correctly in dbconnect.php, do I have to put it anywhere else?

Plz help.
  #4 (permalink)  
Old 05-09-2007, 08:38 AM
beatniak's Avatar
Pligg Donor
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 197
it says: " Warning: Access denied" >>> I guess you filled in the wrong username / password for the database in the upgrade page.

But always backup your database before upgrading! after the backup, try upgrading again with the right username/password.
  #5 (permalink)  
Old 05-09-2007, 08:48 AM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
Check the oart in red, seems odd to me.

Quote:
/home/.margarida/rhythm/domainname.com/libs/db.php
Geoserv
  #6 (permalink)  
Old 05-09-2007, 09:15 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 168
Did you change 'settings.php' in your home folder before doing the upgrade?
  #7 (permalink)  
Old 05-09-2007, 09:53 AM
New Pligger
 
Join Date: Nov 2006
Posts: 29
Thanks for replying guys. The problem was because I had mispelt my database name.

I would like to restore my database now (I had taken backup earlier) but I am confused as there are 2 files:

MySQL-Data-Backup-pliggdemo-2007-05-08 20-24-45.sql
MySQL-Structure-Backup-pliggdemo-2007-05-08 20-24-47.sql

How can I restore my Database and which of these files can I use ? (I use DreamHost)

Plz help this noob.
  #8 (permalink)  
Old 05-09-2007, 12:43 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
If you only did an upgrade your database should still be there and you don't have to restore your backup. The upgrade process doesn't delete anything in your database.
  #9 (permalink)  
Old 05-09-2007, 12:56 PM
New Pligger
 
Join Date: Nov 2006
Posts: 29
No, i could not upgrade, it said that my config table was missing, so i installed the latest pligg over the existing DB, just to test out the new version.

Now I want to restore my DB. I have the backups, but there are 2, so i am confused. How do i restore?
  #10 (permalink)  
Old 05-09-2007, 01:08 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
using phpmyadmin, open your database and click on the sql tab at the top. Copy and paste the structure back up file and click on go. After you import that you do the same for the data backup file.
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
SuperGu Attempting to Copyright Pligg Code, Sends C&D Yankidank Questions and Comments 30 04-29-2007 11:33 AM
Blank page when I go to admin_index.php in Pligg beta 8.2.0 Nikes77 Questions and Comments 3 12-03-2006 07:28 PM
Pligg Beta 4 Yankidank Current Version 0 12-29-2005 09:09 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development