New Zenner
- Join Date:
- May 2006
- Posts:
- 51
- Plugin Contributions:
- 0
Fatal Error after Upgrade
DrByte:
(it's usually better to start "new problem" posts as new topics)
- Open Admin->Tools->Developers Toolkit
- Do a search (using bottom input field, and choosing ALL files from the dropdown) for http_client
- What does it tell you?
Problem:
PortMan:
I'm testing the upgrade. Now when I go to checkout, I get the following error:
Fatal error: Cannot redeclare class httpclient in /home/public_html/includes/classes/http_client.php on line 22
I did copy all the files in the patch set to the server and even recopied them.
Here is the output:
/home/public_html/includes/classes/http_client.php
Line #6 : * @copyright Portions Copyright 2001 Leo West <[email protected]> Net_HTTP_Client v0.6
Line #9 : * @version $Id: http_client.php 3047 2006-02-16 21:53:56Z wilt $
/home/public_html/includes/extra_datafiles/music_type_database_names.php
Line #6 : * @copyright Portions Copyright 2001 Leo West <[email protected]> Net_HTTP_Client v0.6
/home/public_html/includes/functions/functions_general.php
Line #747 : } elseif (isset($_SERVER['HTTP_CLIENT_IP'])) {
Line #748 : $ip = $_SERVER['HTTP_CLIENT_IP'];
Line #755 : } elseif (getenv('HTTP_CLIENT_IP')) {
Line #756 : $ip = getenv('HTTP_CLIENT_IP');
/home/public_html/includes/modules/pages/checkout_shipping/header_php.php
Line #10 : require(DIR_WS_CLASSES . 'http_client.php');
/home/public_html/includes/modules/pages/checkout_shipping/header_php_1.3.0.1.php
Line #10 : require(DIR_WS_CLASSES . 'http_client.php');
/home/public_html/includes/modules/pages/gv_send/header_php.php
Line #17 : require('includes/classes/http_client.php');
/home/public_html/includes/modules/shipping_estimator.php
Line #41 : require('includes/classes/http_client.php'); // shipping in basket