 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
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?
|
| |
January 9th, 2008, 10:41 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
January 9th, 2008, 10:47 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 32
|
legend thanks |
| |
January 9th, 2008, 10:48 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
Glad to help have a good day.
|
| |
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?
|
| |
January 9th, 2008, 12:18 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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 ?
|
| |
January 9th, 2008, 12:55 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
clear your uploads directory and try again and actually upload an image.
|
| |
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?
|
| |
January 10th, 2008, 04:30 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 32
|
ignore me its a server issue |
| |
January 10th, 2008, 10:27 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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'
| |
| |
January 11th, 2008, 07:21 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
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.
|
| | |
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 04:11 PM. | |