jynclr Posted September 9, 2003 Posted September 9, 2003 My website is: http://www.larpprops.com Now, on the first page, on the right hand side, you'll see where the table that is supposed to be the statistics bar at the bottom of the page is shown at the right just under the currencies box. I have installed the files new, and this is STILL showing up like this. If you click on any of the "Shipping and Returns" and "Privacy Notice," etc. the layout is correct, however, on any other page, it is not working at all. Why is that? What file do I need to modify? Is there a list of files in the osCommerce package, what each file does, and what it calls as well as what files were called by any other files? This is frustrating. I have found that for some reason or another, a "</table>" tag is not being completed and I cannot find the file that is responsible for that so that I may correct it. Please help me. I have searched for over 2 hours and cannot find this error in ANY of the files. Thanks! :) -- Jayne
jynclr Posted September 9, 2003 Author Posted September 9, 2003 Oh, one more thing. I want to change the page title from it saying "osCommerce" to our website name. I also have not been able to find the file that has that "<TITLE>" tag. Which file is it? Thanks! -- Jayne
Ajeh Posted September 9, 2003 Posted September 9, 2003 Sounds like you are missing a <table> <tr>or <td> in your code. Search for: define('TITLE via your Windows Search function on the folder: /includes/languages
jynclr Posted September 9, 2003 Author Posted September 9, 2003 Sounds like you are missing a <table> <tr>or <td> in your code. Search for: define('TITLE via your Windows Search function on the folder: /includes/languages Thank you. I was able to change the title of the page by doing that. However, it did not solve the missing </TABLE> tag issue. Now I am having the problem that it looks fine everywhere else, except when you view an individual item. Here's an example: http://www.larpprops.com/product_info.php?...a8243a1651a50d2 -- Jayne
jynclr Posted September 9, 2003 Author Posted September 9, 2003 Through obsessive testing, I have found that if an item has a picture, the formatting is not correct, and the "status bar" (which is really a table) will not display in the proper place when viewing each individual product. However, if a product does NOT have a picture, then it displays correctly. :shock: Thusly: Item with a picture: http://www.larpprops.com/product_info.php?...f7997257e1ceaac Item without a picture: http://www.larpprops.com/product_info.php?...f7997257e1ceaac Notice how the item with a picture won't have the footer at the foot of the page? Yet, the item without a picture displays everything correctly. I hope this narrows it down. I'm off to bed right now! :lol:
Ajeh Posted September 9, 2003 Posted September 9, 2003 Save the View Source of shipping.php and product_info.php Open these files in something like Beyond Compare and see if you can't find the break in pattern that way.
Guest Posted September 9, 2003 Posted September 9, 2003 It is a bug in your version of php: http://www.oscommerce.com/community/bugs,1242
jynclr Posted September 9, 2003 Author Posted September 9, 2003 Save the View Source of shipping.php and product_info.php Open these files in something like Beyond Compare and see if you can't find the break in pattern that way. Finding the break in pattern from viewing the source is not going to solve the problem. That's how I was able to find out I had the problem. The viewed source is HTML that is already generated from the .php files. The solution is to find the section of code that generates the HTML, you know, go to the source. ;) And fix it there. There are so many files to osCommerce that I was hoping one of the developers could point me to the .php file that generates the HTML tags. JB's link was awesome. One of the solutions, the easiest, and dirtiest, was to simply add a close </TABLE> tag to the footer.php file. I didn't want to do that, but someone else in JB's link said they did it. There is a bug, as JB says, in my version of PHP. I did the quick and dirty method and have noted it for the future incase something else breaks. JB, thank you for the link. It explained the error I was getting. So, it's not that the osCommerce .php source code is in error or broken, its the PHP parser / HTML generator. Thanks! My website is puuurrrrrdy now. :lol: -- Jayne
Ajeh Posted September 9, 2003 Posted September 9, 2003 I use the View Source to show me where the error is and then find something near there that I can hunt down in the code so that now I can determine where and who is generating what to make the error ... :wink:
Guest Posted September 9, 2003 Posted September 9, 2003 JB, thank you for the link. It explained the error I was getting. So, it's not that the osCommerce .php source code is in error or broken, its the PHP parser / HTML generator. Thanks! My website is puuurrrrrdy now. :lol: No problem...let's just say "been there myself" ;) What I can't quite figure out is why this error does not occur on older versions of OSC with php 4.2.x but it does on the newer versions of OSC. I can only assume it has something to do with how cookies are handled in the newer OSC version since forcing cookie use solved the problem in my case.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.