Batch Add Files and http upload problem Batch Add Files and http upload problem
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Batch Add Files and http upload problem

Started by wadiuwant, February 19, 2015, 10:51:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wadiuwant

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

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

phill104

The error you are seeing is usually a file permissions problem, either ownership or permissions have changed on your /albums directory.
It is a mistake to think you can solve any major problems just with potatoes.

wadiuwant

As far as I can test and set all the permissions are 755. And the ownership hasn't changed.

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.

wadiuwant

I will check with my host. One thing that doesn't explain is the radar icon when the photo files were seen Coppermine.

phill104

Until single file uploads are working there is little point in considering what to do about the batch upload process.
It is a mistake to think you can solve any major problems just with potatoes.

wadiuwant

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

wadiuwant

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.