Jump to:

1016 Posts in 567 Topics by 309 members

Forum Module

SilverStripe Forums » Forum Module » [Warning] escapeshellarg() has been disabled for security reasons

Discuss the Forum Module.

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

Page: 1
Go to End
Author Topic: 3004 Views
  • raamklaza
    Avatar
    Community Member
    182 Posts

    [Warning] escapeshellarg() has been disabled for security reasons Link to this post

    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       

  • raamklaza
    Avatar
    Community Member
    182 Posts

    Re: [Warning] escapeshellarg() has been disabled for security reasons Link to this post

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

    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

  • raamklaza
    Avatar
    Community Member
    182 Posts

    Re: [Warning] escapeshellarg() has been disabled for security reasons Link to this post

    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

    3004 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.