Jump to content

labmais

Members
  • Content count

    80
  • Joined

  • Last visited

Posts posted by labmais


  1. Jack, I'm getting this SQL error.

     

    1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20, 20' at line 1

    select *, TIME_TO_SEC( UNIX_TIMESTAMP( now( ) ) - UNIX_TIMESTAMP( last_date ) ) as time, DATE_FORMAT(last_date, '%a, %D %T') as date_time from view_counter where ip_active=1 and language_id = 1 and (isadmin = '' or (isadmin = '/catalogo/admin/' and INET_NTOA(ip_number) NOT in (''))) order by file_name asc limit -20, 20

    [TEP STOP]

    post-292081-0-65039500-1402514303_thumb.png


  2. Hello friends,

     

    This is my website: www.estereomicroscopio.com.br.

    It was working fine till today.

    Now for some ocult reason, instead of my store, it shows only this error message:

     

    [b]Fatal error[/b]: Call to undefined method stdClass::merge() in[b]/home/estereom/public_html/catalogo/includes/modules/ultimate_seo_urls5/modules/Usu_PopUpImage.php[/b] on line [b]37[/b]

     

    I don't know what happened. As far as I know nothing was changed.

     

     

    What can I do?

     

     

    Thanks for your time


  3. 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]
×