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: disabled exec()  (Read 3684 times)

0 Members and 1 Guest are viewing this topic.

xsivejeff

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
disabled exec()
« on: July 17, 2005, 07:57:08 am »

On my host server...... exec() is disabled for security reasons.  Will Coppermine run like that?
The board I use..... bbBoard v2 uses image magick but it uses it as a perl module Image::Magick.
« Last Edit: July 17, 2005, 08:02:45 am by xsivejeff »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: disabled exec()
« Reply #1 on: July 17, 2005, 08:48:17 am »

With exec being disabled, you can use coppermine with GD (if you have it, most servers do support GD, as it comes with regular PHP distributions). Please refer to the FAQ to find out.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: disabled exec()
« Reply #2 on: July 17, 2005, 02:46:52 pm »

Ask your host if curl is enabled.  If so, there's a workaround already posted on our forum.  Search the forum for curl.
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

Nibbler

  • Guest
Re: disabled exec()
« Reply #3 on: July 17, 2005, 06:40:29 pm »

exec() is used to run ImageMagick, it has nothing to do with disabled URL fopen. You can replace it in the code with passthru() if that is not also disabled. I think there are instructions for that somewhere.
Logged

xsivejeff

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: disabled exec()
« Reply #4 on: July 17, 2005, 09:51:33 pm »

Replaced exec() with passthru().  Now I get:

Warning: Wrong parameter count for passthru() in /home/xsivejef/public_html/fiatgallery/include/picmgmt.inc.php on line 162
Logged

Nibbler

  • Guest
Re: disabled exec()
« Reply #5 on: July 17, 2005, 09:55:34 pm »

Yes, that's why I said to look for instructions as opposed to blindly changing bits of code.

http://forum.coppermine-gallery.net/index.php?topic=5287
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.