Jump to content
Sign in to follow this  
labmais

Template Issue

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.

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
Sign in to follow this  

×