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.

Forum Module /

Discuss the Forum Module.

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

[Warning] escapeshellarg() has been disabled for security reasons


Reply


3 Posts   3138 Views

Avatar
raamklaza

Community Member, 182 Posts

16 July 2009 at 8:24am

I have a weird thing in my Forum.

I can't go to My profile and can't change Category in Admin section.

This is the error message with ?isDev=1:

[Warning] escapeshellarg() has been disabled for security reasons
GET /ForumMemberProfile/edit?isDev=1

Line 284 in /home/w0576642/domains/roufaida.nl/public_html/sapphire/integration/Geoip.php

Source

275     * $codeOnly parameter.
276     *
277     * @param string $address The IP address to get the country of
278     * @param boolean $codeOnly Returns just the country code
279     */
280    static function ip2country($address, $codeOnly = false) {
281       // Return if in CLI, or you'll get this error: "sh: geoiplookup: command not found"
282       if(Director::is_cli()) return false;
283       
284       $cmd = 'geoiplookup ' . escapeshellarg($address);
285       exec($cmd, $result, $code);
286       // Note: At time of writing, $result is always zero for this program
287
288       if($code == 127) return false;
289       if($result == false) return false;
290       

Avatar
raamklaza

Community Member, 182 Posts

16 July 2009 at 9:10am

I can't even post a topic in the forum, lol :D

That defeats the purpose of a Forum :)

I hope someone can help me out with the error message i gave.

I am running SS 2.3.2 and Forum 0.2.0

Avatar
raamklaza

Community Member, 182 Posts

17 July 2009 at 8:34am

It's a huge problem :(

it can't be that i am the only who is having this problem right??????

I made a test user so you guys can see:
test
test

This the error i get in my email

Error: Uncaught Exception: Object->__call(): the method 'currentlyonline' does not exist on 'ForumHolder_Controller'
At line 515 in /home/w0576642/domains/roufaida.nl/public_html/sapphire/core/Object.php