View Full Version : New Install upload Issue
August 26th, 2005, 11:51 PM
I have installed the latest version of photopost. The install went pretty good. I created some categories and tried uploading a single file. The upload said it was successful, but when I view the gallery the file is not there. I receive no error messages. Feel free to register and upload.
This is running on Windows 2003 server and IIS 6
PHP version is: 5.04
MYSQL is: 4.1.14
Image Magick Version: 5.5.6-q16
August 27th, 2005, 08:05 AM
Warning: mail() [function.mail]: SMTP server response: 550 <email@example.com> Relaying denied in E:\WebSites\TexasHydrofoil.com\photopost\register.php on line 289
You need to setup php to handle email otherwise users will not get email Right now as it stands I cant upload since I will never be able to confirm the account I created.
If your file was above 2mb yes that file will not get processed by a default php install. The error is from php and not the program. The program can only tell ya an error if you set a limit otherwise it look like the file has processed.
PHP by default has a 2mb upload limit and if you dont tell Photopost the filesize limit is 2048 then basically your saying any error reporting is handled by PHP. Well PHP is not real good at error reporting ;)
Now go ahead make my account confirmed so I can upload a file. If its not allowing files below 2MB then we may need to see what else is wrong. One suggestion I can give is also make sure to use a newer version of ImageMagick as the one your using is a couple years old.
August 27th, 2005, 09:13 AM
I just added your account to the registered usergroup. I will setup my mail relay later today.
Can you also reccomend a good shareware/freeware php editor?
August 27th, 2005, 09:30 AM
Beyond Compare by scootersoftware for people just wanting to compare files and general editing
Now if you really want to go all out you can get UltraEdit or a true editor but for most people I recommend beyond compare as its a file comparison editor and a must for people who want to hack
August 27th, 2005, 09:32 AM
Make sure your data and uploads directories and all there subdirectories are set full access read write execute and iwam and iuser accounts are granted access to them. Also make sure iwam and iuser are given access to cmd.exe
Warning: exec() [function.exec]: Unable to fork ["e:/mogrify.exe" +profile "*" -size 100x75 -quality 70 -geometry 100x75 -unsharp 10 E:/WebSites/TexasHydrofoil.com/photopost/data/2/thumbs/856discosoma_sp.JPG] in E:\WebSites\TexasHydrofoil.com\photopost\image-inc.php on line 61
August 27th, 2005, 02:05 PM
OK, I verified that permissions were set correctly and now I am getting this error when I upload a file.
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
August 27th, 2005, 03:43 PM
on another note....I just set IIS to use ISAPI and now when I upload I get this error.
Error creating thumbnail! Error code: 1
"C:/Progra~1/ImageMagick-5.5.6-Q16/mogrify.exe" +profile "*" -size 100x75 -quality 70 -geometry 100x75 -unsharp 10 E:/WebSites/TexasHydrofoil.com/photopost/data/500/thumbs/Blue_hills.jpg
August 27th, 2005, 06:21 PM
Upgrade your imagemagick to the latest not the old one you have installed
August 27th, 2005, 10:14 PM
I upgraded imagemagick to 6.2.4-q16 and still have the same issue.
Error creating thumbnail! Error code: 1
"C:/Program Files/ImageMagick-6.2.4-Q16/mogrify.exe" +profile "*" -size 100x75 -quality 70 -geometry 100x75 -unsharp 10 E:/WebSites/TexasHydrofoil.com/photopost/data/500/thumbs/Sunset.jpg
August 27th, 2005, 10:34 PM
Have you given iwam and iuser full access to uploads and data directories and cmd.exe??
August 27th, 2005, 10:53 PM
yes those two accounts have full control.
August 28th, 2005, 12:28 AM
OK, I am making progress, I resolved the previous issue by deleting +profile section out of one of the php files. I saw this on another post. I am able to upload smal jpg's, however, I am unable to upload any large files. What I mean by large files is approximately 3.5MB to 6MB jpg files. When I upload them it appears to complete the process but no thumbnails are created and the files are missing out of the uploads folder. (I receive no errors other than the image does not show)
I did edit the php.ini file and set the following variable:
upload_max_filesize = 10M
August 28th, 2005, 01:09 AM
nevermind....I rebooted and I can now upload larger images.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.