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 Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 8th, 2006, 04:36 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 10
pp5.31 - dbbackup / bug in adm-misc.php

Hi,

i have problems to backup the pp database over acp
"adm-misc.php?admact=backup. " it tells me the following incorrect and dangerous! information:

Code:
Content visible to verified customers only.
Values for userX, passX, dbnameX are correct, i've checked it two times. the backupfolder rights are 0777

The backupscript creates for each db_table a sql-file with its tablename, but theres no sql-data in it. only a header text is in there, example: photos.sql-file
Code:
Content visible to verified customers only.
where does this Information come from? -> dbnameXphotos
whats this?-------------------------------^^^^^^^^^^ dbnametablename - there is a missing blank

cmd comes from adm-misc.php #1889 under the ADM-BACKUP part

Code:
Content visible to verified customers only.
it should be:
Code:
Content visible to verified customers only.
so, the mysqldump cmd is:
mysqldump --opt -h localhost -uuserX -ppassX dbnameXphotos > photos.sql

this create the error:
mysqldump: Got error: 1049: Unknown database 'dbnameXphotos' when selecting the database


About the check of filesize 0 byte: i´ve seen there is a check of filesize bigger 0byte, but this do not work, because each (from mysqldump) created sqlfile is always bigger than 0 bytes, because of the fileheader)

Code:
Content visible to verified customers only.
please, think about, you can't check on this way.


sorry for my english.

thanks + greetings from Germany
Tom

Last edited by jmar; August 8th, 2006 at 05:08 AM.
jmar is offline   Reply With Quote
Old August 8th, 2006, 06:49 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
The dump command we use works if you test it with ssh. You need to place the proper database name in there. This does not work on all servers hense it says check the files to ensure things where backed up. I see this issue with alot of mysql 4.0 databases
__________________
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 August 8th, 2006, 07:16 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 10
Quote:
Originally Posted by Chuck S View Post
The dump command we use works if you test it with ssh.
Hi Chuck,
i don't know which one you use, but the dump cmd in the script adm-misc.php from Photopost Ver. 5.31 doesn't work, it won't work with any mysql version, because its a syntax failure.

Code:
Content visible to verified customers only.
=

Code:
Content visible to verified customers only.
I explained it in first post. For fixing it should be:
Code:
Content visible to verified customers only.

For fixing the bug in check zero byte, the mysqldump cmd should be:
Code:
Content visible to verified customers only.

man mysqldump:

t|--no-create-info
Don't write table creation info.


Tom
jmar 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with admin-misc.php script paprman Photopost Pro How Do I...? 3 July 18th, 2006 06:45 AM
Anonymous/Guest names blank in adm-misc.php?admact=mainmenu Arnie ReviewPost Bug Reports 1 August 31st, 2005 10:50 AM
Debugging Code In misc.php? digitalpoint Installs and Upgrade - vBulletin 3.5.X 1 July 24th, 2005 09:19 PM


All times are GMT -5. The time now is 09:54 AM.

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