Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

geoiplookup necessary exec rights


Reply


2 Posts   1945 Views

Avatar
zyko

Community Member, 66 Posts

4 April 2008 at 7:57am

Edited: 04/04/2008 8:07am

Hi,

i tryed to push the button 'mitglied hinzufuegen' (probably 'attach member') within a group in security center.
The new window opens and gives following error:

ERROR:Error 2: exec() has been disabled for security reasons At l288 in /www/htdocs/w0090bfc/sstr1/sapphire/security/Geoip.php exec(geoiplookup 'xx.xx.xx.xx',,) line 288 of Geoip.php
...

In my environment there are no 'exec' rights for php.
i'd a look at the code of Geoip.php and of course could 'hack out' the execution of the command.

my question are:
* are there more things like these which would prevent silverstripe to run in such an environment? As far as i can see, it's the first point.
* Is there a easyer way to 'disable' geoip lookup, fe. set some variable?

would be happy for any hints ;-)

greetings
Helmut

Avatar
Jedateach

Forum Moderator, 233 Posts

26 June 2008 at 12:15am

I'm having the same issue.