Guest Posted February 28, 2003 Posted February 28, 2003 i went over the install 5 times. I can't figure out the errors. Warning: exec() has been disabled for security reasons in /home/.gabbaisybian/rocketpc/rocketpc.com/catalog/includes/linkpoint/lpphp.php3 on line 156 Warning: Variable passed to reset() is not an array or object in /home/.gabbaisybian/rocketpc/rocketpc.com/catalog/includes/linkpoint/lpphp.php3 on line 185 Warning: Cannot add header information - headers already sent by (output started at /home/.gabbaisybian/rocketpc/rocketpc.com/catalog/includes/linkpoint/lpphp.php3:156) in /home/.gabbaisybian/rocketpc/rocketpc.com/catalog/includes/functions/general.php on line 29 I could really use some help here. Thanks in advance Quote
Guest Posted February 28, 2003 Posted February 28, 2003 oh....FYI This is a fresh install. No hacks or code mods at all. this is lines 21 - 32 in the general.php // Redirect to another page or site function tep_redirect($url) { if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } header('Location: ' . $url); tep_exit(); } This is lines 154 - 187 in the lpphp.php3 //send query to API $lpapi=$this->lpapi; exec("$lpapi $mycf $myfilename",$myresults,$retval); // delete temp file $delok=unlink($myfilename); // did we delete it OK? if($delok==0) { print "<br>WARNING! Unable to delete temp file"; } if($retval!=0) { $retarr["approved"]="ERROR"; $retarr["error"]="Error executing LBIN!<br>n"; return $retarr; } $mycount=count($myresults); $myindex=0; while($myindex < $mycount) { $myline=$myresults[$myindex]; list($good,$junk)=split("rn",$myline); list($best,$junk)=split("n",$good); list ($execkey,$execval)=split('=',$best); $myindex++; $retarr["$execkey"]="$execval"; } reset($retarr); return $retarr; } Quote
Guest Posted February 28, 2003 Posted February 28, 2003 If there is any other info that woudl be relevant someone please let me know Quote
hollowplanet Posted February 28, 2003 Posted February 28, 2003 I had a few problems on install for Linkpoint that you can find in the archives. The one thing I notice on your errors is the exec() function disabled for security reasons -- that sounds like a configuration problem with your server / hosting provider maybe. I would suggest checking on the PHP configuration on the server maybe.... - hollowplanet Quote
Guest Posted March 1, 2003 Posted March 1, 2003 Hollow....thanks for your response. I will take that up with my isp. Correct me if i'm wrong but that would be "safe mode" in the php.ini file. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.