Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Errors on Linkpoint CardService Internatioanl


Recommended Posts

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

Link to comment
Share on other sites



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);





This is lines 154 - 187 in the lpphp.php3


//send query to API


   exec("$lpapi $mycf $myfilename",$myresults,$retval);

   // delete temp file


   // did we delete it OK?



  print "<br>WARNING!  Unable to delete temp file";





     $retarr["error"]="Error executing LBIN!<br>n";

     return $retarr;




   while($myindex < $mycount)





     list ($execkey,$execval)=split('=',$best);





   return $retarr;


Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...