Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Template Issue


labmais

Recommended Posts

Hey everybody,

 

I'm getting several errors on my website...

 

I restored a backup of my site and now it looks like this: http://estereomicroscopio.com.br/

 

None of the images are working.

I think it's some kind of problem with my template.

As I read from line 35 of sts.php, the problem is about the template, but I can't know what.

I tried to change several "true" values into "false", but without success.

 

ERRORS:

Notice: Undefined index: sts_debug in /home/estereom/public_html/includes/classes/sts.php on line 64

 

Notice: Undefined index: sts_template in /home/estereom/public_html/includes/classes/sts.php on line 69

 

Notice: Undefined property: sts::$display_debug_output in /home/estereom/public_html/includes/classes/sts.php on line36

FOOTER ERROR:Warning: file_put_contents(/home/estereom/public_html/catalogo/includes/modules/ultimate_seo_urls5/cache/4_usucache.cache) [function.file-put-contents]: failed to open stream: Permission denied in/home/estereom/public_html/catalogo/includes/modules/ultimate_seo_urls5/classes/Usu_Cache_FileSystem.phpon line 35

Sure of your help,

 

Thank you guys.

sts.php

35-  // Use template output if enabled or in debug mode (=only for admin)
36-    if ((MODULE_STS_DEFAULT_STATUS == 'true') || ($this->display_debug_output == true))
37-      $this->display_template_output = true;
38-      else { 
39-        $this->display_template_output = false;
40-        return;
41-      }

63-    // Allow Debugging control from the URL
64-    if ($_GET['sts_debug'] == MODULE_STS_DEBUG_CODE) {
65-      $this->display_debug_output = true;
66-    }
67-    
68-    // Defines constants needed when working with templates
69-    if ($_GET['sts_template']) {
70      $this->template_folder = $_GET['sts_template'];
71-    } else {
72-      $this->template_folder = MODULE_STS_TEMPLATE_FOLDER;
73-    }
74-    
75-  }  
76-
77-  function find_template (){[color=#1C2837]
Edited by labmais

E-commerce?

No external links please.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...