Jump to content

Recommended Posts

Posted

Hello,

 

I recently found out my previous host ran php in safe mode and I was unable to get it changed without upgrading my account so I moved here. However I'm still getting the same problem.

 

Warning: shell_exec() has been disabled for security reasons in /home/bhadley/public_html/include/login.php on line 5

 

Basically I'm trying to implement the Facebook connect login / register system into my website using their php API but function calls get blocked. How would I resolve this problem?

 

p.s. Not sure if this should go into questions or customer support forum - sorry if I posted in the wrong section.

 

Server name: stevie

username: bhadley

main domain:brettqt.heliohost.org (www.brettqt.com)

link to page to see error yourself

http://www.brettqt.c...clude/login.php

 

 

Here is the code I'm trying to run.

<?php
require_once("facebook.php");
$config = array();
$config[`appId`] = '<SNIP>';
$config[`secret`] = '<SNIP>';
//$config[`cookie`] = true;
$facebook = new Facebook($config);
?>

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...