 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
January 14th, 2009, 11:40 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005 Location: Ohio USA
Posts: 27
| Changed servers, now can't upload images
I moved to a new server and now members cannot upload images. I'm running PP5.3 and it has worked flawlessly until now.
I set my admin panel to email me errors so I could see what's up and here is the error I got:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fire' WHERE host='66.249.66.49'' at line 1
Note: the IP above is not the right one for my server. But I see no where to plug in my current IP.
Help please.
|
| |
January 14th, 2009, 11:54 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
| How to Move Servers and/or Change Directories
Your would need to upgrade your Photopost config files to the correct information for this server that your moved your database to so we may obtain a valid mysql connection.
|
| |
January 14th, 2009, 12:04 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005 Location: Ohio USA
Posts: 27
|
Thanks Chuck!!!!!
Photo Post ran so well, I forgot what all I did to set it up. Duh!!!!
|
| |
January 14th, 2009, 12:13 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Not a problem enjoy your day and let us know if you need anything else.
|
| |
January 14th, 2009, 12:25 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005 Location: Ohio USA
Posts: 27
|
I 'thought' photo post was all flat files. I did not move the db, and checking now the db does not exist on the old server. I must've gotten rambunctious and deleted it when I deleted the forum db.
My photo post pics show up, but nothing new can be added.
Is there any hope for recovering from this mess up?
|
| |
January 14th, 2009, 12:26 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Photopost is a dynamic php mysql driven gallery nothing is flat files.
You would need to grab the database from the old server and install it on the new server and follow that tutorial or rerun the install script so everything is on the new server.
|
| |
January 14th, 2009, 12:47 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005 Location: Ohio USA
Posts: 27
|
The DB no longer exists. However pics show up in my PP gallery.
What you are saying is there is no way to recover IF I do not have the old DB.
What I'm wondering is how the pics are displaying at all. I have the pictures inside the photo post images dir. But no DB
|
| |
January 14th, 2009, 12:50 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
You have to have the old database somewhere if pics are showing. It has to exist on whatever server your telling the config file it exists.
|
| |
January 14th, 2009, 12:57 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005 Location: Ohio USA
Posts: 27
|
Thanks for bearing with me Chuck. I'm feeling really Stewpid!!!!
I am in my admin panel and choose backup DB.
Here is the output of that:
Command being used to execute dumps (specific tables are executed individually):
/usr/bin/mysqldump --opt -h localhost -uxxxx -pxxxxxxxx ffdb
Results:
Warning: access.sql is 0 bytes or did not get created.Warning: adminhelp.sql is 0 bytes or did not get created.Warning: administrator.sql is 0 bytes or did not get created.Warning: adminlog.sql is 0 bytes or did not get created.Warning: adminmessage.sql is 0 bytes or did not get created.Warning: adminutil.sql is 0 bytes or did not get created.Warning: album.sql is 0 bytes or did not get created.Warning: albumpicture.sql is 0 bytes or did not get created.Warning: announcement.sql is 0 bytes or did not get created.Warning: announcementread.sql is 0 bytes or did not get created.Warning: attachment.sql is 0 bytes or did not get created.Warning: attachmentpermission.sql is 0 bytes or did not get created.Warning: attachmenttype.sql is 0 bytes or did not get created.Warning: attachmentviews.sql is 0 bytes or did not get created.Warning: automediaembed.sql is 0 bytes or did not get created.Warning: avatar.sql is 0 bytes or did not get created.Warning: bbcode.sql is 0 bytes or did not get created.Warning: bookmarksite.sql is 0 bytes or did not get created.Warning: calendar.sql is 0 bytes or did not get created.Warning: calendarcustomfield.sql is 0 bytes or did not get created.Warning: calendarmoderator.sql is 0 bytes or did not get created.Warning: calendarpermission.sql is 0 bytes or did not get created.Warning: cpsession.sql is 0 bytes or did not get created.Warning: cron.sql is 0 bytes or did not get created.Warning: cronlog.sql is 0 bytes or did not get created.Warning: customavatar.sql is 0 bytes or did not get created.Warning: customprofilepic.sql is 0 bytes or did not get created.Warning: cybvilxh_guests.sql is 0 bytes or did not get created.Warning: datastore.sql is 0 bytes or did not get created.Warning: deletionlog.sql is 0 bytes or did not get created.Warning: editlog.sql is 0 bytes or did not get created.Warning: event.sql is 0 bytes or did not get created.Warning: externalcache.sql is 0 bytes or did not get created.Warning: faq.sql is 0 bytes or did not get created.Warning: forum.sql is 0 bytes or did not get created.Warning: forumpermission.sql is 0 bytes or did not get created.Warning: forumprefixset.sql is 0 bytes or did not get created.Warning: forumread.sql is 0 bytes or did not get created.Warning: groupmessage.sql is 0 bytes or did not get created.Warning: groupmessage_hash.sql is 0 bytes or did not get created.Warning: holiday.sql is 0 bytes or did not get created.Warning: humanverify.sql is 0 bytes or did not get created.Warning: hvanswer.sql is 0 bytes or did not get created.Warning: hvquestion.sql is 0 bytes or did not get created.Warning: icon.sql is 0 bytes or did not get created.Warning: imagecategory.sql is 0 bytes or did not get created.Warning: imagecategorypermission.sql is 0 bytes or did not get created.Warning: infraction.sql is 0 bytes or did not get created.Warning: infractionban.sql is 0 bytes or did not get created.Warning: infractiongroup.sql is 0 bytes or did not get created.Warning: infractionlevel.sql is 0 bytes or did not get created.Warning: language.sql is 0 bytes or did not get created.Warning: mailqueue.sql is 0 bytes or did not get created.Warning: moderation.sql is 0 bytes or did not get created.Warning: moderator.sql is 0 bytes or did not get created.Warning: moderatorlog.sql is 0 bytes or did not get created.Warning: notice.sql is 0 bytes or did not get created.Warning: noticecriteria.sql is 0 bytes or did not get created.Warning: passwordhistory.sql is 0 bytes or did not get created.Warning: paymentapi.sql is 0 bytes or did not get created.Warning: paymentinfo.sql is 0 bytes or did not get created.Warning: paymenttransaction.sql is 0 bytes or did not get created.Warning: phrase.sql is 0 bytes or did not get created.Warning: phrasetype.sql is 0 bytes or did not get created.Warning: picture.sql is 0 bytes or did not get created.Warning: picturecomment.sql is 0 bytes or did not get created.Warning: picturecomment_hash.sql is 0 bytes or did not get created.Warning: plugin.sql is 0 bytes or did not get created.Warning: pm.sql is 0 bytes or did not get created.Warning: pmreceipt.sql is 0 bytes or did not get created.Warning: pmtext.sql is 0 bytes or did not get created.Warning: podcast.sql is 0 bytes or did not get created.Warning: podcastitem.sql is 0 bytes or did not get created.Warning: poll.sql is 0 bytes or did not get created.Warning: pollvote.sql is 0 bytes or did not get created.Warning: post.sql is 0 bytes or did not get created.Warning: postedithistory.sql is 0 bytes or did not get created.Warning: posthash.sql is 0 bytes or did not get created.Warning: postindex.sql is 0 bytes or did not get created.Warning: postlog.sql is 0 bytes or did not get created.Warning: postparsed.sql is 0 bytes or did not get created.Warning: pp_admingroups.sql is 0 bytes or did not get created.Warning: pp_admlog.sql is 0 bytes or did not get created.Warning: pp_cache.sql is 0 bytes or did not get created.Warning: pp_categories.sql is 0 bytes or did not get created.Warning: pp_comments.sql is 0 bytes or did not get created.Warning: pp_ecards.sql is 0 bytes or did not get created.Warning: pp_exif.sql is 0 bytes or did not get created.Warning: pp_extrafields.sql is 0 bytes or did not get created.Warning: pp_favorites.sql is 0 bytes or did not get created.Warning: pp_ipcache.sql is 0 bytes or did not get created.Warning: pp_iponline.sql is 0 bytes or did not get created.Warning: pp_laston.sql is 0 bytes or did not get created.Warning: pp_notify.sql is 0 bytes or did not get created.Warning: pp_photoextras.sql is 0 bytes or did not get created.Warning: pp_photos.sql is 0 bytes or did not get created.Warning: pp_photoviews.sql is 0 bytes or did not get created.Warning: pp_settings.sql is 0 bytes or did not get created.Warning: pp_sort.sql is 0 bytes or did not get created.Warning: pp_sortmemb.sql is 0 bytes or did not get created.Warning: pp_usergroups.sql is 0 bytes or did not get created.Warning: pp_users.sql is 0 bytes or did not get created.Warning: prefix.sql is 0 bytes or did not get created.Warning: prefixset.sql is 0 bytes or did not get created.Warning: product.sql is 0 bytes or did not get created.Warning: productcode.sql is 0 bytes or did not get created.Warning: productdependency.sql is 0 bytes or did not get created.Warning: profilefield.sql is 0 bytes or did not get created.Warning: profilefieldcategory.sql is 0 bytes or did not get created.Warning: profilevisitor.sql is 0 bytes or did not get created.Warning: ranks.sql is 0 bytes or did not get created.Warning: reminder.sql is 0 bytes or did not get created.Warning: reputation.sql is 0 bytes or did not get created.Warning: reputationlevel.sql is 0 bytes or did not get created.Warning: rssfeed.sql is 0 bytes or did not get created.Warning: rsslog.sql is 0 bytes or did not get created.Warning: search.sql is 0 bytes or did not get created.Warning: session.sql is 0 bytes or did not get created.Warning: setting.sql is 0 bytes or did not get created.Warning: settinggroup.sql is 0 bytes or did not get created.Warning: sigparsed.sql is 0 bytes or did not get created.Warning: sigpic.sql is 0 bytes or did not get created.Warning: smilie.sql is 0 bytes or did not get created.Warning: socialgroup.sql is 0 bytes or did not get created.Warning: socialgroupmember.sql is 0 bytes or did not get created.Warning: socialgrouppicture.sql is 0 bytes or did not get created.Warning: spamlog.sql is 0 bytes or did not get created.Warning: stats.sql is 0 bytes or did not get created.Warning: strikes.sql is 0 bytes or did not get created.Warning: style.sql is 0 bytes or did not get created.Warning: subscribeevent.sql is 0 bytes or did not get created.Warning: subscribeforum.sql is 0 bytes or did not get created.Warning: subscribethread.sql is 0 bytes or did not get created.Warning: subscription.sql is 0 bytes or did not get created.Warning: subscriptionlog.sql is 0 bytes or did not get created.Warning: subscriptionpermission.sql is 0 bytes or did not get created.Warning: tachyforumcounter.sql is 0 bytes or did not get created.Warning: tachyforumpost.sql is 0 bytes or did not get created.Warning: tachythreadcounter.sql is 0 bytes or did not get created.Warning: tachythreadpost.sql is 0 bytes or did not get created.Warning: tag.sql is 0 bytes or did not get created.Warning: tagsearch.sql is 0 bytes or did not get created.Warning: tagthread.sql is 0 bytes or did not get created.Warning: template.sql is 0 bytes or did not get created.Warning: templatehistory.sql is 0 bytes or did not get created.Warning: thread.sql is 0 bytes or did not get created.Warning: threadrate.sql is 0 bytes or did not get created.Warning: threadread.sql is 0 bytes or did not get created.Warning: threadredirect.sql is 0 bytes or did not get created.Warning: threadviews.sql is 0 bytes or did not get created.Warning: upgradelog.sql is 0 bytes or did not get created.Warning: user.sql is 0 bytes or did not get created.Warning: useractivation.sql is 0 bytes or did not get created.Warning: userban.sql is 0 bytes or did not get created.Warning: userchangelog.sql is 0 bytes or did not get created.Warning: usercss.sql is 0 bytes or did not get created.Warning: usercsscache.sql is 0 bytes or did not get created.Warning: userfield.sql is 0 bytes or did not get created.Warning: usergroup.sql is 0 bytes or did not get created.Warning: usergroupleader.sql is 0 bytes or did not get created.Warning: usergrouprequest.sql is 0 bytes or did not get created.Warning: userlist.sql is 0 bytes or did not get created.Warning: usernote.sql is 0 bytes or did not get created.Warning: userpromotion.sql is 0 bytes or did not get created.Warning: usertextfield.sql is 0 bytes or did not get created.Warning: usertitle.sql is 0 bytes or did not get created.Warning: visitormessage.sql is 0 bytes or did not get created.Warning: visitormessage_hash.sql is 0 bytes or did not get created.Warning: word.sql is 0 bytes or did not get created.
You should double-check your .sql files to be sure the backup completed successfully.
|
| |
January 14th, 2009, 01:01 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005 Location: Ohio USA
Posts: 27
|
Does Photopost have an option to include the PP DB inside of the VB DB? I'm thinking that is what I did. .....maybe.
|
| |
January 14th, 2009, 01:17 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Check your config-inc.php file that will tell you where your database is.
what is the link to your gallery
|
| |
January 14th, 2009, 01:26 PM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005 Location: Ohio USA
Posts: 27
| |
| |
January 14th, 2009, 01:44 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005 Location: Ohio USA
Posts: 27
|
I checked the config-inc.php file and it is indeed pointing to the same DB that I keep VB in. So they are combined. Whew. Major Brain Fart there.
back to this error message. Any clues?
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fire' WHERE host='66.249.66.49'' at line 1
|
| |
January 14th, 2009, 01:59 PM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005 Location: Ohio USA
Posts: 27
|
A little more info:
at the bottom of my config-inc.php file I reference a path to Image Magic mogrify. Image Magic is not installed on this server. I'm using GD for images.
Would this be part of my problem? Can I simply reference GD instead of image magic? If so which GD module should be referenced.
From my config file:
// Examples:
// $mogrify_command = "c:\progra~1\imagemagick\mogrify.exe";
// $mogrify_command = "c:\ImageMagick\mogrify.exe";
$mogrify_command = "/usr/local/ImageMagick-5.5.7/bin/mogrify";
|
| |
January 14th, 2009, 06:07 PM
|
#16 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005 Location: Ohio USA
Posts: 27
|
A user told me he could not upload an image. I set my error handling to email me all errors. I got the error in the email.
|
| |
January 14th, 2009, 06:13 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
and what was the error you got?
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:49 PM. | |