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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

geoiplookup necessary exec rights


Go to End


2 Posts   2343 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, 238 Posts

26 June 2008 at 12:15am

I'm having the same issue.