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 [2]   Go Down

Author Topic: Page Cannot be found Error CPG 1.1D/php 6.5  (Read 16520 times)

0 Members and 1 Guest are viewing this topic.

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #20 on: October 20, 2003, 11:12:30 pm »

If you (or your webhost if your site is hosted elsewhere) won't recompile php with GD support, or won't install ImageMagick, you're out of luck.  CPG needs GD or ImageMagick to function correctly.  I remember people creating the thumbs themselves and uploading them, but I can't remember exactly what was done.  I think just create the thumbs and intermediate pics, prefix them with thumb_ or normal_, and upload the original, thumb, and normal to the directory you use as an admin to do the batch upload.  CPG should find the required files already created and add them to the db just fine.

Make sure you create your intermediate and thumb pics to the size you enter in the config options.

Unfortunately without image support, your users won't be able to upload pics themselves, they'll have to send them to you for the above process.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #21 on: October 21, 2003, 12:22:17 am »

Thank you for your help  :D
Logged

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #22 on: November 05, 2003, 04:30:23 am »

Hello again, I got Image Magick installed on my site, and now I'm receiving the following error. If you could assist me I would sincerely appreciate it . Here's the error/error's: :?

The picture 'modules/coppermine/albums/userpics/10007/antivirus~6.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 1

Cmd line :
/root/ImageMagick-5.5.6/utilities/convert -quality 80 -antialias -geometry 100x75 'modules/coppermine/albums/userpics/10007/antivirus~6.jpg' 'modules/coppermine/albums/userpics/10007/thumb_antivirus~6.jpg'

The convert program said:
/root/ImageMagick-5.5.6/utilities/convert: No decode delegate for this image format (modules/coppermine/albums/userpics/10007/antivirus~6.jpg) [Invalid argument].

File: /usr/local/apache/htdocs/html/modules/coppermine/db_input.php - Line: 302

Debug info:

USER:
Array
(
    [ID] => 62f20d3e73e069055d78f674138e1a1d
    [am] => 1
)

 
GET :
Array
(
    [name] => coppermine
    [file] => db_input
)

 
POST :
Array
(
    [event] => picture
    [album] => 3
    [MAX_FILE_SIZE] => 1048576
    [title] => test
    [caption] => test
    [keywords] =>
    [user1] =>
    [user2] =>
    [user3] =>
    [user4] =>
)
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.016 seconds with 14 queries.