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 January 9th, 2008, 10:20 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 32
Error after moving servers

Ive recently just moved my hosting and gallery to a new server which means the i had to edit the config-inc.php file to reflect the new file locations.

ive gone through and updated the database with the correct paths and all the images appear in the gallery but when i go into the admin panel i get this message on the top

Quote:
Warning: opendir(/OLDDIRECTORY/data/) [function.opendir]: failed to open dir: No such file or directory in /newdirectory/adm-inc.php on line 589

Warning: readdir(): supplied argument is not a valid Directory resource in /newdirectory/adm-inc.php on line 592

Warning: closedir(): supplied argument is not a valid Directory resource in /newdirectory/adm-inc.php on line 609
For some reason its asking for the old directory first ? where does this setting from from?
Street-Stylers is offline   Reply With Quote
Old January 9th, 2008, 10:41 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
If you updated your paths in global options also in admin go to storage options and hit revert and save twice to load the new paths and you should be fine.
__________________
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 January 9th, 2008, 10:47 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 32
legend thanks
Street-Stylers is offline   Reply With Quote
Old January 9th, 2008, 10:48 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Glad to help have a good day.
__________________
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 January 9th, 2008, 12:10 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 32
one more thing

tried uploading a simple image and get this error message?

Quote:
Warning: copy(/directory/gallery/data/529/adm-misc_php.gif) [function.copy]: failed to open stream: Permission denied in /directory/gallery/uploadphoto.php on line 679

Warning: getimagesize(/directory/gallery/data/529/adm-misc_php.gif) [function.getimagesize]: failed to open stream: No such file or directory in /directory/gallery/image-inc.php on line 247

Warning: Division by zero in /directory/gallery/image-inc.php on line 292

Warning: getimagesize(/directory/gallery/data/529/adm-misc_php.gif) [function.getimagesize]: failed to open stream: No such file or directory in /directory/gallery/image-inc.php on line 91

Warning: unlink(/directory/gallery/data/529/adm-misc_php.gif) [function.unlink]: No such file or directory in /directory/gallery/image-inc.php on line 103
Ive gone thought the cmod and done everything like in the installation doc

ANy suggestions?
Street-Stylers is offline   Reply With Quote
Old January 9th, 2008, 12:18 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
I would suggest you recheck all permissions to ensure everything is 777 but seems someone is trying to upload a bad file to your site.

adm-misc_php.gif

Thats telling me your uploading a renamed photopost php file as an image?

I know there is a security exploit on servers that vbgallery has patched maybe someones trying to break into photopost as well but that image is invalid and can be deleted.
__________________
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 January 9th, 2008, 12:23 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 32
nah its me tried uploading different images same for each.

Im using photopost so exploit doesnt apply.

Def cmod 777 so what else could it be ?
Street-Stylers is offline   Reply With Quote
Old January 9th, 2008, 12:55 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
clear your uploads directory and try again and actually upload an image.
__________________
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 January 10th, 2008, 03:39 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 32
ok i managed to sort that on out my data folder was 755 so i assume each folder in data must be 777?

now i get this..
Quote:
Fatal error: Call to undefined function: imagecreatefromjpeg() in /directory/gallery/image-inc.php on line 99
I have my own VPS server does this mean something isnt isntalled correctly?
Street-Stylers is offline   Reply With Quote
Old January 10th, 2008, 04:30 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 32
ignore me its a server issue
Street-Stylers is offline   Reply With Quote
Old January 10th, 2008, 10:27 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Yes appears you do not have GD2 installed or at least jpg support in GD2.
__________________
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 January 11th, 2008, 04:51 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 32
yeah i dont think i do but i told the gallery to use imagemagik ? i dont understand how it works etc but does it need GD2 to function correctly?

as im now getting this error message
Quote:
Error creating thumbnail! Error code: 1

Command:

"/usr/bin/mogrify" +profile "*" -size 75x100 -quality 70 -geometry 75x100 -unsharp 10 '/directory/gallery/data/529/thumbs/photo1.jpg'
Street-Stylers is offline   Reply With Quote
Old January 11th, 2008, 07:21 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Thats a permissions error on Imagemagick meaning either your data diretory at every level is not 777 so check to ensure every directory is 777 at every level beneath data. If that is correct maybe it does not like the profile statement if its an older IM. Try editing image-inc.php and remove 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
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
Moving Servers / Directory Change gholsie Photopost Pro How Do I...? 4 January 18th, 2007 07:58 PM
Moved servers, getting an error bo0oost Photopost Pro Installation & Upgrades 1 January 10th, 2007 09:12 AM
Moving to Yahoo Servers ... Scrap4life General Discussion 3 September 6th, 2006 10:12 AM
Moving Servers - Please help tommyxv Photopost Pro Installation & Upgrades 3 June 23rd, 2005 07:30 AM
Error when trying to move servers... WebDork Photopost Pro Installation & Upgrades 1 June 21st, 2004 12:17 PM


All times are GMT -5. The time now is 04:11 PM.

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