Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

hansi

Archived
  • Posts

    18
  • Joined

  • Last visited

About hansi

  • Birthday 11/25/1974

Profile Information

  • Real Name
    Hans Juergen Siala
  • Website

hansi's Achievements

  1. Hi Regadin, Thanks a lot. The redundant code no longer displays now. However, as mentioned in my previous message there is a redundant <Table> section that displays above the <html> tag. Here is an excerpt from it : <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="messageStackWarning"> <td class="messageStackWarning"><img src="images/icons/warning.gif" border="0" alt="Warning" title=" Warning " width="10" height="10"> Warning: Installation directory exists at: /srv/www/htdocs/catalog/install. Please remove this directory for security reasons.</td> </tr> <tr class="messageStackWarning"> <td class="messageStackWarning"><img src="images/icons/warning.gif" border="0" alt="Warning" title=" Warning " width="10" height="10"> Warning: I am able to write to the configuration file: /srv/www/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.</td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><a href="http://localhost/catalog/index.php?osCsid=mm2ne6lld46hjkkhdiotcdtlq2"><img'>http://localhost/catalog/index.php?osCsid=mm2ne6lld46hjkkhdiotcdtlq2"><img src="images/oscommerce.gif" border="0" alt="osCommerce" title=" osCommerce " width="204" height="50"></a></td> <td align="right" valign="bottom"><a href="http://localhost/catalog/account.php?osCsid=mm2ne6lld46hjkkhdiotcdtlq2"><img'>http://localhost/catalog/account.php?osCsid=mm2ne6lld46hjkkhdiotcdtlq2"><img src="images/header_account.gif" border="0" alt="My Account" title=" My Account " width="30" height="30"></a> <a href="http://localhost/catalog/shopping_cart.php?osCsid=mm2ne6lld46hjkkhdiotcdtlq2"><img'>http://localhost/catalog/shopping_cart.php?osCsid=mm2ne6lld46hjkkhdiotcdtlq2"><img src="images/header_cart.gif" border="0" alt="Cart Contents" title=" Cart Contents " width="30" height="30"></a> <a href="http://localhost/catalog/checkout_shipping.php?osCsid=mm2ne6lld46hjkkhdiotcdtlq2"><img'>http://localhost/catalog/checkout_shipping.php?osCsid=mm2ne6lld46hjkkhdiotcdtlq2"><img src="images/header_checkout.gif" border="0" alt="Checkout" title=" Checkout " width="30" height="30"></a> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <a href="http://localhost" class="headerNavigation">Top</a> ? <a href="http://localhost/catalog/index.php?osCsid=mm2ne6lld46hjkkhdiotcdtlq2" class="headerNavigation">Catalog</a></td> <td align="right" class="headerNavigation"><a href="http://localhost/catalog/account.php?osCsid=mm2ne6lld46hjkkhdiotcdtlq2" class="headerNavigation">My Account</a> | <a href="http://localhost/catalog/shopping_cart.php?osCsid=mm2ne6lld46hjkkhdiotcdtlq2" class="headerNavigation">Cart Contents</a> | <a href="http://localhost/catalog/checkout_shipping.php?osCsid=mm2ne6lld46hjkkhdiotcdtlq2" class="headerNavigation">Checkout</a> </td> </tr> </table> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="125" valign="top"><table border="0" width="125" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> Thanks for your kind help and support.
  2. Hi Alba, I got the same problem. I emailed regadin some time ago but the messages in this forum seem to grow and getting a response is sometimes difficult and slow. I tried to debug the code and use a flag to stop the redundant HTML from displaying (the ending part of the index.php page in the catalog folder): <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> [/b]//if STS has been activated dont display the closing body and html tags //Without this condition there will be redundant body and html code { ?> </body> </html> <?php } ?> This code stopped the redundant code from displaying under the Windows System but under Linux, I get a weird <TABLE> header snippet of code above the <html> (I don't know where it is coming from) which violates the well-formedness and XHMTL rules of the code. I hope that someone will look into it as it will prevent the code from becoming in the future XHTML compliant. Hansi
  3. Just to let you know guys. I have resolved the problem. There is however another issue I just wanted to point out. Some of the code generated by the template still contains nested and redundant <html> and <body> templates (e.g. code generated by by index.php.html and sts_template.html). This will cause problems in some browsers and if the code migrates to XHTML.
  4. Just to let you know guys. I have resolved the problem. There is however another issue I just wanted to point out. Some of the code generated by the template still contains nested and redundant <html> and <body> templates (e.g. code generated by by index.php.html and sts_template.html). This will cause problems in some browsers and if the code migrates to XHTML.
  5. Hi, Anyone has an answer to my question (see above). Please :( Hansi
  6. When I said I don't use I meant I don't want to use :-"
  7. Hi Don, I have a similar problem (see my post). I don't to use the InfoBox STS 4.1 add-in. I also followed the instructions in the manual (readme file) hoping to see what I have changed. and I hope that someone will answer our problem. Hansi
  8. Hi, I hope that my problem has not been mentioned before in this thread. I have installed STS 4.1 with the latest fixes (June 2006) and followed the guidelines for installing the Default, Index and Product Info under the admin/module. Basically, all I was trying to do is to display a different background color for the main page when a certain product category is selected. Now in the database, the hardware category ID is 1. So I created a copy of the sts_template.html in catalog\includes\sts_templates\test and renamed it index_1.php.html (as suggested on page 5 of the readme file). I assume that this page will automatically load on the browser window when I select hardware category on the home page. But when I click on the Hardware category link, the index_1.php.html does not get invoked. What am I doing wrong? I have followed the readme file as is. Hansi
  9. Hi, I hope that my problem has not been mentioned before in this thread. I have installed STS 4.1 with the latest fixes (June 2006) and followed the guidelines for installing the Default, Index and Product Info under the admin/module. Basically, all I was trying to do is to display a different background color for the main page when a certain product category is selected. Now in the database, the hardware category ID is 1. So I created a copy of the sts_template.html in catalog\includes\sts_templates\test and renamed it index_1.php.html (as suggested on page 5 of the readme file). I assume that this page will automatically load on the browser window when I select hardware category on the home page. But when I click on the Hardware category link, the index_1.php.html does not get invoked. What am I doing wrong? I have followed the readme file as is. Hansi
×
×
  • Create New...