magentos-pl / opencaching-pl

Automatically exported from code.google.com/p/opencaching-pl
0 stars 0 forks source link

Auto archive not working properly #183

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I know when a cache become status "Temporarily unavailable" the code checks how 
long it is in this state. After 4 and 5 months the owner should get a email. 
After 6 months the owner get the last email and the cache will be automatic 
archived.

Cache http://www.opencaching.nl/viewcache.php?cacheid=6774&lang=en was made in 
last June "Temporarily unavailable" and i did not get any email (after 4 and 5 
months).

In table "cache_arch" there should be written in what state the last action 
was. When looking in oc.nl database there is no cache_id (6774) with step 1 or 
2.

Only the last step, archiving, sending email and write to table "cache_arch" is 
working. The last one was on 12 December 2014 
http://www.opencaching.nl/viewcache.php?cacheid=5175&lang=en .

Is this the same on oc.pl?

Original issue reported on code.google.com by henricus...@gmail.com on 3 Jan 2015 at 9:31

Attachments:

GoogleCodeExporter commented 9 years ago
Today I received email info that my cache OP37B8 will be archived from 
ocpl, so seems on ocpl it works.
Please make sure your auto archive script is running by cron daily.
If yes, please find your php error log, and scan for possible errors 
coming from auto archive script, or send error log to me.

BTW in message server url is missing.

Witaj

Twoja skrzynka: OP37B8 - Zapomniana nekropolia w Pilicy
viewcache.php?cacheid=14268)
jest w stanie "tymczasowo niedostępna" od 5 miesięcy.
Jeśli nie zamierzasz jej reaktywować, prosimy o jej archiwizację.

Za miesiąc skrzynka zostanie zarchiwizowana automatycznie.

Original comment by wloczynutka on 3 Jan 2015 at 12:59

GoogleCodeExporter commented 9 years ago
In crontab we have the correct line.
30   4  *   *   *   wget -O - -q 
http://www.opencaching.nl/util.sec/auto_arch.php and in a cron logfile shows 
that every day at 04:30 this is executed.

So this part is okay.
I investigate further :-) 

Original comment by henricus...@gmail.com on 3 Jan 2015 at 8:05

GoogleCodeExporter commented 9 years ago
I did make some changes on the cachepage last month. After reading i notice 
that autoarchive is counting from date when cache is lost modified.
After i changed the date in database i get a email.

Now need to solve the missing server and "octeamEmailsSignature" in the mail(s) 

Original comment by henricus...@gmail.com on 17 Jan 2015 at 8:28

GoogleCodeExporter commented 9 years ago
In commit 6307 are made some changes. These changes are "server" and this 
"octeamEmailsSignature".
Is it possible that there is the cause of the problem of missing server url and 
missing signature?

Original comment by henricus...@gmail.com on 17 Jan 2015 at 9:01

GoogleCodeExporter commented 9 years ago
I take a look

Original comment by wloczynutka on 17 Jan 2015 at 2:49

GoogleCodeExporter commented 9 years ago
script refactored and I think now should be ok.

Original comment by wloczynutka on 18 Jan 2015 at 11:03

GoogleCodeExporter commented 9 years ago
Than this issue can be closed.

Original comment by henricus...@gmail.com on 18 Jan 2015 at 12:01