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 > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 21st, 2009, 12:56 PM   #1 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
RP 4.1: mysqldump error - adm-misc.php on line 684

Hi

RP 4.1 integrated with vb 3.82

I get an error when I try to make a backup in ACP/scan database/backup database:


Quote:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /myabsolutepath/adm-misc.php on line 684

Both, Path to mysqldump: (/usr/bin/mysqldump) and directory to store backups is so correct.

Line 684 is:

Quote:
while (list($table) = mysql_fetch_array($tables))
What can be the reason for this error?
snoopy5 is offline   Reply With Quote
Old April 21st, 2009, 01:03 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Possibly your server does not allow this?

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 21st, 2009, 01:08 PM   #3 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
Possibly your server does not allow this?

Code:
Content visible to verified customers only.
It does. I have many other photopost installations also integrated with vb on the sasme server and the backup works there..


When I click then nervertheless to do the backup, on the next screen I get the following error:


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

/usr/bin/mysqldump --opt -h mysql4.myname -udbmydatabase -pmypassword dbmydatabase

Results:


Warning: Invalid argument supplied for foreach() in /myabsolutepath/adm-misc.php on line 715

LIne 715 in admin-misc is

Quote:
foreach($tables as $tablename)
snoopy5 is offline   Reply With Quote
Old April 21st, 2009, 01:11 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
I just did a complete database backup using the utility seems to work fine.

Your error seems to suggest an issue with that mysql_list_tables thing and the backup utility is the same exact backup utility in our other products no different has not changed since it was added.

I know the backup utility does not work on every last server.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; April 21st, 2009 at 01:16 PM.
Chuck S is offline   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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
adm-misc-php 420 Photopost Pro How Do I...? 71 November 11th, 2007 08:27 PM
No access to /gallery/adm-misc.php ? gdaybloke Photopost Pro Installation & Upgrades 4 July 14th, 2007 08:42 AM
pp5.31 - dbbackup / bug in adm-misc.php jmar Photopost Pro Bug Reports 2 August 8th, 2006 07:16 AM
Anonymous/Guest names blank in adm-misc.php?admact=mainmenu Arnie ReviewPost Bug Reports 1 August 31st, 2005 10:50 AM


All times are GMT -5. The time now is 09:53 PM.

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