Forums / Basic Configuration / What's the correct setting for these 2 lines?

What's the correct setting for these 2 lines?

Views: 758

Results 1 to 6 of 6
29 Oct 2011, 4:35 PM
#1
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

What's the correct setting for these 2 lines?

I'm using v1.3.9, just moved sites to a new host a few days ago.
While trying to fix a google-indexing fiasco I clicked on a few of the settings to see if any big errors jumped out and when I got to Admin > Logging I saw that the parse log was at:
/home1/XXXXX/public_html/zen/cache/page_parse_time.log

and XXXXX is the base name of my previous hosting account, as well as the base name of my old sql database.

and the zen subdirectory is from way way back when I had ZC installed in a subdirectory - I moved it months ago before moving to the new site. So obviously this setting is incorrect. I looked at my new host's setup. My id and my sql base name are now YYYYY. ZC is in the main directory, so that's where the cache folder is. But there is no page_parse_time.log in there.

1st Question then, for those still reading, is what do I put for the location of the parse log?

2nd Question is: I used developers tools to see if XXXXX appeared anywhere else and it was also in the settings.inc.php of the phpsitemap folder:
Line #9 : $SETTINGS['page_root'] = '/home1/XXXXX/public_html/';

So what should that be changed to?
The real crazy thing is that despite these two problems, and Google's crazy indexing of pages that don't exist, my site still seems to work. I'm receiving orders, and the paypal and usps shipping modules both work.

29 Oct 2011, 4:44 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: What's the correct setting for these 2 lines?

You can change both server paths in your admin >>> configuration menu.

Configuration >>> Logging

Configuration >>> Sessions

20 years a Zencart User

29 Oct 2011, 4:52 PM
#3
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Re: What's the correct setting for these 2 lines?

Yes I can. Thank You. But the question was what, not where. :smile:

I can't find the parse-log on the new setup, so I don't know what to type in that location.

And I don't know what to put for the "root folder". Specifically - I don't know if it should be /home1/YYYYY/public_html or /home/YYYYY/public_html/ or ???? I'm on hostgator and when ftp into my site it just tells me that I am at root / and public html is one folder below me.

29 Oct 2011, 5:34 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: What's the correct setting for these 2 lines?

Look in one of your configure.php files... The server paths will be described there

20 years a Zencart User

29 Oct 2011, 5:46 PM
#6
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Re: What's the correct setting for these 2 lines?

OK. I ran fix cache key five days ago. So apparently it didn't fix the cache, or it is designed to fix something else in the cache but not the problem I had. I did get the nice comforting message at the end that made me think everything was good. Guess that's what I get for trusting a computer program.
:D
I've already googled and found a hostgator help file that lists the correct paths to each folder, and went in and corrected them all, so the issue, if it existed, is solved. There is still no parse log, not that I have any clue what a parse log is, but the file is now pointing to the same folder it was pointing to on the old host, so I guess it will automatically be created if it is needed.

Sessions was never a part of the original question, I did check and those settings are correct.

Even though the settings were wrong on the phpsitemap, it still worked on my site. Now that I've changed it to the correct paths, I'll have to wait and see if anything changes.

So all is good again except for the crazy google indexing thing, and I'm too tired to fight them on that one.