Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Batch Add Files and http upload problem  (Read 5076 times)

0 Members and 1 Guest are viewing this topic.

wadiuwant

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Batch Add Files and http upload problem
« 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
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4826
    • Windsurf.me
Re: Batch Add Files and http upload problem
« Reply #1 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

wadiuwant

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Batch Add Files and http upload problem
« Reply #2 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.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4826
    • Windsurf.me
Re: Batch Add Files and http upload problem
« Reply #3 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

wadiuwant

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Batch Add Files and http upload problem
« Reply #4 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.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4826
    • Windsurf.me
Re: Batch Add Files and http upload problem
« Reply #5 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

wadiuwant

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Batch Add Files and http upload problem
« Reply #6 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
Logged

wadiuwant

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Batch Add Files and http upload problem
« Reply #7 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.

Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.