Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SEO-G root.php - conflict with PayPal ?


Guest

Recommended Posts

This is where I'm taken, having selected PayPal Express Checkout:

 

Warning: main(express.php): failed to open stream: No such file or directory in /hsphere/local/home/dotlemon/dotlemon.com/catalog/root.php on line 125

 

Warning: main(express.php): failed to open stream: No such file or directory in /hsphere/local/home/dotlemon/dotlemon.com/catalog/root.php on line 125

 

Fatal error: main(): Failed opening required 'express.php' (include_path='.:/usr/local/lib/php:/usr/local/share/pear') in /hsphere/local/home/dotlemon/dotlemon.com/catalog/root.php on line 125

 

I've identified root.php as an additional file introduced with SEO-G. The following is the root.php code starting at line 125:

 

require(basename($PHP_SELF));

} elseif( file_exists(basename($osc_parse['path']))) {

$PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'] = $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME'] = $osc_parse['path'];

if(basename($_SERVER['PHP_SELF']) == 'root.php' ) {

exit();

}

$g_script = basename($PHP_SELF);

$g_seo_flag = true;

require(basename($osc_parse['path']));

} else {

// Script not found. Initiate redirection

header("HTTP/1.1 " . SEO_DEFAULT_ERROR_HEADER);

header('Location: ' . $g_relpath . SEO_DEFAULT_ERROR_REDIRECT);

}

exit();

?>

 

Does anybody know whether I'm on the right track ? I feel like I'm getting close :thumbsup:

 

Thanks for any help !

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.
Note: Your post will require moderator approval before it will be visible.

Guest
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...