News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Page Cannot be found Error CPG 1.1D/php 6.5

Started by regie, October 19, 2003, 08:19:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kegobeer

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.
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


regie

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] =>
)