938 Posts in 271 Topics by 291 members
Forum Module
SilverStripe Forums » Forum Module » [Warning] escapeshellarg() has been disabled for security reasons
Discuss the Forum Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 2764 Views |
-
[Warning] escapeshellarg() has been disabled for security reasons

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=1Line 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 -
Re: [Warning] escapeshellarg() has been disabled for security reasons

16 July 2009 at 9:10am
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
-
Re: [Warning] escapeshellarg() has been disabled for security reasons

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
testThis 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
| 2764 Views | ||
|
Page:
1
|
Go to Top |

