PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 9th, 2005, 11:28 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2003
Location: uk
Posts: 76
Question Error when attempting backup

When I attempt to backup the table using the Database->Backup Database option, I get this error:



Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/stdriver/public_html/gallery/adm-misc.php on line 1586

Have I screwed up my upgrade?
monkeyra is offline   Reply With Quote
Old June 9th, 2005, 12:03 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Have you specified the path to mysqldump and the backup directory? Is mysql on the same server as photopost?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 9th, 2005, 01:14 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2003
Location: uk
Posts: 76
I've just double checked with my hosts, and yep, path to mysqldump is correct: #

root@***** [~]# whereis mysqldump
mysqldump: /usr/bin/mysqldump /usr/share/man/man1/mysqldump.1.gz

And yep, the path to the backup directory is correct.
monkeyra is offline   Reply With Quote
Old June 11th, 2005, 06:09 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Oct 2003
Location: uk
Posts: 76
It now lets me click the backup function, then I get this:



Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/stdriver/public_html/gallery/adm-misc.php on line 1603
Command being used to execute dumps (specific tables are executed individually):

/home/stdriver//usr/bin/mysqldump --opt -h localhost -ustdriver_photo -pPO11636 stdriver_gallery

Results:


Warning: Invalid argument supplied for foreach() in /home/stdriver/public_html/gallery/adm-misc.php on line 1614


You should double-check your .sql files to be sure the backup completed successfully.






Then I checked in the folder, but there wasnt a backup there.
monkeyra is offline   Reply With Quote
Old June 11th, 2005, 08:59 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Before lines 1585 and 1605 of adm-misc.php try adding this

$link = mysql_connect("$host:3306", "$mysql_user", "$mysql_password") or die ("I cannot connect to the PhotoPost database. [$php_errormsg]");
mysql_select_db("$database",$link)or die("Could not connect to PhotoPost database". mysql_error() );
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
An error occurred while attempting to create a folder for your files. berniec Installs and Upgrade - vBulletin 3.0.X 5 March 2nd, 2006 10:56 PM
An error occurred while attempting to resize this image warrior Installs and Upgrade - vBulletin 3.0.X 1 February 20th, 2005 07:13 AM
4.86 backup error firstrebel Photopost Pro Installation & Upgrades 4 February 3rd, 2005 02:31 PM
Error when attempting vb3 header V-Rodforums Photopost Pro Installation & Upgrades 18 July 11th, 2004 03:57 PM


All times are GMT -5. The time now is 05:33 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0