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: Not able to upload new pictures  (Read 455 times)

0 Members and 1 Guest are viewing this topic.

tomrezelj

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Not able to upload new pictures
« on: April 11, 2019, 10:11:00 pm »

Hi, Iwas recently transfered from one server to another. The site worked well before. Now, it works fine, BUT I am not able to upload new pictures to any album. FTP uploads were done correctly, but uploads INTO the gallery show green circles on the right column with error signs.

I even downloaded the Coppermine again in a different file, tried to upload a couple pictures, but the error persists the same way.

Might there be a problem with the new server?

I am an amateur user of Coppermine, so I am not able to find the problem. Any idea where to start? Thank you

http://www.patentesantiguas.com.ar/galeria/thumbnails.php?album=lastup&cat=0

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15729
Re: Not able to upload new pictures
« Reply #1 on: April 12, 2019, 03:58:10 pm »

Was it intended that you posted in the freelancer board? If so, you should read this thread: https://forum.coppermine-gallery.net/index.php/topic,8170.0.html

If not, please read this and post the required information: https://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_trouble_enable_settings

Your screenshot shows the batch-add interface. Does the HTML uploader(s) work as expected?
Logged

tomrezelj

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Not able to upload new pictures
« Reply #2 on: April 12, 2019, 08:48:49 pm »

Hi André,
Many thanks for your interest in my problem. I think I probably started my issue in the wrong place, however if I have to pay to solve my troubles, I will agree with it.
I followed your instructions changing the Default upload mechanism to "Simple - one file at a time" and
Enable debug mode for everyone by clicking on "Yes: Everyone" in the line "Enable debug mode"

After that, at the bottom of the configuration page appeared like a diagnostic of the site (I assume it is, but not sure). I bearly understand if it says where the problem is. The Queries go from [1].... to [17]. Probably I have to change or update some things in all this different places. At least some info is OK, like:
VERSION INFO :
------------------
PHP version        5.6.40     OK   
MySQL version      5.6.41-log OK   
Coppermine version 1.5.48     stable

I could not upload any picture after this, however.
I upload with (Batch) and then I get the errors.

Another thing: after I do version updates, I always change in THEMES opening the CURVE file and replacing style.css and template.html with the ones which I begun the site in 2007. Is it OK with this?

Thanks, Tom
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15729
Re: Not able to upload new pictures
« Reply #3 on: April 16, 2019, 02:19:27 pm »

Please post a test user account which is allowed to upload files.

after I do version updates, I always change in THEMES opening the CURVE file and replacing style.css and template.html with the ones which I begun the site in 2007. Is it OK with this?
Please read this: https://documentation.coppermine-gallery.net/en/theme_create.htm#theme_create_rename
Logged

tomrezelj

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Not able to upload new pictures
« Reply #4 on: April 16, 2019, 10:02:26 pm »

Done:

User: helpuser
Pass: helpuser

I did not respond to your advise of trying to upload using http, since I do not know how to do it. The admin bar does not show any other upload options rather than FTP upload. I remember doing this many years ago, but forgot how to. Thanks again for your help.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15729
Re: Not able to upload new pictures
« Reply #5 on: April 17, 2019, 09:17:35 am »

I get this when I try to upload new pictures:
Quote
Critical error
Destination directory albums/userpics/ is not writable by the script!

File: /home/c1440242/public_html/galeria/db_input.php - Line: 624

Please check the permissions of the folder(s) you try to batch-add (they need write permissions).
Logged

tomrezelj

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Not able to upload new pictures
« Reply #6 on: April 17, 2019, 10:42:56 pm »

Hi, think I did the permisson in the album DE ALUMINIO - BUENOS AIRES. Please check

Besides, I get the same error as yours. After I log in, if I press again the log in button, then this message shows up. It did not before, Maybe this info helps. Thanks.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15729
Re: Not able to upload new pictures
« Reply #7 on: April 18, 2019, 11:54:18 am »

I still get the same error message. Please set the permissions of the folder albums/userpics/ to 777 with your favorite FTP client.
Logged

tomrezelj

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Not able to upload new pictures
« Reply #8 on: April 18, 2019, 03:18:04 pm »

changed from 755 to 777.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15729
Re: Not able to upload new pictures
« Reply #9 on: April 18, 2019, 03:25:57 pm »

Now I get a blank page from http://www.patentesantiguas.com.ar/galeria/db_input.php

If you agree, I'll send you my contact details so you can send me admin login and ftp credentials, so I can debug the upload procedure.
Logged

tomrezelj

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Not able to upload new pictures
« Reply #10 on: April 18, 2019, 03:31:44 pm »

Guess what: the folder userpics inside album folder wasn´t there. I just uploaded it before I changed the permissions to 777.
Yes, of course, I am fully open on giving you the info you need. Thanks.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15729
Re: Not able to upload new pictures
« Reply #11 on: April 18, 2019, 03:43:44 pm »

PM sent.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15729
Re: Not able to upload new pictures
« Reply #12 on: April 18, 2019, 04:49:32 pm »

I selected GD2 as "Method for resizing images" and was able to upload a test file. Please try if batch-add now also works as expected.
Logged

tomrezelj

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Not able to upload new pictures
« Reply #13 on: April 18, 2019, 06:38:55 pm »

yeeeesssss!! I works!!! I added one picture and it uploaded OK!!
Thank you one million times!!!
Will contact you PM.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 22 queries.