msvara Posted April 20, 2007 Posted April 20, 2007 I am hosting through Network Solutions. They recently upgraded their apache server and didn't tell me. I am having two issues. 1) error at bottom of index.php page when viewed without index.php http://www.inspiredpaper.com/ vs. http://www.inspiredpaper.com/index.php 2) no payment options are showing osCommerce 2.2-MS2, PHP Version 4.4.6, Apache/2.2.4 (Unix) I have STS, Wholesale / MultiGroup Pricing & Sort Mods. Turned off STS and can at least see most of the page. From what I can tell it's PHP_SELF. Because I was also getting odd things on the admin/ page but worked fine at admin/index.php I fixed that in admin\includeds\application_top.php find: $PHP_SELF = (isset($HTTP_SERVER_VARS['PHP_SELF']) ? $HTTP_SERVER_VARS['PHP_SELF'] : $HTTP_SERVER_VARS['SCRIPT_NAME']); and replace with // Before Network Solutions Broke it // $PHP_SELF = (isset($HTTP_SERVER_VARS['PHP_SELF']) ? $HTTP_SERVER_VARS['PHP_SELF'] : $HTTP_SERVER_VARS['SCRIPT_NAME']); $PHP_SELF = $_SERVER['SCRIPT_FILENAME']; I changed the same in application_top.php outside the admin dir, but I must be missing something, because I still get the error at the bottom of the page. Also, even though I have payment options enabled they are not showing up. I have a feeling the way you call arrays have changed. Any help would be appreciated, thanks InspiredPaper.com
msvara Posted April 20, 2007 Author Posted April 20, 2007 Ok I fixed error #1 in includes\boxes\languages.php after <?php add $PHP_SELF = $_SERVER['SCRIPT_FILENAME']; But I still have #2 no payment options are showing. Any help would be appreciated, thanks InspiredPaper.com
msvara Posted April 20, 2007 Author Posted April 20, 2007 It was my fault. Shipping Zone was turned on for all payment methods for a state that my test account was not in.. :angry: grrrr ID 10 T error
Recommended Posts
Archived
This topic is now archived and is closed to further replies.