Advanced search  

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

Pages: [1]   Go Down

Author Topic: Trouble uploading images. Tryed everything!  (Read 6833 times)

0 Members and 1 Guest are viewing this topic.

emilbrikha

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Trouble uploading images. Tryed everything!
« on: January 23, 2006, 01:32:46 pm »

Okey, from the start.

For no apparent reason, it just stopped working. I couldn't upload any pictures. So I updated from 1.3 to 1.4. Nothing changed, still got errors. So I started to browse the forum for answers.

I've chanced the chmod. I've changed the picmgmt.inc.php file. I've made sure I use GD2 (it is supported, I checked in the info.php).

Whatever I try, and believe me, I've been trying for 2 days now... reading, browsing, trying to find answers... I just can't fix it.

The only time I can upload images is if I use GD1, but then I get the well reported bad quality images on the thumbnails.

Here are some notes from the debug thingy...

Notices
/upload.php

    * Notice line 2181: Undefined index: user1
    * Notice line 2182: Undefined index: user2
    * Notice line 2183: Undefined index: user3
    * Notice line 2184: Undefined index: user4

/include/picmgmt.inc.php

    * Warning line 273: imagejpeg(): Unable to access albums/userpics/10001/thumb_IMG_9379~3.jpg
    * Warning line 273: imagejpeg(): Invalid filename 'albums/userpics/10001/thumb_IMG_9379~3.jpg'
    * Warning line 279: chmod(): Unable to access albums/userpics/10001/thumb_IMG_9379~3.jpg
    * Warning line 279: chmod(): No such file or directory
    * Warning line 281: getimagesize(): Unable to access albums/userpics/10001/thumb_IMG_9379~3.jpg
    * Warning line 281: getimagesize(albums/userpics/10001/thumb_IMG_9379~3.jpg): failed to open stream: No such file or directory
    * Warning line 284: unlink(albums/userpics/10001/thumb_IMG_9379~3.jpg): No such file or directory
Logged

Nibbler

  • Guest
Re: Trouble uploading images. Tryed everything!
« Reply #1 on: January 23, 2006, 02:05:33 pm »

Logged

emilbrikha

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Trouble uploading images. Tryed everything!
« Reply #2 on: January 23, 2006, 02:28:36 pm »

But that's for GD1 users? My server supports GD2. Anyhow... I don't understand "a few lines above". It has to be more specific, please.
Logged

Nibbler

  • Guest
Re: Trouble uploading images. Tryed everything!
« Reply #3 on: January 23, 2006, 02:46:12 pm »

You are not using GD1 so you can ignore that bit. The rest of the post applies if you are using PHP 4.4.1 in safe mode, is this the case ?
Logged

emilbrikha

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Trouble uploading images. Tryed everything!
« Reply #4 on: January 23, 2006, 03:29:40 pm »

Okey, I have changed the first part of that post because it's in safe mode but when I choose GD2, I get the error I reported but when I use GD1 it works but the thumbnails become funny looking.

Like this.

(http://elqpe.com/photogallery/albums/userpics/10001/thumb_IMG_9379.jpg)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Trouble uploading images. Tryed everything!
« Reply #5 on: January 23, 2006, 08:27:17 pm »

Logged

emilbrikha

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Trouble uploading images. Tryed everything!
« Reply #6 on: January 23, 2006, 08:33:22 pm »

This is from the phpinfo.php

gd
GD Support    enabled
GD Version    bundled (2.0.28 compatible)
FreeType Support    enabled
FreeType Linkage    with freetype
GIF Read Support    enabled
GIF Create Support    enabled
JPG Support    enabled
PNG Support    enabled
WBMP Support    enabled
XBM Support    enabled
---------------------

So if I'm not mistaking it's GD2. Even if it's not... how can I get rid of the problem with the ugly looking thumbnail?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Trouble uploading images. Tryed everything!
« Reply #7 on: January 23, 2006, 08:44:43 pm »

What did you specify for "Method for resizing pics" in coppermine's config?
Do as uggested here: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Logged

emilbrikha

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Trouble uploading images. Tryed everything!
« Reply #8 on: January 23, 2006, 08:59:53 pm »

I just told you?

I have support for GD2 but with GD2 set in my config in coppermine, I get the error message I spoke of at first.

It says in the troubleshooting that if you use GD1 and the images become strange looking, it's probably because there is support for GD2.

So this is my problem. With GD1 I can upload images, but the thumbnails become ugly. If I use GD2 I get the error message and can't upload the images I want.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Trouble uploading images. Tryed everything!
« Reply #9 on: January 23, 2006, 09:15:27 pm »

do as suggested in the upload troubleshooting section I refered to.
Logged

emilbrikha

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Trouble uploading images. Tryed everything!
« Reply #10 on: January 23, 2006, 09:57:45 pm »

But I have already tryed that. It didn't help.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Trouble uploading images. Tryed everything!
« Reply #11 on: January 24, 2006, 07:03:22 am »

OK, let me quote the section to you - I highlighted the important bit that you stubbornly refuse to read and do as suggested:
Quote
4.11.4 Upload troubleshooting

If you are experiencing issues with coppermine's upload process, temporarily change your coppermine settings as suggested below to get more detailed error messages:

    * Go to your coppermine page and log in as admin
    * Go to the config screen
    * Scroll to the bottom of the page
    * Expand the "Maintenance settings" section by clicking on it
    * Enable debug mode for everyone
    * Leave display of notices switched off
    * Save the new settings by clicking on "Save new configuration"
    * Go to the "groups" panel
    * Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")
    * Save your new settings

Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed error message that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, search the support board for the error message you get.
When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested.
Logged

emilbrikha

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Trouble uploading images. Tryed everything!
« Reply #12 on: January 25, 2006, 04:47:15 pm »

I told you, I have already tryed what you asked. But, here, make sure for yourself. The url is:

http://elqpe.com/photogallery

login: copper
pass: mine
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Trouble uploading images. Tryed everything!
« Reply #13 on: January 26, 2006, 08:21:31 am »

you haven't done as suggested in the upload troubleshooting section, when using the test user account you provided, I can see 5 file upload fields and 3 uri upload fields. Again, you fail to do as suggested. I'm not willing to repeat myself all over, I'm not begging you to let me support you, so I'm out of this thread. Bye.
Logged

emilbrikha

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Trouble uploading images. Tryed everything!
« Reply #14 on: January 26, 2006, 04:27:49 pm »

I had done as you said. The problem was, I had only done it for the administrator. I have changed the guests settings as well as registrered user. Please try again.
Logged
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 19 queries.