Elxis CMS Forum

Extensions => Components => Topic started by: mattb on October 04, 2009, 21:12:54

Title: IOS Gallery uploading image problems
Post by: mattb on October 04, 2009, 21:12:54
Hi,
I am having trouble with uploading images into IOS Gallery..

When uploading a picture, I selected the file, hit apply, and then after a minute or so, i got a 500 Internal Server Error.   *BUT* after checking the directories, the file was uploaded, but it does not record into the database.

In email , Ioannis said to chmod the pictures & thumbs directories to 644 & 755 respectivley.  I did that, and now i dont get a 500 error, but i get a dialog box popping up stating "Could not upload new picture!".  

Also, now that I have CDMODed the directories, I can't get into the pictures directory via ftp!

Help!

Thanks
Matt
Title: Re: IOS Gallery uploading image problems
Post by: ks-net on October 04, 2009, 21:48:21
please check first...

- max allowed size
- allowed extensions
-filename (no-spaces or special chars)

Quote
Also, now that I have CDMODed the directories, I can't get into the pictures directory via ftp!
check your ftp server settings... what user owner etc...
Title: Re: IOS Gallery uploading image problems
Post by: mattb on October 04, 2009, 21:53:17
The file size is 79k - I image that is not too big!
The image size is 1024x685
File name is DSC01097.jpg

Title: Re: IOS Gallery uploading image problems
Post by: ks-net on October 04, 2009, 22:28:17
1024x768... is that allowed in your configuration settings of iosgallery?

also check your directories file owner

i think that problem is rather  a permission issue....
Title: Re: IOS Gallery uploading image problems
Post by: mattb on October 05, 2009, 00:18:48
Yes that size is allowed - i have it set for no max.   Owner is set for 6 (R-W).   Tried changing owner to 7 (R-W-X-) and i get the 500 error.  Put it back to 6 and I get the "Could not upload" error..

1024x768... is that allowed in your configuration settings of iosgallery?

also check your directories file owner

i think that problem is rather  a permission issue....
Title: Re: IOS Gallery uploading image problems
Post by: Ivan Trebješanin on October 05, 2009, 09:47:15
Can you see your apache error log? What does it say?
Title: Re: IOS Gallery uploading image problems
Post by: webgift on October 05, 2009, 11:08:13
have you tried to upload another image ?
if yes , you have the same problem ?
Title: Re: IOS Gallery uploading image problems
Post by: mattb on October 05, 2009, 17:26:20
Can you see your apache error log? What does it say?

No errors are being generated in the log.   It is the IOS Gallery that is providing the dialog box saying Could Not Upload New Picture!

Quote
have you tried to upload another image ?
if yes , you have the same problem ?

Yes, same problem.
Title: Re: IOS Gallery uploading image problems
Post by: ks-net on October 05, 2009, 17:31:14
you said that you have problems with your ftp...

check file-owner
Title: Re: IOS Gallery uploading image problems
Post by: mattb on October 05, 2009, 23:47:20
you said that you have problems with your ftp...

check file-owner

File owner is set for 6 (RW).   
Title: Re: IOS Gallery uploading image problems
Post by: Ivan Trebješanin on October 06, 2009, 00:28:47
No, no, 6 is file pernisson, but who is the OWNER? Which user?

Judging on what you said before, it appears your PHP is installed as CGI, with suPHP. Therefore, you must be certain that owner of all your files is YOU. If you are using shared hosting, you should ask your hosting company to do chown -R for you. When you are sure that all files are owned by you, it should work normaly.
Title: Re: IOS Gallery uploading image problems
Post by: webgift on October 06, 2009, 11:16:08
I think that Ivan is right.
I had the some problem ... ! but not in this particular situation.
Title: Re: IOS Gallery uploading image problems
Post by: mattb on October 06, 2009, 15:02:03
Still trying to get in touch with the hosting company (Network Solutions) but just for the heck of it i tried to test the FTP settings in Global Config and it keeps on saying "Could not connect to FTP server".   Do not know why, however.  I wish this would give better error reporting.  The ftp settings are correct and work fine through windows shell & a regular ftp program (Smart FTP)