4.5.2: Archivierte Statistiken
4.5.2: Archivierte Statistiken
Hallo Contenido-Team und -Freunde!
In der 4.5.2'er-Alpha-Reihe funktioniert die Archivierung der Statistiken leider nicht... es erscheinen zwar keine Fehlermeldungen, der Cron-Job geht auch durch, aber es tut sich nichts (sichtbares)...
Das hat sicher niedere Priorität, aber ich wollte es erwähnt haben...
In der 4.5.2'er-Alpha-Reihe funktioniert die Archivierung der Statistiken leider nicht... es erscheinen zwar keine Fehlermeldungen, der Cron-Job geht auch durch, aber es tut sich nichts (sichtbares)...
Das hat sicher niedere Priorität, aber ich wollte es erwähnt haben...
Michael Wohlers
die function statsArchive hat sich eigentlich nicht verändert...
sicher dass das cronjobs verzeichniss schreibberechtigung hat ?
sprich sind die *.job dateien vorhanden ?
ähm wie sieht die
cronjobs/move_old_stats.php
aus ?
sicher dass das cronjobs verzeichniss schreibberechtigung hat ?
sprich sind die *.job dateien vorhanden ?
ähm wie sieht die
cronjobs/move_old_stats.php
aus ?
*** make your own tools (wishlist :: thx)
Hallo emergence!
und die *.job-dateien sind auch vorhanden!
Die move_old_stats.php sieht so aus, wie sie im aktuellen contenido-cvs-2004-11-12.tar.bz2 enthalten ist (seit längerem unverändert):
Wie gesagt, Fehlermeldungen entstehen auch keine...
Also, in meinem "pseudo-cron.log" steht der Aufruf drin:emergence hat geschrieben:die function statsArchive hat sich eigentlich nicht verändert...
sicher dass das cronjobs verzeichniss schreibberechtigung hat ?
sprich sind die *.job dateien vorhanden ?
ähm wie sieht die
cronjobs/move_old_stats.php
aus ?
Code: Alles auswählen
Sun, 31 Oct 2004 17:05:30 +0100 Running 0 0 1 * * move_old_stats.php
Sun, 31 Oct 2004 17:05:30 +0100 Last run: Thu, 1 Jan 1970 01:00:00 +0100
Sun, 31 Oct 2004 17:05:30 +0100 Last scheduled: Fri, 1 Oct 2004 00:00:00 +0200
Die move_old_stats.php sieht so aus, wie sie im aktuellen contenido-cvs-2004-11-12.tar.bz2 enthalten ist (seit längerem unverändert):
Code: Alles auswählen
<?php
/*****************************************
* File : $RCSfile: move_old_stats.php,v $
* Project : Contenido
* Descr : Cron Job to move old statistics into the stat_archive table
*
* Author : $Author: timo.hummel $
*
* Created : 26.05.2003
* Modified : $Date: 2004/08/04 15:11:29 $
*
* © four for business AG, www.4fb.de
*
* $Id: move_old_stats.php,v 1.10 2004/08/04 15:11:29 timo.hummel Exp $
******************************************/
include_once ('../includes/startup.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["classes"] . 'class.user.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["classes"] . 'class.xml.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["classes"] . 'class.navigation.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["classes"] . 'class.template.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["classes"] . 'class.backend.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["classes"] . 'class.table.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["classes"] . 'class.notification.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["classes"] . 'class.area.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["classes"] . 'class.layout.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["classes"] . 'class.client.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["classes"] . 'class.cat.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["classes"] . 'class.treeitem.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["includes"] . 'cfg_sql.inc.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["includes"] . 'cfg_language_de.inc.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["includes"] . 'functions.general.php');
include_once ($cfg['path']['contenido'].$cfg["path"]["includes"] . 'functions.stat.php');
if ($_SERVER["PHP_SELF"] == "" || function_exists("runJob"))
{
$db = new DB_Contenido;
$year = date("Y");
$month = date("m");
if ($month == 1)
{
$month = 12;
$year = $year -1;
} else {
$month = $month -1;
}
statsArchive(sprintf("%04d%02d",$year,$month));
}
?>
Michael Wohlers
Hallo timo!
Any ideas?
Grüsse...
Ja, in zwei verschiedenen 4.5.2-Installationen mit jeweils dem aktuellen Snapshot ist ein ähnliches Verhalten zu sehen - nämlich, daß die Statistiken nicht monatlich archiviert werden. Egal ob über Cronjob oder manuell. Fehlermeldungen erscheinen nicht.timo hat geschrieben:ist das Problem noch aktuell?
Any ideas?
Grüsse...
Michael Wohlers
ich hab gerade mal den debug modus bei pseudo cron aktiviert und erhalte folgendes
achtung ist etwas lang...
achtung ist etwas lang...
Code: Alles auswählen
Configuration:
PC_cronTab = e:/contenido/contenido-cvs-2005-01-18.tar/contenido_sources/contenido/cronjobs/crontab.txt
PC_writeDir = e:/contenido/contenido-cvs-2005-01-18.tar/contenido_sources/contenido/cronjobs/
PC_jobDir = e:/contenido/contenido-cvs-2005-01-18.tar/contenido_sources/contenido/cronjobs/
PC_reqDir = e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs
PC_useLog = 1
array(5) {
[0]=>
array(9) {
[0]=>
string(30) "*/2 * * * * move_articles.php
"
[1]=>
string(3) "*/2"
[2]=>
string(1) "*"
[3]=>
string(1) "*"
[4]=>
string(1) "*"
[5]=>
string(1) "*"
[6]=>
string(0) ""
[7]=>
string(17) "move_articles.php"
[8]=>
string(30) "*/2 * * * * move_articles.php
"
}
[1]=>
array(9) {
[0]=>
string(29) "0 0 1 * * move_old_stats.php
"
[1]=>
string(1) "0"
[2]=>
string(1) "0"
[3]=>
string(1) "1"
[4]=>
string(1) "*"
[5]=>
string(1) "*"
[6]=>
string(0) ""
[7]=>
string(18) "move_old_stats.php"
[8]=>
string(29) "0 0 1 * * move_old_stats.php
"
}
[2]=>
array(9) {
[0]=>
string(32) "*/2 * * * * session_cleanup.php
"
[1]=>
string(3) "*/2"
[2]=>
string(1) "*"
[3]=>
string(1) "*"
[4]=>
string(1) "*"
[5]=>
string(1) "*"
[6]=>
string(0) ""
[7]=>
string(19) "session_cleanup.php"
[8]=>
string(32) "*/2 * * * * session_cleanup.php
"
}
[3]=>
array(9) {
[0]=>
string(32) "0 0 * * * optimize_database.php
"
[1]=>
string(1) "0"
[2]=>
string(1) "0"
[3]=>
string(1) "*"
[4]=>
string(1) "*"
[5]=>
string(1) "*"
[6]=>
string(0) ""
[7]=>
string(21) "optimize_database.php"
[8]=>
string(32) "0 0 * * * optimize_database.php
"
}
[4]=>
array(9) {
[0]=>
string(30) "*/5 * * * * send_reminder.php
"
[1]=>
string(3) "*/5"
[2]=>
string(1) "*"
[3]=>
string(1) "*"
[4]=>
string(1) "*"
[5]=>
string(1) "*"
[6]=>
string(0) ""
[7]=>
string(17) "send_reminder.php"
[8]=>
string(30) "*/5 * * * * send_reminder.php
"
}
}
Array
(
[seconds] => 29
[minutes] => 26
[hours] => 12
[mday] => 20
[wday] => 0
[mon] => 3
[year] => 2005
[yday] => 78
[weekday] => Sunday
[month] => March
[0] => 1111317989
)
Running */2 * * * * move_articles.php
Last run: Sun, 20 Feb 2005 12:18:00 +0100
Last scheduled: Sun, 20 Mar 2005 12:26:00 +0100
e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs
Warning: main(class.user.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 19
Warning: main() [function.include]: Failed opening 'class.user.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 19
Warning: main(class.xml.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 20
Warning: main() [function.include]: Failed opening 'class.xml.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 20
Warning: main(class.navigation.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 21
Warning: main() [function.include]: Failed opening 'class.navigation.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 21
Warning: main(class.template.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 22
Warning: main() [function.include]: Failed opening 'class.template.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 22
Warning: main(class.backend.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 23
Warning: main() [function.include]: Failed opening 'class.backend.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 23
Warning: main(class.table.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 24
Warning: main() [function.include]: Failed opening 'class.table.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 24
Warning: main(class.notification.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 25
Warning: main() [function.include]: Failed opening 'class.notification.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 25
Warning: main(class.area.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 26
Warning: main() [function.include]: Failed opening 'class.area.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 26
Warning: main(class.layout.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 27
Warning: main() [function.include]: Failed opening 'class.layout.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 27
Warning: main(class.client.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 28
Warning: main() [function.include]: Failed opening 'class.client.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 28
Warning: main(class.cat.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 29
Warning: main() [function.include]: Failed opening 'class.cat.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 29
Warning: main(class.treeitem.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 30
Warning: main() [function.include]: Failed opening 'class.treeitem.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 30
Warning: main(cfg_sql.inc.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 31
Warning: main() [function.include]: Failed opening 'cfg_sql.inc.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 31
Warning: main(cfg_language_de.inc.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 32
Warning: main() [function.include]: Failed opening 'cfg_language_de.inc.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 32
Warning: main(functions.general.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 33
Warning: main() [function.include]: Failed opening 'functions.general.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_articles.php on line 33
Completed */2 * * * * move_articles.php
Decreasing from 20.03. 12:26 by 1 mday to 19.03. 23:59
Decreasing from 19.03. 23:59 by 1 mday to 18.03. 23:59
Decreasing from 18.03. 23:59 by 1 mday to 17.03. 23:59
Decreasing from 17.03. 23:59 by 1 mday to 16.03. 23:59
Decreasing from 16.03. 23:59 by 1 mday to 15.03. 23:59
Decreasing from 15.03. 23:59 by 1 mday to 14.03. 23:59
Decreasing from 14.03. 23:59 by 1 mday to 13.03. 23:59
Decreasing from 13.03. 23:59 by 1 mday to 12.03. 23:59
Decreasing from 12.03. 23:59 by 1 mday to 11.03. 23:59
Decreasing from 11.03. 23:59 by 1 mday to 10.03. 23:59
Decreasing from 10.03. 23:59 by 1 mday to 09.03. 23:59
Decreasing from 09.03. 23:59 by 1 mday to 08.03. 23:59
Decreasing from 08.03. 23:59 by 1 mday to 07.03. 23:59
Decreasing from 07.03. 23:59 by 1 mday to 06.03. 23:59
Decreasing from 06.03. 23:59 by 1 mday to 05.03. 23:59
Decreasing from 05.03. 23:59 by 1 mday to 04.03. 23:59
Decreasing from 04.03. 23:59 by 1 mday to 03.03. 23:59
Decreasing from 03.03. 23:59 by 1 mday to 02.03. 23:59
Decreasing from 02.03. 23:59 by 1 mday to 01.03. 23:59
Decreasing from 01.03. 23:59 by 1 hour to 01.03. 22:59
Decreasing from 01.03. 22:59 by 1 hour to 01.03. 21:59
Decreasing from 01.03. 21:59 by 1 hour to 01.03. 20:59
Decreasing from 01.03. 20:59 by 1 hour to 01.03. 19:59
Decreasing from 01.03. 19:59 by 1 hour to 01.03. 18:59
Decreasing from 01.03. 18:59 by 1 hour to 01.03. 17:59
Decreasing from 01.03. 17:59 by 1 hour to 01.03. 16:59
Decreasing from 01.03. 16:59 by 1 hour to 01.03. 15:59
Decreasing from 01.03. 15:59 by 1 hour to 01.03. 14:59
Decreasing from 01.03. 14:59 by 1 hour to 01.03. 13:59
Decreasing from 01.03. 13:59 by 1 hour to 01.03. 12:59
Decreasing from 01.03. 12:59 by 1 hour to 01.03. 11:59
Decreasing from 01.03. 11:59 by 1 hour to 01.03. 10:59
Decreasing from 01.03. 10:59 by 1 hour to 01.03. 09:59
Decreasing from 01.03. 09:59 by 1 hour to 01.03. 08:59
Decreasing from 01.03. 08:59 by 1 hour to 01.03. 07:59
Decreasing from 01.03. 07:59 by 1 hour to 01.03. 06:59
Decreasing from 01.03. 06:59 by 1 hour to 01.03. 05:59
Decreasing from 01.03. 05:59 by 1 hour to 01.03. 04:59
Decreasing from 01.03. 04:59 by 1 hour to 01.03. 03:59
Decreasing from 01.03. 03:59 by 1 hour to 01.03. 02:59
Decreasing from 01.03. 02:59 by 1 hour to 01.03. 01:59
Decreasing from 01.03. 01:59 by 1 hour to 01.03. 00:59
Decreasing from 01.03. 00:59 by 1 minute to 01.03. 00:58
Decreasing from 01.03. 00:58 by 1 minute to 01.03. 00:57
Decreasing from 01.03. 00:57 by 1 minute to 01.03. 00:56
Decreasing from 01.03. 00:56 by 1 minute to 01.03. 00:55
Decreasing from 01.03. 00:55 by 1 minute to 01.03. 00:54
Decreasing from 01.03. 00:54 by 1 minute to 01.03. 00:53
Decreasing from 01.03. 00:53 by 1 minute to 01.03. 00:52
Decreasing from 01.03. 00:52 by 1 minute to 01.03. 00:51
Decreasing from 01.03. 00:51 by 1 minute to 01.03. 00:50
Decreasing from 01.03. 00:50 by 1 minute to 01.03. 00:49
Decreasing from 01.03. 00:49 by 1 minute to 01.03. 00:48
Decreasing from 01.03. 00:48 by 1 minute to 01.03. 00:47
Decreasing from 01.03. 00:47 by 1 minute to 01.03. 00:46
Decreasing from 01.03. 00:46 by 1 minute to 01.03. 00:45
Decreasing from 01.03. 00:45 by 1 minute to 01.03. 00:44
Decreasing from 01.03. 00:44 by 1 minute to 01.03. 00:43
Decreasing from 01.03. 00:43 by 1 minute to 01.03. 00:42
Decreasing from 01.03. 00:42 by 1 minute to 01.03. 00:41
Decreasing from 01.03. 00:41 by 1 minute to 01.03. 00:40
Decreasing from 01.03. 00:40 by 1 minute to 01.03. 00:39
Decreasing from 01.03. 00:39 by 1 minute to 01.03. 00:38
Decreasing from 01.03. 00:38 by 1 minute to 01.03. 00:37
Decreasing from 01.03. 00:37 by 1 minute to 01.03. 00:36
Decreasing from 01.03. 00:36 by 1 minute to 01.03. 00:35
Decreasing from 01.03. 00:35 by 1 minute to 01.03. 00:34
Decreasing from 01.03. 00:34 by 1 minute to 01.03. 00:33
Decreasing from 01.03. 00:33 by 1 minute to 01.03. 00:32
Decreasing from 01.03. 00:32 by 1 minute to 01.03. 00:31
Decreasing from 01.03. 00:31 by 1 minute to 01.03. 00:30
Decreasing from 01.03. 00:30 by 1 minute to 01.03. 00:29
Decreasing from 01.03. 00:29 by 1 minute to 01.03. 00:28
Decreasing from 01.03. 00:28 by 1 minute to 01.03. 00:27
Decreasing from 01.03. 00:27 by 1 minute to 01.03. 00:26
Decreasing from 01.03. 00:26 by 1 minute to 01.03. 00:25
Decreasing from 01.03. 00:25 by 1 minute to 01.03. 00:24
Decreasing from 01.03. 00:24 by 1 minute to 01.03. 00:23
Decreasing from 01.03. 00:23 by 1 minute to 01.03. 00:22
Decreasing from 01.03. 00:22 by 1 minute to 01.03. 00:21
Decreasing from 01.03. 00:21 by 1 minute to 01.03. 00:20
Decreasing from 01.03. 00:20 by 1 minute to 01.03. 00:19
Decreasing from 01.03. 00:19 by 1 minute to 01.03. 00:18
Decreasing from 01.03. 00:18 by 1 minute to 01.03. 00:17
Decreasing from 01.03. 00:17 by 1 minute to 01.03. 00:16
Decreasing from 01.03. 00:16 by 1 minute to 01.03. 00:15
Decreasing from 01.03. 00:15 by 1 minute to 01.03. 00:14
Decreasing from 01.03. 00:14 by 1 minute to 01.03. 00:13
Decreasing from 01.03. 00:13 by 1 minute to 01.03. 00:12
Decreasing from 01.03. 00:12 by 1 minute to 01.03. 00:11
Decreasing from 01.03. 00:11 by 1 minute to 01.03. 00:10
Decreasing from 01.03. 00:10 by 1 minute to 01.03. 00:09
Decreasing from 01.03. 00:09 by 1 minute to 01.03. 00:08
Decreasing from 01.03. 00:08 by 1 minute to 01.03. 00:07
Decreasing from 01.03. 00:07 by 1 minute to 01.03. 00:06
Decreasing from 01.03. 00:06 by 1 minute to 01.03. 00:05
Decreasing from 01.03. 00:05 by 1 minute to 01.03. 00:04
Decreasing from 01.03. 00:04 by 1 minute to 01.03. 00:03
Decreasing from 01.03. 00:03 by 1 minute to 01.03. 00:02
Decreasing from 01.03. 00:02 by 1 minute to 01.03. 00:01
Decreasing from 01.03. 00:01 by 1 minute to 01.03. 00:00
Array
(
[seconds] => 59
[minutes] => 0
[hours] => 0
[mday] => 1
[wday] => 2
[mon] => 3
[year] => 2005
[yday] => 78
[weekday] => Sunday
[month] => March
[0] => 1111317989
)
Running 0 0 1 * * move_old_stats.php
Last run: Tue, 1 Feb 2005 00:00:00 +0100
Last scheduled: Tue, 1 Mar 2005 00:00:00 +0100
e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs
Warning: main(class.user.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 19
Warning: main() [function.include]: Failed opening 'class.user.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 19
Warning: main(class.xml.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 20
Warning: main() [function.include]: Failed opening 'class.xml.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 20
Warning: main(class.navigation.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 21
Warning: main() [function.include]: Failed opening 'class.navigation.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 21
Warning: main(class.template.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 22
Warning: main() [function.include]: Failed opening 'class.template.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 22
Warning: main(class.backend.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 23
Warning: main() [function.include]: Failed opening 'class.backend.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 23
Warning: main(class.table.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 24
Warning: main() [function.include]: Failed opening 'class.table.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 24
Warning: main(class.notification.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 25
Warning: main() [function.include]: Failed opening 'class.notification.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 25
Warning: main(class.area.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 26
Warning: main() [function.include]: Failed opening 'class.area.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 26
Warning: main(class.layout.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 27
Warning: main() [function.include]: Failed opening 'class.layout.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 27
Warning: main(class.client.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 28
Warning: main() [function.include]: Failed opening 'class.client.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 28
Warning: main(class.cat.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 29
Warning: main() [function.include]: Failed opening 'class.cat.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 29
Warning: main(class.treeitem.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 30
Warning: main() [function.include]: Failed opening 'class.treeitem.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 30
Warning: main(cfg_sql.inc.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 31
Warning: main() [function.include]: Failed opening 'cfg_sql.inc.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 31
Warning: main(cfg_language_de.inc.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 32
Warning: main() [function.include]: Failed opening 'cfg_language_de.inc.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 32
Warning: main(functions.general.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 33
Warning: main() [function.include]: Failed opening 'functions.general.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 33
Warning: main(functions.stat.php) [function.main]: failed to open stream: No such file or directory in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 34
Warning: main() [function.include]: Failed opening 'functions.stat.php' for inclusion (include_path='.;E:\OpenSA\Apache\php-5.0.1\pear') in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 34
Fatal error: Call to undefined function: statsarchive() in e:\contenido\contenido-cvs-2005-01-18.tar\contenido_sources\contenido\cronjobs\move_old_stats.php on line 50
*** make your own tools (wishlist :: thx)
ach so...na ja meistens sind es die wirklich simplen sachen
der grund ist ganz einfach...
die $cfg variable steht einfach nicht bei runJob zur verfügung...
ein global $cfg; sollte alle probleme beheben
innerhalb der cronjobs wird die startup.php mittels include_once geladen...
tja und wenn der cronjob gestartet wird, ist diese schon geladen...
somit werden die $cfg variablen auch nicht initialisiert...
zumindestens siehts so aus...
der grund ist ganz einfach...
die $cfg variable steht einfach nicht bei runJob zur verfügung...
ein global $cfg; sollte alle probleme beheben
innerhalb der cronjobs wird die startup.php mittels include_once geladen...
tja und wenn der cronjob gestartet wird, ist diese schon geladen...
somit werden die $cfg variablen auch nicht initialisiert...
zumindestens siehts so aus...
*** make your own tools (wishlist :: thx)
jetzt weiss ich auch warum mir das nicht aufgefallen ist
ich hab die include_once nach dem startup.php schon vor einiger zeit durch cInclude bei meinen eigenen cronjobs ersetzt...
und dort funkts...
ich hab die include_once nach dem startup.php schon vor einiger zeit durch cInclude bei meinen eigenen cronjobs ersetzt...
und dort funkts...
*** make your own tools (wishlist :: thx)
Hallo timo!
Danke...
Ist das im nächsten Snapshot drin? Liegt der Fehler jetzt an den Cronjobs aus den Snapshots oder an der runJob-Funktion?timo hat geschrieben:ich hab das mal nachgetragen...
im CVS_HEAD nutzen soweit ich das gesehen habe alle cronjobs global $cfg, aber sicherheitshalber wird das ab sofort nochmal in der runJob von pseudo-cron gemacht.
Danke...
Michael Wohlers
das ist ne verkettung unglücklicher zustände...
ein bug in der runJob ist es an sich nicht...
es liegt einfach nur daran das include_once("../includes/startup.php");
nicht geladen wird...
somit stehen innerhalb des cronjobs die $cfg variablen nicht zur verfügung..
ein global $cfg; am beginn der cronjobs täte es auch...
ein bug in der runJob ist es an sich nicht...
es liegt einfach nur daran das include_once("../includes/startup.php");
nicht geladen wird...
somit stehen innerhalb des cronjobs die $cfg variablen nicht zur verfügung..
ein global $cfg; am beginn der cronjobs täte es auch...
*** make your own tools (wishlist :: thx)
Hallo emergence!
Mit sonntäglichen Grüssen...
Prima... aber was mach' ich nun, um das wieder hinzukriegen und gleichzeitig "zukunftstauglich" zu sein? Ich würde schon gerne sehen daß die Stats endlich wieder vernünftig archiviert werden...emergence hat geschrieben:das ist ne verkettung unglücklicher zustände...
ein bug in der runJob ist es an sich nicht...
es liegt einfach nur daran das include_once("../includes/startup.php");
nicht geladen wird...
somit stehen innerhalb des cronjobs die $cfg variablen nicht zur verfügung..
ein global $cfg; am beginn der cronjobs täte es auch...
Mit sonntäglichen Grüssen...
Michael Wohlers