ashmongo Posted June 11, 2009 Share Posted June 11, 2009 Greetings all, I get a blank page when I try to checkout. I have narrowed my issue down to line 66 $shipping_modules = new shipping; If I remove all instances that "$shipping_modules" is mentioned in the file then i can see the checkout_shipping.php page (not complete of course). I have not be able to get any further with this issue, if anyone can help me out it would be very appreciated. My config is define('HTTP_SERVER', 'http://www.mydomain.com.au'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.mydomain.com.au'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'mydomain.com.au'); define('HTTPS_COOKIE_DOMAIN', 'mydomain.com.au'); define('HTTP_COOKIE_PATH', '/store/'); define('HTTPS_COOKIE_PATH', '/store/'); define('DIR_WS_HTTP_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/username/mainwebsite_html/store/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'xxxxxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
Gauravs Posted June 11, 2009 Share Posted June 11, 2009 Blank page indicates that PHP script execution failed due to some error, and when you take out all instances as indicated, the page works because - the problem has been removed. Have you installed any new modules recently? Did it ever work? What has changed? Some questions that you may have to answer apart from looking at shipping.php [catalog/includes/classes] and adding debug code to see where it fails. Best Regards,Gaurav Link to comment Share on other sites More sharing options...
ashmongo Posted June 11, 2009 Author Share Posted June 11, 2009 I have not had it working yet. No additional modules. I am trying to get it working for the first time. Can you suggest how I can error check so that I can figure out where there issue is coming from. I appreciate any help Link to comment Share on other sites More sharing options...
Gauravs Posted June 11, 2009 Share Posted June 11, 2009 a. Have you installed any shipping module yet? b. Is OSC installed on your local machine or on a remote server. c. How to debug ? - I typically use echo "Statement"; to generate output on the browser and try to figure out where the flow stops or to display values. HTH Best Regards,Gaurav Link to comment Share on other sites More sharing options...
ashmongo Posted June 11, 2009 Author Share Posted June 11, 2009 a. Have you installed any shipping module yet?b. Is OSC installed on your local machine or on a remote server. c. How to debug ? - I typically use echo "Statement"; to generate output on the browser and try to figure out where the flow stops or to display values. HTH There appears to be a shipping module installed as I can see it in admin. It is installed on a remote server I have narrowed it down to where it says [require(DIR_WS_CLASSES . 'shipping.php');] it will not print any code I put into shipping.php so it is not being called but not to far above where shipping.php is called, order.php is also called yet the program dose not stop on it [require(DIR_WS_CLASSES . 'order.php');] Why would the code stop on shipping.php and not order? Link to comment Share on other sites More sharing options...
Gauravs Posted June 12, 2009 Share Posted June 12, 2009 echo DIR_WS_CLASSES to see what is the path being shown and if shipping.php is available to be included. If shipping.php is getting included, there is something wrong with the code within - perhaps you may like to replace with a new copy (after taking backup) Thx Best Regards,Gaurav Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.