Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 06-10-2010 05:44:42

5blades
Member
Registered: 02-19-2010
Posts: 18

Sitemap.xml problems

I got the xmod and it ran fine the first day.  cron ran & produced my file and I thought I was good.

I go back and check yesterday and I noticed the file has not changed since the first day it ran and that was on 05/10/2010

I look at the cron settings page and it shows it ran yesterday.  I went through the database in cron sessions and deleted the value in the core.cron_daily_last attribute hoping it would force to run the task again.  well under the cron settings page, it showed it ran at 6:38 this morning and I went back to look at the database setting and no value is given.

I dont know what happened at any point.  I have not done any mods, I have added more products and the only thing different I have done with CCP is add google checkout as an option.

cron shows its running, but it is not

I dont know what happened and I dont touch the programing as I dont know what I am doing in that aspect

as a side question, this file was supposed to be submitted automatically to the 4 engines specified in the settings page, how does this do that daily?  just curious how this works

is it a permissions issue?  I have not changed the permissions on any file nor have I ran the installer again since it was purchased or updated the software

Offline

 

#2 06-10-2010 12:15:03

susan2go
Member
Registered: 04-19-2010
Posts: 81

Re: Sitemap.xml problems

I use cron for quite a few things.  When I change crontab.txt I have to log on to my server using SSH and type the command "crontab crontab.txt" without the quotes and that restarts the cron.

Last edited by susan2go (06-11-2010 17:51:18)

Offline

 

#3 06-10-2010 12:49:37

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Sitemap.xml problems

It never hurts to check the permission for the file.

John

Offline

 

#4 06-10-2010 13:44:02

5blades
Member
Registered: 02-19-2010
Posts: 18

Re: Sitemap.xml problems

what should the permissions be

Offline

 

#5 06-10-2010 13:49:21

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Sitemap.xml problems

It depends on the system or what your service provider allows but 777 or 755 generally.

John

Offline

 

#6 06-11-2010 04:47:18

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Sitemap.xml problems

susan2go wrote:

I use cron for quite a few things.  When I change crontab.txt I have to log on to my server using SSH and type the command "cron crontab.txt" without the quotes and that restarts the cron.

He's talking about CCP cron jobs not system cron jobs. CCP does its own "cron" processing and it isn't related to system cron jobs.

Offline

 

#7 06-11-2010 15:45:53

5blades
Member
Registered: 02-19-2010
Posts: 18

Re: Sitemap.xml problems

still is not working.  I changed permissions and nothing.

the cron sessions still has no value under daily tasks, yet the cron settings show its running

this has worked only once

any help at all? any ideas

I would assume this mod is supposed to keep working and not just a 1 time deal.

Offline

 

#8 06-11-2010 16:36:10

susan2go
Member
Registered: 04-19-2010
Posts: 81

Re: Sitemap.xml problems

Dave wrote:

He's talking about CCP cron jobs not system cron jobs. CCP does its own "cron" processing and it isn't related to system cron jobs.

Well, how does that work without crontab.txt?  At least I know my cron jobs are running because I get email, including any errors.

Offline

 

#9 06-11-2010 16:41:12

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Sitemap.xml problems

The cron jobs within ccp are ran when the site is accessed, given that the time it was last ran allows it. When the site is accessed the task_daily and or task_weekly in the ecom directory are ran, when the admin is accessed the task in the core directory are ran given the last time they were ran allow it.

John

Offline

 

#10 06-11-2010 17:21:48

susan2go
Member
Registered: 04-19-2010
Posts: 81

Re: Sitemap.xml problems

dh783 wrote:

The cron jobs within ccp are ran when the site is accessed, given that the time it was last ran allows it. When the site is accessed the task_daily and or task_weekly in the ecom directory are ran, when the admin is accessed the task in the core directory are ran given the last time they were ran allow it.

Oh, I see.  When you access the site, CCP checks to see if is time to run the cron job (load the file).  The OP could run it as a real cron job using crontab.txt.  I found the file in private-directory\core\CORE\tasks_daily\0900_xmodsitemap.php

Offline

 

#11 06-15-2010 15:03:13

5blades
Member
Registered: 02-19-2010
Posts: 18

Re: Sitemap.xml problems

after further playing around I really messed up.  I simply did a frest re install hoping this would fix my problem.  well I created a new one
the problem is with my database, it only reads the demo store.  during install, I gave my mysql database name as I had used and it loaded fine during the install

well, the cart does not read anything, in fact, I look into via phpadmin that my database is still intact and it shows to types of products, ccp0_prod and ecom_prod, it seems to be reading only the ecom_ info and I have no idea how this happened or how to fix it. 

I check in my private dir and check the config file and it shows my dbase name and everything

why is it only reading that info.  I have my skins that i loaded up and nothing is found.  all my stats are now missing.  it was like I never had a storefront

now I am down with no site

any help

Offline

 

#12 06-15-2010 16:43:44

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Sitemap.xml problems

The ccp0 tables would be for version 6 and ecom tables for version 7 which version is your site?

John

Offline

 

#13 06-16-2010 04:50:25

5blades
Member
Registered: 02-19-2010
Posts: 18

Re: Sitemap.xml problems

had 6 then upgraded to 7

Offline

 

#14 06-16-2010 05:26:13

5blades
Member
Registered: 02-19-2010
Posts: 18

Re: Sitemap.xml problems

I was able to fix this problem.

I am sssuming no one is able to address my issue about the sitemap.

it runs once and never again.

this seems to be a waste of money

Offline

 

#15 06-17-2010 20:21:50

5blades
Member
Registered: 02-19-2010
Posts: 18

Re: Sitemap.xml problems

well since nobody is able or is willing to offer any kind of help on this, how does one get a hold of the person who actually developed the software to ask for help or to ask for a refund.

I am not getting what I paid for and I have been patient

Offline

 

#16 06-25-2010 11:24:29

5blades
Member
Registered: 02-19-2010
Posts: 18

Re: Sitemap.xml problems

I have tried to contact support at krypt but no response either

I will get a hold of my cc company and refuse payment since no support and this item is not working

very disappointed

Offline

 

#17 06-25-2010 17:48:06

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Sitemap.xml problems

5blades wrote:

it runs once and never again.

In post 7 you said that " ... the cron sessions still has no value under daily tasks .. ". What exactly did you mean with that statement and where are you looking?

SiteMap is a core extension and, as susan2go mentioned in post 10, is called/run by 0900_xmodsitemap.php which is found in the {private}/core/CORE/tasks_daily directory. The ID core.cron_daily_last in the core_settings table in the database holds the date and time (in Epoch format) that the core daily tasks were last run.

I'd make sure that the file mentioned above exists in the subject directory and that the ID in the core_settings table has a current date/time.

Offline

 

#18 06-29-2010 07:01:19

5blades
Member
Registered: 02-19-2010
Posts: 18

Re: Sitemap.xml problems

the file exists

I also have no value in the table specified.  core_settings table - core.cron_daily_last

I deleted this value as per this thread to try and force an update https://forum.kryptronic.com/viewtopic.php?id=25734 - post 8 specifically - it did have an epoch value when I deleted it the second time.

I did this the first day I bought it and it did run and never again

I also have no value in the weekly one as well.  the cms.cron daily and weekly have values

I see under cron settings that its always updating as well

just played around with entering my own epoch time stamps.  I entered a time that was 3 minutes ahead of my server in the core.cron-daily value and I went back into the cron setting page.  I noticed that it took the time and was exactly ahead the 3 minutes I put in.  I refresh the page and it wont update until the time I entered was to old and it would now refresh.  what I dont get is how when no value is in, it still shows that it has

what I also dont get is why the daily and weekly cron settings are refreshing every second as a last run.  it just keeps refreshing a new time

Last edited by 5blades (06-29-2010 07:33:08)

Offline

 

#19 07-06-2010 09:59:52

5blades
Member
Registered: 02-19-2010
Posts: 18

Re: Sitemap.xml problems

bump

Offline

 

Board footer