Guest Posted December 28, 2005 Share Posted December 28, 2005 Okay - so I must be doing something wrong. I keep editing the index.php file for my store, but for some reason, the blank template keeps showing up at the end. So, it looks like I have 2 store pages - 1 that I filled in the blanks and then the standard template below it. Since I suck at describing what I mean, please check out... https://host400.ipowerweb.com/~sublymer/osCommerce/catalog/ and scroll down to the bottom. You'll see there are two pages - 1 on top of the other. I've removed all of the code for the blank page from the actual .php file, yet for some reason, it keeps appending it anyway. HELP!!!! Thanks! Jeremy Link to comment Share on other sites More sharing options...
Guest Posted December 28, 2005 Share Posted December 28, 2005 Bump :) Link to comment Share on other sites More sharing options...
kgt Posted December 28, 2005 Share Posted December 28, 2005 Please don't bump, it's against forum policy. Does the code exist twice in the source - ie, does your PHP source in index.php contain duplicate code? Contributions Discount Coupon Codes Donations Link to comment Share on other sites More sharing options...
Guest Posted December 28, 2005 Share Posted December 28, 2005 Please don't bump, it's against forum policy. Does the code exist twice in the source - ie, does your PHP source in index.php contain duplicate code? Sorry bout the bump :-" No, when I post the index.php file, there is no additional code (I have removed it - otherwise, it shows up twice if you do a "view source"). I'm at a loss. The only thing I can think of is that somewhere in the code or on the style sheet, it's calling additional information. If I could find the source of that additional info, I would be in great shape. One other interesting bit - At the top, it states "Welcome Guest" If I log in, it still says "Welcome Guest" in the portion containing my code, but in the appended portion, it has my personal information. Thanks! Jeremy Link to comment Share on other sites More sharing options...
kgt Posted December 28, 2005 Share Posted December 28, 2005 When I look at the source, I notice that for the top "page," the base href tag is commented out: <!--<base href="https://host400.ipowerweb.com/~sublymer/osCommerce/catalog/">-->'>https://host400.ipowerweb.com/~sublymer/osCommerce/catalog/">--> but on the bottom "page," it's not <base href="https://host400.ipowerweb.com/~sublymer/osCommerce/catalog/"> Try doing a search WITHIN files for the following text: <!--<base href= You'll need a copy of the files on your hard drive to do this. You can use Windows search within files function, or you can use an advanced text editor. Then do a search for just <base href= Post the results if it doesn't get you anywhere. Contributions Discount Coupon Codes Donations Link to comment Share on other sites More sharing options...
Guest Posted December 28, 2005 Share Posted December 28, 2005 When I look at the source, I notice that for the top "page," the base href tag is commented out: <!--<base href="https://host400.ipowerweb.com/~sublymer/osCommerce/catalog/">-->'>https://host400.ipowerweb.com/~sublymer/osCommerce/catalog/">--> but on the bottom "page," it's not <base href="https://host400.ipowerweb.com/~sublymer/osCommerce/catalog/"> Try doing a search WITHIN files for the following text: <!--<base href= You'll need a copy of the files on your hard drive to do this. You can use Windows search within files function, or you can use an advanced text editor. Then do a search for just <base href= Post the results if it doesn't get you anywhere. Thanks for the help!!!! The answer to my original question "Am I dumb?" is a resounding "YES!" Instead of actually editing the PHP file, I edited its output by viewing the source and modifying that. I am a moron :blush: . After I figured out how much of a dummy I was, I was easily able to fix it. BTW - now, for some reason, it's rounding my shipping totals! (IOW, I charge $1.35 for shipping, but at checkout, it shows up as $1.00. If I change it to $1.65 for shipping, at checkout, it shows $2.00 - AARRRGGGHHH.) So far, I'm incredibly pleased though! So powerful yet FREE - amazing! J. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.