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: [Solved]: Upload issue  (Read 3670 times)

0 Members and 1 Guest are viewing this topic.

neoncircles

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
[Solved]: Upload issue
« on: March 30, 2008, 03:07:31 pm »

My webhost is after moving my account to a new server running php5 (the old one ran php4). Since then coppermine has been unable to upload photos as such.

In the file select, files can be selected and uploaded, but when attempting to place in album it says files cannot be placed.
If i try upload from URL it does not work at all.

Checked permissions for upload folder and they are set correctly. Webhost is unable to see much of a solution

Any ideaS?
« Last Edit: April 11, 2008, 08:36:59 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upload issue
« Reply #1 on: March 30, 2008, 03:27:56 pm »

Yes: do exactly as suggested in the "upload troubleshooting" section of the docs. Continue reading the "asking for support on upload issues" section. Do as suggested there.
Logged

neoncircles

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Upload issue
« Reply #2 on: April 11, 2008, 05:55:49 pm »

OK, I have followed the steps in the sticky, in debug mode it gave me the following errors:

Any ideas from these....?

/upload.php

    * Notice line 1972: Undefined variable: file_failure_array
    * Notice line 1973: Undefined variable: URI_failure_array
    * Notice line 1974: Undefined variable: zip_failure_array


/include/picmgmt.inc.php

    * Notice line 205: Undefined index: OS
    * Warning line 225: unlink(./albums/edit/preview_45e3abfb.jpg) [function.unlink]: No such file or directory

/include/functions.inc.php

    * Notice line 2683: Undefined variable: i

/include/picmgmt.inc.php

    * Notice line 205: Undefined index: OS
    * Warning line 225: unlink(albums/userpics/thumb_greengrass02_-_Copy.jpg) [function.unlink]: No such file or directory
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upload issue
« Reply #3 on: April 11, 2008, 06:13:57 pm »

Nope, you haven't done as suggested. In fact, you did quite the opposite of what you're supposed to do, as nobody needs your notices - you're not even supposed to turn notices_display on.

Do exactly as I suggested in my initial reply on this thread.
Logged

neoncircles

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Upload issue
« Reply #4 on: April 11, 2008, 06:39:52 pm »

Didnt turn notices display or anythin of its sort on- merely went into debug mode and followed steps...

I'll go back to the sticky and try find some (invisible) step that I have missed..... ??? ???
Logged

neoncircles

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Upload issue
« Reply #5 on: April 11, 2008, 06:55:32 pm »

OK, turned out I didnt select single file upload only. Seems like an Image Magick issue,

The file 'albums/userpics/vbulletin3_logo_white.gif' can't be inserted in the album

Error executing ImageMagick - Return value: 127

Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 100x23 'albums/userpics/vbulletin3_logo_white.gif' 'albums/userpics/thumb_vbulletin3_logo_white.gif'


The convert program said:
sh: /usr/bin/convert: No such file or directory


File: /home/s27769/public_html/photos/db_input.php - Line: 402



To me it seems like file permissions are odd somewhere- although they are all set to 777 where appropriate in albums?
Logged

Nibbler

  • Guest
Re: Upload issue
« Reply #6 on: April 11, 2008, 08:25:00 pm »

It means either you don't have imagemagick on the server or the path is wrong. Try switching to GD2 in config.
Logged

neoncircles

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Upload issue
« Reply #7 on: April 11, 2008, 08:31:01 pm »

OK it now works after switching to GD2  :D
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 20 queries.