labmais Posted May 31, 2011 Share Posted May 31, 2011 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 line 36 sts.php Sure of your help, Thank you guys. 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 (){ E-commerce? No external links please. Link to comment Share on other sites More sharing options...
germ Posted May 31, 2011 Share Posted May 31, 2011 STS problems should be posted in the appropriate STS support thread (somewhere here) To be brutally honest - support for STS when not posted in the support thread is (for all intents and purposes) nil... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
germ Posted May 31, 2011 Share Posted May 31, 2011 The images don't show (and the links don't work) because the config file has everything looking in the /catalogo folder, but you moved the shop to the root.... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
labmais Posted May 31, 2011 Author Share Posted May 31, 2011 Jim, Thank you. I fixed that "catalogo" issue, now it's "working". I say "working", because the template is working, but the same errors still there. Also there is an error at the 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.php on line 35 I'm sorry if I'm doing this in the wrong section. I don't know about programming and it looks like configuration issue for me. PS: Since I opened this thread here, should I go on till the end or open a new thread in the right section? PS2: How did you knew my configuration file info? How did you knew that everything is point to "/catalogo/"? I didn't posted nothing related to this. If it can be accessed/read by anyone, I feel unprotected... Thanks again. E-commerce? No external links please. Link to comment Share on other sites More sharing options...
germ Posted May 31, 2011 Share Posted May 31, 2011 Also there is an error at the 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.php on line 35 Find the upport thread for that contribution and post in it. PS2: How did you knew my configuration file info? How did you knew that everything is point to "/catalogo/"? I didn't posted nothing related to this. If it can be accessed/read by anyone, I feel unprotected... Thanks again. I didn't have to read the config file, I could tell by the links on the page - they're generated from the data in the config file. And you've got some kind of hack going on in the /catalogo/images folder. When I access it with by browser my anti-virus says it blocks a "java-script redirector trojan horse", and it's never been wrong yet... :o If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
labmais Posted June 2, 2011 Author Share Posted June 2, 2011 I did a scan with Kaspersky 11 and deleted the virus. The errors with STS.PHP still. I have opened a new thread at: http://forums.oscomm...template-issue/ but didn't go any answer. I'm back here. Please, someone help me on it. 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 (){ thanks E-commerce? No external links please. Link to comment Share on other sites More sharing options...
germ Posted June 3, 2011 Share Posted June 3, 2011 Deleting the virus is fine and dandy, but unless you tighten up security (plugging the hole by which it was implanted there in the first place) it or something else (possibly worse) will come along. Maybe you should read up at the link below: How to Secure Your Site And part of the reason you haven't got any help might be because you didn't do what I said you should do. I said: "STS problems should be posted in the appropriate STS support thread". You started a new thread, you didn't find the support thread for the STS version you have and post in it. :huh: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
germ Posted June 3, 2011 Share Posted June 3, 2011 And whatever it was you got rid of from the images folder wasn't the only "crawling nasty" to be found.... :o If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.