I cannot seem to upload any images. I browse my directory, select a jpg, the status bar shows and starts, but then it goes back to upload screen and I dont' see any images. it seems that smaller files work, but ones that are 2.4 me do not. What can I do?
is that a limitation of my server? how to change
thanks
help
thanks
Posts: 16503
FAQ: Why can't I upload big files (over a megabyte or two)?
If that doesn't help, then:
Post your system information AND a link to phpinfo:
FAQ: What information is required when I ask for help in the forums?
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
Gallery version:2.3
PHP version (e.g. 5.1.6): 5.2.8
PHPInfo Link (see FAQ): sent
Webserver (e.g. Apache 1.3.33): 2.2.11 (Unix)
Linux
2.6.18-92.1.22.el5
Database (e.g. MySql 5.0.32):4.1.22-standard
Activated toolkits (e.g. NetPbm, GD): all default ones enabled with the install
Operating system (e.g. Linux):
Linux
2.6.18-92.1.22.el5
Browser (e.g. Firefox 2.0): IE 7
Posts: 16503
Looks like something is stopping before it even starts to convert.
I did change a few things, uninstalled GD, FFmpeg, NetPBM. Installed and configured ImageMagick. Deactivated EXIF and ArchiveUpload just to rule those out. Still the same.
I'm not even able to upload a 23KB file. No errors or anything it just never gets to the point of the ImageToolkit even processing it. You're not out of memory resources. I don't know if something else on the server is killing the process. There's no open_basedir restriction.
Try setting a value for upload_tmp_dir to a directory like /tmp or something like that, that the webserver can read and write to.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
thanks sooo much for checking.
maybe it is a firewall issue? does upload use any particular port?
it is odd, it worked once or twice on the small files, but never again on those same files even if I renamed them.
I will check with the server people and report back.
Posts: 16503
Just 80
Check error logs and anything else you can.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
what method does the code use to upload images? I will investigate that perhaps.
I am able to upload to my server (large files too) using the upload in cpanel so something particular with this method of uploading.
the move_uploaded_file php command also fails.
thanks
Posts: 16503
Nothing odd, it works on 100,000s of other sites. Do your server's error logs show anything?
FAQ: What is the webserver error log?
upload_tmp_dir still has no value assigned to it, please try setting that. I can add albums, but not images which makes me think it shouldn't be a permissions issue.
I don't know what you're talking about here. Is this from within Gallery?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
ok, where do I set the upload_tmp_dir
thanks
Posts: 16503
You need to change that in php.ini which is located at:
/usr/local/lib/php.ini
I'm assuming you have the ability to change that. If you run PHP as a cgi then you could separate this and set it specifically for your site or user account.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
ok, I changed that, but it did not work, cry cry.
the logs in cpanel don't show anything.
what else can I try?
Posts: 8
thanks for all your help. Problem Solved..The /tmp directory was full and that was the problem!!
Posts: 16503
Ah! That'll do that
Thanks for posting back with the cause.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here