forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: wadiuwant on February 19, 2015, 10:51:07 am

Title: Batch Add Files and http upload problem
Post by: wadiuwant on February 19, 2015, 10:51:07 am
I'm having issues when uploading/adding on my Coppermine driven gallery http://gallery.wadiuwant.com/
When using http uploads and the suggested settings for upload troubleshooting in place, I get the error message
 
Code: [Select]
Critical error
Unable to create thumbnail or reduced size image.

File: /home/wadiuwan/public_html/gallery/db_input.php - Line: 704

Here's the test user account data:
    Username: tester
    Password: tester
 
I have been using the attached image taken from my computer as an example to test with.
I originally submitted a request "Batch Add Files does add the files" http://http://forum.coppermine-gallery.net/index.php/topic,78081.0.html
I didn't receive any advice on what to do.
I have no idea what else to do.
Thanks in advance for your suggestions
Title: Re: Batch Add Files and http upload problem
Post by: phill104 on February 19, 2015, 11:53:27 am
The error you are seeing is usually a file permissions problem, either ownership or permissions have changed on your /albums directory.
Title: Re: Batch Add Files and http upload problem
Post by: wadiuwant on February 19, 2015, 01:57:48 pm
As far as I can test and set all the permissions are 755. And the ownership hasn't changed.
Title: Re: Batch Add Files and http upload problem
Post by: phill104 on February 19, 2015, 04:00:00 pm
I am still sure there is a permissions problem. Check your server logs or ask your host to check. The script is trying to create files and folders but the server is rejecting the request hence your error. You could temporarily try 777, but what may have happened is that the folder is owned by the ftp user and for some reason your host has changed write permissions for that user.
Title: Re: Batch Add Files and http upload problem
Post by: wadiuwant on February 19, 2015, 04:12:10 pm
I will check with my host. One thing that doesn't explain is the radar icon when the photo files were seen Coppermine.
Title: Re: Batch Add Files and http upload problem
Post by: phill104 on February 19, 2015, 04:51:31 pm
Until single file uploads are working there is little point in considering what to do about the batch upload process.
Title: Re: Batch Add Files and http upload problem
Post by: wadiuwant on February 23, 2015, 06:46:16 pm
The reply from the host was as follows:

I checked the error logs and didn't see anything stand out, and your permissions all look fine as well.

You can use file manager through cPanel to change the permissions for the directory and files, although they look correct at 755 for directories and 644 for files.

The error log shows these entries:
[Mon Feb 23 07:36:03 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:36:03 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/robots.txt
[Mon Feb 23 07:30:54 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:30:54 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/gallery/docs/nl/dev_coding_encoding
[Mon Feb 23 07:30:44 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:30:44 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/gallery/docs/nl/configuration
[Mon Feb 23 07:30:42 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:30:42 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/gallery/docs/nl/cat_cp_page_controls_create
[Mon Feb 23 07:30:40 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:30:40 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/gallery/docs/nl/cat_cp_page_controls_categories
[Mon Feb 23 07:29:52 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:29:52 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/robots.txt
[Mon Feb 23 07:24:20 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:24:20 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/gallery/docs/fr/dev_coding_encoding
[Mon Feb 23 07:24:10 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:24:10 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/gallery/docs/fr/configuration
[Mon Feb 23 07:24:08 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:24:08 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/gallery/docs/fr/cat_cp_page_controls_create
[Mon Feb 23 07:23:59 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:23:59 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/gallery/docs/fr/cat_cp_page_controls_categories
[Mon Feb 23 07:21:43 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:21:43 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/robots.txt
[Mon Feb 23 07:18:41 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:18:41 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/gallery/docs/es/dev_coding_encoding
[Mon Feb 23 07:18:23 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:18:23 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/gallery/docs/es/configuration
[Mon Feb 23 07:18:19 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:18:19 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/gallery/docs/es/cat_cp_page_controls_create
[Mon Feb 23 07:18:13 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:18:13 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/gallery/docs/es/cat_cp_page_controls_categories
[Mon Feb 23 07:15:28 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 07:15:28 2015] [error] [client 136.243.5.219] File does not exist: /home/wadiuwan/public_html/robots.txt
[Mon Feb 23 06:23:15 2015] [error] [client 157.55.39.247] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 06:23:15 2015] [error] [client 157.55.39.247] File does not exist: /home/wadiuwan/public_html/robots.txt
[Mon Feb 23 06:10:57 2015] [error] [client 108.59.8.80] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 06:10:57 2015] [error] [client 108.59.8.80] File does not exist: /home/wadiuwan/public_html/robots.txt
[Mon Feb 23 04:57:44 2015] [error] [client 66.249.64.168] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 04:57:44 2015] [error] [client 66.249.64.168] File does not exist: /home/wadiuwan/public_html/robots.txt
[Mon Feb 23 04:18:42 2015] [error] [client 136.243.24.27] File does not exist: /home/wadiuwan/public_html/404.shtml
[Mon Feb 23 04:18:42 2015] [error] [client 136.243.24.27] File does not exist: /home/wadiuwan/public_html/robots.txt
Title: Re: Batch Add Files and http upload problem
Post by: wadiuwant on February 24, 2015, 03:20:42 pm
OK. The problem was that the "Method for resizing images" in File Settings under the Config was set to Imagemagick, which apparently was not set properly on my host. Setting "Method for resizing images" to GD version 2.x solved the problem.

Thanks to my host for its help and thanks to Phill Luckhurst for identifying the problem/solution.

If I need Imagemagick, I'll let the forum know how it goes.