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: Unable to view uploaded pics  (Read 3309 times)

0 Members and 1 Guest are viewing this topic.

madmanbean

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Unable to view uploaded pics
« on: September 01, 2006, 07:13:44 pm »

Have spent all day reading this bb and trying all suggested.
Have upgraded to latest version (.9) and checked all files there, have checked permissions and done all troubleshooting I can find out about. Seems images are uploading to albumns/edit but I do not see a preview thumbnail and when moving on to place an image into a gallery I get that familiar message "The previous file could not be placed. You have successfully placed all the files". I have read everything I can about this problem but cannot see what is wrong.

I have set up a test user account and if anyone can look and tell me what is wrong I will be able to sleep tonight!

http://www.nickbean.co.uk/rats/

you can login as a registered user using uers "test" and password 1234

As requested I will not post the bug info here.

Thanks for your help..
« Last Edit: September 02, 2006, 02:01:43 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Unable to view uploaded pics
« Reply #1 on: September 01, 2006, 07:16:22 pm »

you can login as a registered user using uers "test" and password 1234
The test user account isn't particularly helpful without a link to your page ;)
When getting the generic error message "The previous file could not be placed", then you haven't applied the settings suggested in the upload troubleshooting section of the docs. You need to set file upload fields to "1", URI upload fields to "0" and enable debug_mode. Please review your settings.
Logged

madmanbean

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Unable to view uploaded pics
« Reply #2 on: September 01, 2006, 09:50:42 pm »

Sorry if I sound stupid but I have read and reread that section. I am very new to all this..hadnt changed the uri section to nil but have now done so..
The url of the site is in my post though.. it is http://www.nickbean.co.uk/rats/

I have already set the debug mode though as well as the upload field to 1

have now tried t again and yes getting a proper error message as below




The file 'albums/userpics/10001/shark~1.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127

Cmd line :
convert -quality 80 -antialias -geometry 100x64 'albums/userpics/10001/shark~1.jpg' 'albums/userpics/10001/thumb_shark~1.jpg'

The convert program said:
sh: line 1: convert: command not found

File: /home2/nickbean/public_html/rats/db_input.php - Line: 402

thhat does not really mean that much to me dut it may to someone out there
« Last Edit: September 01, 2006, 10:08:02 pm by madmanbean »
Logged

madmanbean

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Unable to view uploaded pics
« Reply #3 on: September 01, 2006, 10:16:33 pm »

just found this on another bb..seems relevent but still not not understand




I was getting this error:
Quote:
The convert program said:
sh: line 1: /usr/bin/X11/convert: No such file or directory


So under config "Path to ImageMagick 'convert' utility (example /usr/bin/X11/)" I left the field blank. Now I can upload pics again

http://www.karakas-online.de/forum/viewtopic.php?t=1936
Logged

Nibbler

  • Guest
Re: Unable to view uploaded pics
« Reply #4 on: September 01, 2006, 10:38:14 pm »

You need to either obtain the correct path from your host or use GD2 instead.
Logged

madmanbean

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Unable to view uploaded pics
« Reply #5 on: September 02, 2006, 11:54:15 am »

Ok..really appreciate your help here..have contacted my hosting company and they have confirmed that gd is available and enabled.. From what I can understand coppermine is pointing to image magik.. so how and what do I change to use gd2??
hostig company reply below..

I can confirm that GD is available and enabled as you can see from the PHPINFo page for the server:

http://www.sitehq10.com/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

Regards
Beyond Ego Limited Support Team
Logged

madmanbean

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Unable to view uploaded pics
« Reply #6 on: September 02, 2006, 12:57:47 pm »

Ok..must thank everyone for their help and suggestions..I have spent  a trying to sort this and Guess what?? the answer was there all long in the help files that I could have sworn I had read! The reson this had been overlooked is that my version of coppermine was auto installed by my web host and the default used was to use image magik which had no path entered.

The answer was in the readme.txt file which I had not read

The problem was solved by entering advanced thumbnais and changing the thumbnail editor to hd!!

A day of my life wasted? NO..a valuable lesson learnt!
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.