Jump to content
rigadin2

[Contribution] STS v4

Recommended Posts

Hi,

some time ago I posted these errors using FWR´s Error Handling:

E_NOTICE Error Count: 2

Error: Undefined property: sts_default::$enabled

File: includes/classes/sts.php

Line: 94

Error: Undefined property: sts::$display_debug_output

File: includes/modules/sts_inc/sts_display_output.php

Line: 33

 

Used contrib:

STSv4.5.8 Dated Jan 23, 2008

 

I found a way to fix it:

Error: Undefined property: sts_default::$enabled

File: includes/classes/sts.php

Line: 94

if ($this->script->enabled==false) {

Change to:

if (isset($this->script->enabled) && $this->script->enabled==false) {

 

Error: Undefined property: sts::$display_debug_output

File: includes/modules/sts_inc/sts_display_output.php

Line: 33

if ($sts->display_debug_output) {

Change to:

if (isset($sts->display_debug_output)) {

 

I hope this will help! :)

Share this post


Link to post
Share on other sites

Where to put a link to a external script so it is loading as very first Javascript?

 

I want that everypage is using the script jquery.js. This must also be the script that is running before al scripts?

 

I already tried in my head tags in sts_template.html but with no succes. Where to put it?

Share this post


Link to post
Share on other sites

I found a way to fix it:

Error: Undefined property: sts_default::$enabled

File: includes/classes/sts.php

Line: 94

if ($this->script->enabled==false) {

Change to:

if (isset($this->script->enabled) && $this->script->enabled==false) {

Thanks, this fixed my error!

 

Error: Undefined property: sts::$display_debug_output

File: includes/modules/sts_inc/sts_display_output.php

Change to:

if (isset($sts->display_debug_output)) {

This I couldn't use. It enabled debug mode..?


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

I couldn't find any support forum for SEO Meta Tags STS 1.0

I hope it's ok that I ask here: Still trying to get rid of errors:

 

Error Type: [E_NOTICE] Use of undefined constant products_id - assumed 'products_id'

On line 77

File includes/modules/sts_inc/general.php

 

The line is:

 $sts->template['headertags']= "<title>" . MetaTagTitle($_GET[[color="#ff0000"]products_id[/color]], $languages_id) . " " . nameCategory($current_category_id, $languages_id) ."</title>";

 

Error Type: [E_NOTICE] Undefined variable: products_id

On line 80

File includes/modules/sts_inc/general.php

 

The line is:

	$sts->template['headertagsdescription']= "<META NAME=description CONTENT='" . MetaTagDescription([color="#ff0000"]$products_id[/color],$languages_id) . "' />";

 

How can I fix these two errors?


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

thumbsup.gifNew STSv4.6 is now Available!!!

 

*Once upload is approved as it is 1MB in size (due to the new sample templates provided).

 

 

Added new Template Folder drop down menu in the admin to easily select all uploaded template sets similar to how Joomla! installs templates.Added new Open Source Template Sets to provide visual examples of the STSv4.6 features and ease of use.

 

Added several new variables in sts_user_code.php.

 

BUG FIXED: The $templatedir$ tag now works properly in all scripts.

 

BUG FIXED: Corrected the code for STS Default enabled to prevent errors (includes/classes/sts.php).

 

BUG FIXED: Corrected method for error messages appearing in the header (Use of $warning_header$ tag)

 

BUG FIXED: Several lines of code modified in the boxes.php file for seamless infobox template implementation.

 

Requires the use of Stop End Characters to facilitate proper variable functions.

 

Built around the idea to separate template sets from dependability of stock osC images and stylesheets.

 

Allows plug and play functionality to easily switch between properly designed template sets. This allows third party template set designers to easily port their designs.

 

STS files are still the same for all osCommerce 2.2 versions

 

Updated all STS documents.

 

Updated Support Thread links.

Edited by bkellum

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

Where to put a link to a external script so it is loading as very first Javascript?

 

I want that everypage is using the script jquery.js. This must also be the script that is running before al scripts?

 

I already tried in my head tags in sts_template.html but with no succes. Where to put it?

 

Bump :P

Share this post


Link to post
Share on other sites

What tags are you using in your header?

<script type="text/javascript" src="jquery.js"></script>

 

I need also that that script is loading as very first of all scripts.

In my head of sts_template.

Share this post


Link to post
Share on other sites

<script type="text/javascript" src="jquery.js"></script>

 

I need also that that script is loading as very first of all scripts.

In my head of sts_template.

 

 

No, I meant show me your entire template header so I can see what STS tags you are or are not using.


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

Here u go

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html $htmlparams>
<head>
<!--$headcontent-->
 <link rel="stylesheet" type="text/css" href="stylesheet.css">
 <link href="favicon.ico" type="image/ico" rel="icon"/>
<script type="text/javascript" src="jquery.js"></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<div id="content">
   <table border="0" width="100%" cellspacing="0" cellpadding="0">
       <tr class="header">
           <td valign="middle">
               <a href="index.php">
               	<img style="margin-left:100px;margin-top:30px;" border="0" src="images/kashop/logo.png">
               </a>
           </td>
       </tr>
   </table>

   <table border="0" width="100%" cellspacing="0" cellpadding="1">
       <tr class="headerNavigation">
           <td class="headerNavigation">
               $dmbox
           </td>
           <td align="right" class="headerNavigation">
               $searchbox
           </td>
       </tr>
   </table>

   <table border="0" width="100%" cellspacing="5" cellpadding="0">
     <tr>
       <td valign="top" width="198px">
         <table border="0" width="198px" cellspacing="5" cellpadding="2">
           <!--custom box begin-->      
           <tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C5DDF3"><tr><td width="18"><img border="0" src="images/kashop/infobox_topleft.gif" width="18" height="17"></td><td background="images/infobox_03.gif" class="infoBoxHeading" width="1428">
           <!--title begin-->
               Informatie
           <!--title end-->
           </td><td width="92" bgcolor="#C5DDF3"></td><td width="18" background="images/infobox_04.gif" style="background-repeat: norepeat">
               <img border="0" src="images/kashop/infobox_topright.gif" width="18" height="17"></td></tr></table>
           <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse"><tr><td bgcolor="#C5DDF3" width="7px"> </td>
           <td class="boxText" bgcolor="#FFFFFF" style="padding-bottom: 10px; padding-top: 10px; padding-left: 3px; padding-right: 3px;">
           <!--content begin-->
               <table>
               	<tr>
                   	<td class="informatieGastenboek">
                       </td>
                       <td class="infoBoxContents">
                       	<a href="guestbook.php">Gastenboek</a>
                       </td>
                  </tr>
               </table>
               <table>
               	<tr>
                   	<td class="informatieBetalen">
                       </td>
                       <td class="infoBoxContents">
                       	<a href="information.php?info_id=9">Hoe kunt u betalen</a>
                       </td>
                  </tr>
               </table>
               <table>
               	<tr>
                   	<td class="informatieFlow">
                       </td>
                       <td class="infoBoxContents">
                       	<a href="information.php?info_id=11">Over ons</a>
                       </td>
                  </tr>
               </table>
               <table>
               	<tr>
                   	<td class="informatieContact">
                       </td>
                       <td class="infoBoxContents">
                       	<a href="contact_us.php">Contact</a>
                       </td>
                  </tr>
               </table>
           <!--content end-->
           </td><td bgcolor="#C5DDF3" width="7px"> </td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C5DDF3"><tr><td width="18px"><img border="0" src="images/kashop/infobox_bottomleft.gif" width="18px" height="17px"></td><td width="100%" bgcolor="#C5DDF3"></td><td width="18px"><img border="0" src="images/kashop/infobox_bottomright.gif" width="18px" height="17px"></td></tr></table></td></tr>
           <!--custom box end-->
           <tr><td>$loginbox</td></tr>      
           <tr><td>$reviewsbox</td></tr>
           <tr><td>$maninfobox</td></tr>
         </table>
       </td>
       <td valign="top">
       <p class="smallText" style="color:#D6794E;"><b>$breadcrumbs</b></p>
         <p>$content</p>
         <p> </p>
       </td>
       <td valign="top" width="198px">
         <table border="0" width="198px" cellspacing="5" cellpadding="2">
           <tr><td>$cartbox</td></tr>
           <!--custom box begin-->      
           <tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C5DDF3"><tr><td width="18"><img border="0" src="images/kashop/infobox_topleft.gif" width="18" height="17"></td><td background="images/infobox_03.gif" class="infoBoxHeading" width="1428">
           <!--title begin-->
               Uitstekende service!
           <!--title end-->
           </td><td width="92" bgcolor="#C5DDF3"></td><td width="18" background="images/infobox_04.gif" style="background-repeat: norepeat">
               <img border="0" src="images/kashop/infobox_topright.gif" width="18" height="17"></td></tr></table>
           <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse"><tr><td bgcolor="#C5DDF3" width="7px"> </td>
           <td class="boxText" bgcolor="#FFFFFF" style="padding-bottom: 10px; padding-top: 10px; padding-left: 3px; padding-right: 3px;">
           <!--content begin-->
               <table>
               	<tr>
                       <td style="padding:5px;">
                       	<img border="0" src="images/kashop/tick.png">
                       </td>
                       <td class="boxText">
                       	Veilig en Betrouwbaar
                       </td>
                 	</tr>
                   <tr>
                       <td style="padding:5px;">
                       	<img border="0" src="images/kashop/tick.png">
                       </td>
                       <td class="boxText">
                       	Snelle levertijd binnen 1-2 werkdagen
                       </td>
                 	</tr>
                   <tr>
                       <td style="padding:5px;">
                       	<img border="0" src="images/kashop/tick.png">
                       </td>
                       <td class="boxText">
                       	Gratis verzending vanaf 100 Euro
                       </td>
                 	</tr>
                   <tr>
                       <td style="padding:5px;">
                       	<img border="0" src="images/kashop/tick.png">
                       </td>
                       <td class="boxText">
                       	E-mails snel binnen 24 uur beantwoord
                       </td>
                 	</tr>
                   <tr>
                       <td style="padding:5px;">
                       	<img border="0" src="images/kashop/tick.png">
                       </td>
                       <td class="boxText">
                       	Veel leuke promotie en kortingen
                       </td>
                 	</tr>
                   <tr>
                       <td style="padding:5px;">
                       	<a href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=428ba627ef3769bc@apps.messenger.live.com&mkt=en-sg&useTheme=true&themeName=pink&foreColor=444444&backColor=FFD5D5&linkColor=444444&borderColor=ED7B7B&buttonForeColor=AA3636&buttonBackColor=FAD6D6&buttonBorderColor=AA3636&buttonDisabledColor=FAD6D6&headerForeColor=444444&headerBackColor=F9A3A3&menuForeColor=E45A5A&menuBackColor=FFFFFF&chatForeColor=444444&chatBackColor=FEF6F6&chatDisabledColor=F6F6F6&chatErrorColor=760502&chatLabelColor=6E6C6C"><img src="http://messenger.services.live.com/users/428ba627ef3769bc@apps.messenger.live.com/presenceimage?mkt=en-sg" border="0" width="16" height="16" style="border-style: none;" /></a>
                       </td>
                       <td class="boxText">
                       	<a href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=428ba627ef3769bc@apps.messenger.live.com&mkt=en-sg&useTheme=true&themeName=pink&foreColor=444444&backColor=FFD5D5&linkColor=444444&borderColor=ED7B7B&buttonForeColor=AA3636&buttonBackColor=FAD6D6&buttonBorderColor=AA3636&buttonDisabledColor=FAD6D6&headerForeColor=444444&headerBackColor=F9A3A3&menuForeColor=E45A5A&menuBackColor=FFFFFF&chatForeColor=444444&chatBackColor=FEF6F6&chatDisabledColor=F6F6F6&chatErrorColor=760502&chatLabelColor=6E6C6C" target="_blank">Klik hier voor Live Help met "Persoon 1"</a>
                       </td>
                 	</tr>
                   <tr>
                       <td style="padding:5px;">
                       	<a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=789e88cf19fc58d3@apps.messenger.live.com&mkt=nl-NL&useTheme=true&themeName=pink&foreColor=444444&backColor=FFD5D5&linkColor=444444&borderColor=ED7B7B&buttonForeColor=AA3636&buttonBackColor=FAD6D6&buttonBorderColor=AA3636&buttonDisabledColor=FAD6D6&headerForeColor=444444&headerBackColor=F9A3A3&menuForeColor=E45A5A&menuBackColor=FFFFFF&chatForeColor=444444&chatBackColor=FEF6F6&chatDisabledColor=F6F6F6&chatErrorColor=760502&chatLabelColor=6E6C6C"><img style="border-style: none;" src="http://messenger.services.live.com/users/789e88cf19fc58d3@apps.messenger.live.com/presenceimage?mkt=nl-NL" width="16" height="16" />
                       </td>
                       <td class="boxText">
                       	<a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=789e88cf19fc58d3@apps.messenger.live.com&mkt=nl-NL&useTheme=true&themeName=pink&foreColor=444444&backColor=FFD5D5&linkColor=444444&borderColor=ED7B7B&buttonForeColor=AA3636&buttonBackColor=FAD6D6&buttonBorderColor=AA3636&buttonDisabledColor=FAD6D6&headerForeColor=444444&headerBackColor=F9A3A3&menuForeColor=E45A5A&menuBackColor=FFFFFF&chatForeColor=444444&chatBackColor=FEF6F6&chatDisabledColor=F6F6F6&chatErrorColor=760502&chatLabelColor=6E6C6C">Klik hier voor Live Help met "Persoon 2"</a>
                       </td>
                 	</tr>
           	</table>
           <!--content end-->
           </td><td bgcolor="#C5DDF3" width="7px"> </td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C5DDF3"><tr><td width="18px"><img border="0" src="images/kashop/infobox_bottomleft.gif" width="18px" height="17px"></td><td width="100%" bgcolor="#C5DDF3"></td><td width="18px"><img border="0" src="images/kashop/infobox_bottomright.gif" width="18px" height="17px"></td></tr></table></td></tr>
           <!--custom box end-->
           <tr><td>$specialbox</td></tr>
           <!--custom box begin-->      
           <tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C5DDF3"><tr><td width="18"><img border="0" src="images/kashop/infobox_topleft.gif" width="18" height="17"></td><td background="images/infobox_03.gif" class="infoBoxHeading" width="1428">
           <!--title begin-->
               Betaalmogelijkheden
           <!--title end-->
           </td><td width="92" bgcolor="#C5DDF3"></td><td width="18" background="images/infobox_04.gif" style="background-repeat: norepeat">
               <img border="0" src="images/kashop/infobox_topright.gif" width="18" height="17"></td></tr></table>
           <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse"><tr><td bgcolor="#C5DDF3" width="7px"> </td>
           <td class="boxText" bgcolor="#FFFFFF" style="padding-bottom: 10px; padding-top: 10px; padding-left: 3px; padding-right: 3px;">
           <!--content begin-->
               <div align="center"><img border="0" src="images/kashop/betalingsmogelijkheden.jpg"></div>
           <!--content end-->
           </td><td bgcolor="#C5DDF3" width="7px"> </td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C5DDF3"><tr><td width="18px"><img border="0" src="images/kashop/infobox_bottomleft.gif" width="18px" height="17px"></td><td width="100%" bgcolor="#C5DDF3"></td><td width="18px"><img border="0" src="images/kashop/infobox_bottomright.gif" width="18px" height="17px"></td></tr></table></td></tr>
           <!--custom box end-->
         </table>
       </td>
     </tr>
   </table>

   <table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
       <td class="footer">
           <a href="information.php?info_id=6">Puntensysteem</a> |
           <a href="information.php?info_id=10">Lens uitleg/informatie</a> |
           <a href="https://securepostplaza.tntpost.nl/tracktrace/" target="_blank">Track & Trace</a> |
           <a href="information.php?info_id=12">Algemene voorwaarden & Privacy</a>
       </td>
     </tr>
     <tr>
       <td class="copyright" align="center" class="smallText">
         Copyright © 2010 <a href="http://kashop.nl/oscommerce/catalog/index.php">kashop.nl</a> 
         <br>
         Alle Rechten Voorbehouden.
         <br>
         <br>
         <a href="http://www.facebook.com/pages/ka-Shop/288947218816" target="_blank"> 
         	<img border="0" src="images/kashop/facebook.jpg">
         </a>
         <a href="http://kashop.hyves.nl" target="_blank"> 
         	<img border="0" src="images/kashop/hyves.jpg">
         </a>
         <a href="http://twitter.com/kashopnl" target="_blank"> 
         	<img border="0" src="images/kashop/twitter.jpg">
         </a>
       </td>
     </tr>
   </table>
</div>
</body>
</html>

Share this post


Link to post
Share on other sites

STS 4.5.8 is showing the following errors, I don't have STS enabled.

 

Date / Time: 15-02-2010 16:15:49
Error Type: [E_NOTICE] Undefined index:  sts_debug
On line 64
File includes/classes/sts.php
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Date / Time: 15-02-2010 16:15:49
Error Type: [E_NOTICE] Undefined index:  sts_template
On line 69
File includes/classes/sts.php
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Date / Time: 15-02-2010 16:15:49
Error Type: [E_NOTICE] Undefined property: sts::$display_debug_output
On line 36
File includes/classes/sts.php

Share this post


Link to post
Share on other sites

STS 4.5.8 is showing the following errors, I don't have STS enabled.

 

Date / Time: 15-02-2010 16:15:49
Error Type: [E_NOTICE] Undefined index:  sts_debug
On line 64
File includes/classes/sts.php
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Date / Time: 15-02-2010 16:15:49
Error Type: [E_NOTICE] Undefined index:  sts_template
On line 69
File includes/classes/sts.php
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Date / Time: 15-02-2010 16:15:49
Error Type: [E_NOTICE] Undefined property: sts::$display_debug_output
On line 36
File includes/classes/sts.php

 

 

These are minor issues (if even that) that are being reported by KissER contribution. They do not effect in any way how your shop functions. With that said, I am not going to spend a lot of time chasing down these fragments of "dust" that may happen to be in older sections of the code base.

 

STSv4.6 is out and you should upgrade to that version for support.


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

This is my code hope you can help me why it isn't loading the javascript file? The jquery.js is in the root of the website (catalog folder)

 

Here u go

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html $htmlparams>
<head>
<!--$headcontent-->
 <link rel="stylesheet" type="text/css" href="stylesheet.css">
 <link href="favicon.ico" type="image/ico" rel="icon"/>
<script type="text/javascript" src="jquery.js"></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<div id="content">
   <table border="0" width="100%" cellspacing="0" cellpadding="0">
       <tr class="header">
           <td valign="middle">
               <a href="index.php">
               	<img style="margin-left:100px;margin-top:30px;" border="0" src="images/kashop/logo.png">
               </a>
           </td>
       </tr>
   </table>

   <table border="0" width="100%" cellspacing="0" cellpadding="1">
       <tr class="headerNavigation">
           <td class="headerNavigation">
               $dmbox
           </td>
           <td align="right" class="headerNavigation">
               $searchbox
           </td>
       </tr>
   </table>

   <table border="0" width="100%" cellspacing="5" cellpadding="0">
     <tr>
       <td valign="top" width="198px">
         <table border="0" width="198px" cellspacing="5" cellpadding="2">
           <!--custom box begin-->      
           <tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C5DDF3"><tr><td width="18"><img border="0" src="images/kashop/infobox_topleft.gif" width="18" height="17"></td><td background="images/infobox_03.gif" class="infoBoxHeading" width="1428">
           <!--title begin-->
               Informatie
           <!--title end-->
           </td><td width="92" bgcolor="#C5DDF3"></td><td width="18" background="images/infobox_04.gif" style="background-repeat: norepeat">
               <img border="0" src="images/kashop/infobox_topright.gif" width="18" height="17"></td></tr></table>
           <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse"><tr><td bgcolor="#C5DDF3" width="7px"> </td>
           <td class="boxText" bgcolor="#FFFFFF" style="padding-bottom: 10px; padding-top: 10px; padding-left: 3px; padding-right: 3px;">
           <!--content begin-->
               <table>
               	<tr>
                   	<td class="informatieGastenboek">
                       </td>
                       <td class="infoBoxContents">
                       	<a href="guestbook.php">Gastenboek</a>
                       </td>
                  </tr>
               </table>
               <table>
               	<tr>
                   	<td class="informatieBetalen">
                       </td>
                       <td class="infoBoxContents">
                       	<a href="information.php?info_id=9">Hoe kunt u betalen</a>
                       </td>
                  </tr>
               </table>
               <table>
               	<tr>
                   	<td class="informatieFlow">
                       </td>
                       <td class="infoBoxContents">
                       	<a href="information.php?info_id=11">Over ons</a>
                       </td>
                  </tr>
               </table>
               <table>
               	<tr>
                   	<td class="informatieContact">
                       </td>
                       <td class="infoBoxContents">
                       	<a href="contact_us.php">Contact</a>
                       </td>
                  </tr>
               </table>
           <!--content end-->
           </td><td bgcolor="#C5DDF3" width="7px"> </td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C5DDF3"><tr><td width="18px"><img border="0" src="images/kashop/infobox_bottomleft.gif" width="18px" height="17px"></td><td width="100%" bgcolor="#C5DDF3"></td><td width="18px"><img border="0" src="images/kashop/infobox_bottomright.gif" width="18px" height="17px"></td></tr></table></td></tr>
           <!--custom box end-->
           <tr><td>$loginbox</td></tr>      
           <tr><td>$reviewsbox</td></tr>
           <tr><td>$maninfobox</td></tr>
         </table>
       </td>
       <td valign="top">
       <p class="smallText" style="color:#D6794E;"><b>$breadcrumbs</b></p>
         <p>$content</p>
         <p> </p>
       </td>
       <td valign="top" width="198px">
         <table border="0" width="198px" cellspacing="5" cellpadding="2">
           <tr><td>$cartbox</td></tr>
           <!--custom box begin-->      
           <tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C5DDF3"><tr><td width="18"><img border="0" src="images/kashop/infobox_topleft.gif" width="18" height="17"></td><td background="images/infobox_03.gif" class="infoBoxHeading" width="1428">
           <!--title begin-->
               Uitstekende service!
           <!--title end-->
           </td><td width="92" bgcolor="#C5DDF3"></td><td width="18" background="images/infobox_04.gif" style="background-repeat: norepeat">
               <img border="0" src="images/kashop/infobox_topright.gif" width="18" height="17"></td></tr></table>
           <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse"><tr><td bgcolor="#C5DDF3" width="7px"> </td>
           <td class="boxText" bgcolor="#FFFFFF" style="padding-bottom: 10px; padding-top: 10px; padding-left: 3px; padding-right: 3px;">
           <!--content begin-->
               <table>
               	<tr>
                       <td style="padding:5px;">
                       	<img border="0" src="images/kashop/tick.png">
                       </td>
                       <td class="boxText">
                       	Veilig en Betrouwbaar
                       </td>
                 	</tr>
                   <tr>
                       <td style="padding:5px;">
                       	<img border="0" src="images/kashop/tick.png">
                       </td>
                       <td class="boxText">
                       	Snelle levertijd binnen 1-2 werkdagen
                       </td>
                 	</tr>
                   <tr>
                       <td style="padding:5px;">
                       	<img border="0" src="images/kashop/tick.png">
                       </td>
                       <td class="boxText">
                       	Gratis verzending vanaf 100 Euro
                       </td>
                 	</tr>
                   <tr>
                       <td style="padding:5px;">
                       	<img border="0" src="images/kashop/tick.png">
                       </td>
                       <td class="boxText">
                       	E-mails snel binnen 24 uur beantwoord
                       </td>
                 	</tr>
                   <tr>
                       <td style="padding:5px;">
                       	<img border="0" src="images/kashop/tick.png">
                       </td>
                       <td class="boxText">
                       	Veel leuke promotie en kortingen
                       </td>
                 	</tr>
                   <tr>
                       <td style="padding:5px;">
                       	<a href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=428ba627ef3769bc@apps.messenger.live.com&mkt=en-sg&useTheme=true&themeName=pink&foreColor=444444&backColor=FFD5D5&linkColor=444444&borderColor=ED7B7B&buttonForeColor=AA3636&buttonBackColor=FAD6D6&buttonBorderColor=AA3636&buttonDisabledColor=FAD6D6&headerForeColor=444444&headerBackColor=F9A3A3&menuForeColor=E45A5A&menuBackColor=FFFFFF&chatForeColor=444444&chatBackColor=FEF6F6&chatDisabledColor=F6F6F6&chatErrorColor=760502&chatLabelColor=6E6C6C"><img src="http://messenger.services.live.com/users/428ba627ef3769bc@apps.messenger.live.com/presenceimage?mkt=en-sg" border="0" width="16" height="16" style="border-style: none;" /></a>
                       </td>
                       <td class="boxText">
                       	<a href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=428ba627ef3769bc@apps.messenger.live.com&mkt=en-sg&useTheme=true&themeName=pink&foreColor=444444&backColor=FFD5D5&linkColor=444444&borderColor=ED7B7B&buttonForeColor=AA3636&buttonBackColor=FAD6D6&buttonBorderColor=AA3636&buttonDisabledColor=FAD6D6&headerForeColor=444444&headerBackColor=F9A3A3&menuForeColor=E45A5A&menuBackColor=FFFFFF&chatForeColor=444444&chatBackColor=FEF6F6&chatDisabledColor=F6F6F6&chatErrorColor=760502&chatLabelColor=6E6C6C" target="_blank">Klik hier voor Live Help met "Persoon 1"</a>
                       </td>
                 	</tr>
                   <tr>
                       <td style="padding:5px;">
                       	<a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=789e88cf19fc58d3@apps.messenger.live.com&mkt=nl-NL&useTheme=true&themeName=pink&foreColor=444444&backColor=FFD5D5&linkColor=444444&borderColor=ED7B7B&buttonForeColor=AA3636&buttonBackColor=FAD6D6&buttonBorderColor=AA3636&buttonDisabledColor=FAD6D6&headerForeColor=444444&headerBackColor=F9A3A3&menuForeColor=E45A5A&menuBackColor=FFFFFF&chatForeColor=444444&chatBackColor=FEF6F6&chatDisabledColor=F6F6F6&chatErrorColor=760502&chatLabelColor=6E6C6C"><img style="border-style: none;" src="http://messenger.services.live.com/users/789e88cf19fc58d3@apps.messenger.live.com/presenceimage?mkt=nl-NL" width="16" height="16" />
                       </td>
                       <td class="boxText">
                       	<a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=789e88cf19fc58d3@apps.messenger.live.com&mkt=nl-NL&useTheme=true&themeName=pink&foreColor=444444&backColor=FFD5D5&linkColor=444444&borderColor=ED7B7B&buttonForeColor=AA3636&buttonBackColor=FAD6D6&buttonBorderColor=AA3636&buttonDisabledColor=FAD6D6&headerForeColor=444444&headerBackColor=F9A3A3&menuForeColor=E45A5A&menuBackColor=FFFFFF&chatForeColor=444444&chatBackColor=FEF6F6&chatDisabledColor=F6F6F6&chatErrorColor=760502&chatLabelColor=6E6C6C">Klik hier voor Live Help met "Persoon 2"</a>
                       </td>
                 	</tr>
           	</table>
           <!--content end-->
           </td><td bgcolor="#C5DDF3" width="7px"> </td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C5DDF3"><tr><td width="18px"><img border="0" src="images/kashop/infobox_bottomleft.gif" width="18px" height="17px"></td><td width="100%" bgcolor="#C5DDF3"></td><td width="18px"><img border="0" src="images/kashop/infobox_bottomright.gif" width="18px" height="17px"></td></tr></table></td></tr>
           <!--custom box end-->
           <tr><td>$specialbox</td></tr>
           <!--custom box begin-->      
           <tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C5DDF3"><tr><td width="18"><img border="0" src="images/kashop/infobox_topleft.gif" width="18" height="17"></td><td background="images/infobox_03.gif" class="infoBoxHeading" width="1428">
           <!--title begin-->
               Betaalmogelijkheden
           <!--title end-->
           </td><td width="92" bgcolor="#C5DDF3"></td><td width="18" background="images/infobox_04.gif" style="background-repeat: norepeat">
               <img border="0" src="images/kashop/infobox_topright.gif" width="18" height="17"></td></tr></table>
           <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse"><tr><td bgcolor="#C5DDF3" width="7px"> </td>
           <td class="boxText" bgcolor="#FFFFFF" style="padding-bottom: 10px; padding-top: 10px; padding-left: 3px; padding-right: 3px;">
           <!--content begin-->
               <div align="center"><img border="0" src="images/kashop/betalingsmogelijkheden.jpg"></div>
           <!--content end-->
           </td><td bgcolor="#C5DDF3" width="7px"> </td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C5DDF3"><tr><td width="18px"><img border="0" src="images/kashop/infobox_bottomleft.gif" width="18px" height="17px"></td><td width="100%" bgcolor="#C5DDF3"></td><td width="18px"><img border="0" src="images/kashop/infobox_bottomright.gif" width="18px" height="17px"></td></tr></table></td></tr>
           <!--custom box end-->
         </table>
       </td>
     </tr>
   </table>

   <table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
       <td class="footer">
           <a href="information.php?info_id=6">Puntensysteem</a> |
           <a href="information.php?info_id=10">Lens uitleg/informatie</a> |
           <a href="https://securepostplaza.tntpost.nl/tracktrace/" target="_blank">Track & Trace</a> |
           <a href="information.php?info_id=12">Algemene voorwaarden & Privacy</a>
       </td>
     </tr>
     <tr>
       <td class="copyright" align="center" class="smallText">
         Copyright © 2010 <a href="http://kashop.nl/oscommerce/catalog/index.php">kashop.nl</a> 
         <br>
         Alle Rechten Voorbehouden.
         <br>
         <br>
         <a href="http://www.facebook.com/pages/ka-Shop/288947218816" target="_blank"> 
         	<img border="0" src="images/kashop/facebook.jpg">
         </a>
         <a href="http://kashop.hyves.nl" target="_blank"> 
         	<img border="0" src="images/kashop/hyves.jpg">
         </a>
         <a href="http://twitter.com/kashopnl" target="_blank"> 
         	<img border="0" src="images/kashop/twitter.jpg">
         </a>
       </td>
     </tr>
   </table>
</div>
</body>
</html>

Share this post


Link to post
Share on other sites

These are minor issues (if even that) that are being reported by KissER contribution. They do not effect in any way how your shop functions. With that said, I am not going to spend a lot of time chasing down these fragments of "dust" that may happen to be in older sections of the code base.

 

STSv4.6 is out and you should upgrade to that version for support.

 

Regardless of the severity of the error they are there and I would like to get rid of them.

 

I just updraded to 4.6 as per the instructions included and now I have the following error when trying to access Admin->Modules->STS

 

Parse error: syntax error, unexpected T_DEFAULT in /home/trplscom/public_html/tougetuning/testsite/admin/modules.php  on line 253

 

I uploaded the entire STS Folder and Made the changes in admin/modules.php

Edited by Stealth1

Share this post


Link to post
Share on other sites

As i can see now its loading the jquery.js file in the header. But Dont see it in my Browser Source.

 

If i open now a lightbox it isnt opening good.

 

JQuery ultimate produkt (jquery.prettyphoto is loaded in the product_info_template and is loading)

 

Jquery must be loading as very first. Some other site say it's loading but why isn't it working then?

 

JQuery MUST be the first javascript that is running!

Share this post


Link to post
Share on other sites

Regardless of the severity of the error they are there and I would like to get rid of them.

 

I just updraded to 4.6 as per the instructions included and now I have the following error when trying to access Admin->Modules->STS

 

Parse error: syntax error, unexpected T_DEFAULT in /home/trplscom/public_html/tougetuning/testsite/admin/modules.php  on line 253

 

I uploaded the entire STS Folder and Made the changes in admin/modules.php

 

 

You made a mistake in your installation. I just ran an install using the 4.6 package on a stock osC RC2a shop with no errors. It appears you made a mistake updating the code in your admin/modules.php or you forgot to diable the STS Default Module before you made the upgrade.


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

From where are the 2 images: infobox_03.gif and infobox_04.gif?

 

Can i delete them? With wath addon they were installed (STS?)

 

I wouldn't know. If you didn't add them in then they must have come with the template that you are using.


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

You made a mistake in your installation. I just ran an install using the 4.6 package on a stock osC RC2a shop with no errors. It appears you made a mistake updating the code in your admin/modules.php or you forgot to diable the STS Default Module before you made the upgrade.

 

STS Module was disabled before the update, I uploaded the STS folder to the correct directories overwriting the previous 4.5.8 files.

 

I then did the following as per your instructions:

 

Find:

switch ($set) {

 

Add After

// START STS 4.1
case 'sts':
$module_type = 'sts';
$module_directory = DIR_FS_CATALOG_MODULES . 'sts/';
$module_key = 'MODULE_STS_INSTALLED';
define('HEADING_TITLE', HEADING_TITLE_MODULES_STS); 
break;
// END STS 4.1

 

Find:

          eval('$keys .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');");
       } else {

 

Replace With:

eval('$keys .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');");
	// STS V4.6 drop start
       } else {
		if($key == 'MODULE_STS_TEMPLATE_FOLDER'){
			$dir_name = array();
			if ($handle = opendir('../'.MODULE_STS_TEMPLATES_FOLDER.'/')) {
			   while (false !== ($file = readdir($handle))) {
					$pos = strpos($file, ".");
					if($pos === false){
						$dir_name[] = array("id" => $file, "text" => $file);
						$i++;
					}
				}
				closedir($handle);
			}
			$keys .= tep_draw_pull_down_menu('configuration[MODULE_STS_TEMPLATE_FOLDER]', $dir_name, $value['value']);
		}else{
			$keys .= tep_draw_input_field('configuration[' . $key . ']', $value['value']);
		}
       }
	// STS V4.6 drop end

 

Everything was fine before I did this upgrade so something in the code has screwed it up... Running the installation on a stock OSC is not proving anything, install 4.5.8 and then do the upgrade as per your instructions and let me know then.

Edited by Stealth1

Share this post


Link to post
Share on other sites

You made a mistake in your installation. I just ran an install using the 4.6 package on a stock osC RC2a shop with no errors. It appears you made a mistake updating the code in your admin/modules.php or you forgot to diable the STS Default Module before you made the upgrade.

 

Oh I and I just re-uploaded the 4.5.8 STS folder and removed the code added to admin/modules.php for 4.6 and my site is back working...

Share this post


Link to post
Share on other sites

I wouldn't know. If you didn't add them in then they must have come with the template that you are using.

 

Bill do you know about the javascript error?

Share this post


Link to post
Share on other sites
Everything was fine before I did this upgrade so something in the code has screwed it up... Running the installation on a stock OSC is not proving anything, install 4.5.8 and then do the upgrade as per your instructions and let me know then.

 

Running the installation on a stock osC does prove something...that the code works on a stock osC shop. Your shop may not be a stock osC shop as you have tinkering with error correction and all. You may have deleted something that was needed.

 

thumbsup.gif TIP: Use a file comparison tool such as BeYond Compare or WinMerge to compare the download package with your site files and then let me know.

Edited by bkellum

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

Oh I and I just re-uploaded the 4.5.8 STS folder and removed the code added to admin/modules.php for 4.6 and my site is back working...

 

Well, why wouldn't it if it was working with v4.5.8 before?? blink.gif

 

That still doesn't show what went wrong during your recent upgrade installation.


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

Regardless of the severity of the error they are there and I would like to get rid of them.

 

I just updraded to 4.6 as per the instructions included and now I have the following error when trying to access Admin->Modules->STS

 

Parse error: syntax error, unexpected T_DEFAULT in /home/trplscom/public_html/tougetuning/testsite/admin/modules.php  on line 253

 

I uploaded the entire STS Folder and Made the changes in admin/modules.php

 

 

Make sure you did not add an extra } at the end of that code segment. It should look like the following:

 

     	eval('$keys .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');");
 // STS V4.6 drop start
   	} else {
  if($key == 'MODULE_STS_TEMPLATE_FOLDER'){
   $dir_name = array();
   if ($handle = opendir('../'.MODULE_STS_TEMPLATES_FOLDER.'/')) {
  	while (false !== ($file = readdir($handle))) {
     $pos = strpos($file, ".");
     if($pos === false){
      $dir_name[] = array("id" => $file, "text" => $file);
      $i++;
     }
    }
    closedir($handle);
   }
   $keys .= tep_draw_pull_down_menu('configuration[MODULE_STS_TEMPLATE_FOLDER]', $dir_name, $value['value']);
  }else{
   $keys .= tep_draw_input_field('configuration[' . $key . ']', $value['value']);
  }
   	}
 // STS V4.6 drop end
   	$keys .= '<br><br>';
 	}
 	$keys = substr($keys, 0, strrpos($keys, '<br><br>'));



Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×