Forums / General Questions / site went down Help...

site went down Help...

Locked

Started by lieven23 on 5 Aug 2009, 10:26 PM · Views: 1,363

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
5 Aug 2009, 10:26 PM
#1
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

site went down Help...

Hy everyone
Some time ago I put an addon to my store(ZenTagCloud)

http://www.zen-cart.com/forum/showthread.php?t=68671

I've uploaded the includes folder, as fare no problems . But ten I
"Copy the code from 'ztc_pagecode.php' to one of the Defined Pages using: Tools -> Defined Pages Editor -> page_4.php"

Since then , my site went ofline

Maybe I also overrided the tpl_index_default.php page

How can I restore these?

my admin login also tells me:

Warning: error_log(/home/a8033afr/public_html/cache/page_parse_time.log) [function.error-log]: failed to open stream: No such file or directory in /home/a8033afr/public_html/admin/includes/classes/logger.php on line 60
Parse Time: 0.718s
What does this mean?

thx in advance
my site: https://www.afro-masks.com

6 Aug 2009, 9:49 AM
#2
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: site went down Help...

I've run Debug Error Logging Utility and it tells my this:

[27-jan-2009 08:47:49] PHP Parse error: syntax error, unexpected T_STRING in /home/a8033afr/public_html/includes/languages/french/meta_tags.php on line 15

6 Aug 2009, 10:05 AM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: site went down Help...

It means that you have a syntax error in your French meta tags file. Most commonly these are missing apostrophes or apostrophes in text not preceded by the escape character "".

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

6 Aug 2009, 10:14 AM
#4
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: site went down Help...

I probaply solved that problem removing a white space. Still my site is down.

Maybe I overrided the tpl_index_default.php page

Can I restore these? and how?

my admin login also tells me:

Warning: error_log(/home/a8033afr/public_html/cache/page_parse_time.log) [function.error-log]: failed to open stream: No such file or directory in /home/a8033afr/public_html/admin/includes/classes/logger.php on line 60
Parse Time: 0.718s
What does this mean?

6 Aug 2009, 10:22 AM
#5
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: site went down Help...

line 60 : error_log(strftime(STORE_PARSE_DATE_TIME_FORMAT) . ' [' . $type . '] ' . $message . "\n", 3, STORE_PAGE_PARSE_TIME_LOG);
}
}

6 Aug 2009, 11:20 AM
#6
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: site went down Help...

now
Warning: error_log(/home/a8033afr/public_html/cache/page_parse_time.log) [function.error-log]: failed to open stream: Permission denied in /home/a8033afr/public_html/admin/includes/classes/logger.php on line 60
Parse Time: 0.061s

I changed the rights to write (777)

6 Aug 2009, 11:27 AM
#7
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: site went down Help...

Did you change the rights on the file, or the folder? Does your hosts security setup allow 777 (some max out at 755 and object to 777)?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

6 Aug 2009, 11:33 AM
#8
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: site went down Help...

I've put the file and the folder classes to (755)

when i turn logging off in configuration I get no more errors in my admin ,but my site is still down.

6 Aug 2009, 1:04 PM
#9
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: site went down Help...

When I read the error logs on my hosting I see this

[Thu Aug 06 11:26:46 2009] [error] [client 81.83.106.199] PHP Parse error: syntax error, unexpected T_CLASS in /home/a8033afr/public_html/includes/classes/zentagcloud.php on line 10

line 10 zentagcloud.php:

<?php /* @ZenWordCloud Author: - Nathan Keilar (<https://www.madteckhead.com>) Version 0.1; The is the project page for the ZenTagCloud. Its in development right now, its open source and I'd love input / contributions. line 10............ here....................? Note: the current version is not recommended for live online stores (where you have something to loose), however by all means try it out on you test site, have a look at the code and give me feedback. There's nothing on line 10:(
8 Aug 2009, 2:50 AM
#10
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: site went down Help...

this is what I see in my error logs of my hosting company:

Thu Aug 06 16:36:24 2009 0 81.83.106.199 4000 /home/a8033afr/public_html/includes/templates/apple_zen/templates/tpl_index_default.php a _ i r a8033afr ftp 1 * c
Thu Aug 06 18:01:47 2009 0 81.83.106.199 50 /home/a8033afr/public_html/includes/local/configure.php a _ i r a8033afr ftp 1 * c
Fri Aug 07 11:40:47 2009 0 81.83.106.199 2773 /home/a8033afr/public_html/includes/templates/apple_zen/templates/tpl_index_default.php a _ i r a8033afr ftp 1 * c
Fri Aug 07 11:41:14 2009 0 81.83.106.199 2773 /home/a8033afr/public_html/includes/templates/apple_zen/templates/tpl_index_default.php a _ i r a8033afr ftp 1 * c

8 Aug 2009, 8:35 PM
#11
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: site went down Help...

Solved the problem by removing the add on.