is googlecheckout.php present in the \includes\modules\payment\ folder?
I was thinking the same thing, but that file is present.
Code:
include(DIR_WS_MODULES . 'show_google_components.php');
is obviously what breaks it, so i'm trying to work backwards from there:
show_google_components.php contains only the following code:
Code:
if (defined('MODULE_PAYMENT_GOOGLECHECKOUT_STATUS') && MODULE_PAYMENT_GOOGLECHECKOUT_STATUS == 'True') {
include('googlecheckout/gcheckout.php');
}
So I move on to gcheckout (which is also present) and the first include/require is the file you mentioned:
Code:
require('includes/languages/' . $_SESSION['language'] . '/' .'modules/payment/googlecheckout.php');
require_once('includes/modules/payment/googlecheckout.php');
So I verified that both of those files were in the correct location.
The final includes/requires in that page are:
Code:
require('googlecheckout/library/googlecart.php');
require('googlecheckout/library/googleitem.php');
require('googlecheckout/library/googleshipping.php');
require('googlecheckout/library/googletax.php');
So I verified the location and existence of these... and still no go.
So really following that logic the only thing i can think of is that:
the initial code in the shopping cart (login et. al.) (DIR_WS_MODULES . 'show_google_components.php');
can't find the file show_google_components.php at all (so it never even knows to go deeper for the other files) and subsequently breaks the rest of the page. I'm not familiar enough with PHP and it's error handling to know if a failed include directive will cause the preprocessor to stop parsing the page...this may be the case.
That's all I can come up with right now, does this seem right?
maybe a path issue? is DIR_WS_MODULES defined somewhere? even then wouldn't other pages/modules be broken?
seriously...i like a good problem but i'm growing thin on this one.
Bookmarks