Install errors Install errors
 

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]

Main Menu

Install errors

Started by NordicMaster, September 24, 2005, 07:01:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NordicMaster

Hi

After filling out the the information on this page:

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.doteasy.com%2FSupport%2FTutorials%2FCoppermine%2Fimages%2Fcoppermine04.gif&hash=ca47b31ec1847d33ec021086964e1a7cbd7aefea)


when installing coppermine, I get this error:
********
Warning: exec() has been disabled for security reasons in /var/www/html/photos/install.php on line 86

Warning: getimagesize(albums/userpics/im.gif): failed to open stream: No such file or directory in /var/www/html/photos/install.php on line 87

Warning: unlink(albums/userpics/im.gif): No such file or directory in /var/www/html/photos/install.php on line 88
********
I followed this tutorial: http://www.doteasy.com/Support/Tutorials/Coppermine/

Does anyone know what I can do with this?

Kristian Finn

Joachim Müller

the error message you get means that you can't use ImageMagick on your webspace. Use GD instead (if you have it). Read the FAQ for details. The tutorial you're refering to gives a very rough overview only, it doesn't handle all possible ifs and buts (related to your server setup). Read the documentation that comes with coppermine to get an understanding how the software works.

NordicMaster

#2
Hi

OK, so I have to get GD. I have just read the online manual for coppermine (it did not make me much smarter) and now I have read the GD guide. Unfortunately it jumps quickly over the basic parts. I have downloaded the latest GD (Download .zip), but the manual does not describe what to do next. I use 'Core FTP LE', which is not text based (the manual only described text based ftp i guess)

Do you mind giving me the quick tour on how to get gd up and running?

-Kristian


One more thing: I also get this error:
*************
The installer found the ImageMagick 'convert' program in '/usr/bin/', however it can't be executed by the script.

You may consider using GD instead of ImageMagick.
*************
any help?

Joachim Müller

you can only install GD if the server is yours to administer. I hope it is not, as running your own server publicly available is not recommended for newbies.
So, hopefully, you're webhosted. If this is the case: you can't install GD yourself, and you can't fix ImageMagick permissions yourself. Your webhost has to do this for you. Ask them for support; I suggest you refer to this thread - your webhost should know what to do.

Abbas Ali

#4
The program uses "exec" function to execute the imagemagick commands. However on your server the warning -

QuoteWarning: exec() has been disabled for security reasons in /var/www/html/photos/install.php on line 86

shows that this function is disabled by the server configuration. Hence imagemagick cannot be used. You either shift to GD or tell your webhost to enable the exec function.

Installing GD is something which server admin does so we can't help you much in that.

P.S: By the time i was composing this post GauGau already replied. Anyways i am still posting this.
Chief Geek at Ranium Systems

NordicMaster

#5
Hi again

This is a great forum. Thank you for your posts. I understand now that this is an issue for my webhost, not for me. I'll send them an e-mail and ask them to enable exec for /var/www/html/photos/install.ph

I figure this will resolve my issue or is there something else I should ask for at the same time?

-Kristian


One more thing:
The last to errors,
***
Warning: getimagesize(albums/userpics/im.gif): failed to open stream: No such file or directory in /var/www/html/photos/install.php on line 87
Warning: unlink(albums/userpics/im.gif): No such file or directory in /var/www/html/photos/install.php on line 88
***
are obvious because there is no 'im.gif' in 'albums/userpics/'. It simply isn't in the downloaded .zip file. Is this a file that will be added automatically later or do I have to add it my self?

Joachim Müller

as you said: im.gif is not suppossed to be there. Make sure you have the most recent stable coppermine package and that the file didn't get corrupted uring upload.