[TYPO3-english] AWStats in 6.2
Scotty C
superscotty19 at yahoo.com
Wed Jun 3 10:47:44 CEST 2015
Hi everyone,
To my understanding, ics_awstats was replaced with xf_awstats for 6.x. However, the documentation still references settings from 4.5 (ex [FE][logfile_dir] ), but more importantly I'm getting nothing but errors with it when it comes to usage/updates. Even after I manually do the following:
LocalConfiguration.php - modify 'FE' section to include logfile_dir:
typo/typo3conf/ext/xf_awstats/classes/class.tx_xfawstats_awstats.php - comment out tslib reference on line 34/35
chmod 755 public_html/typo/typo3conf/ext/xf_awstats/mod1/awstats-update.phpcron
change crontab: 0 * * * * php public_html/typo/typo3/cli_dispatch.phpsh scheduler(note: i also tried php public_html/typo/typo3conf/ext/xf_awstats/mod1/awstats-update.phpcron scheduler
Create backend user called _cli_scheduler
System -> Scheduler -> Add New.... - Class: AWStats, Frequency: 0 * * * *
... the best I get is when I run the awstats-update file from a command line and it says "The configuration file was not included". Tracking this to /typo3conf/ext/xf_awstats/classes/class.tx_xfawstats_awstats.php I can see it's failing to see the TYPO3_db, and also there are still references to T3lib and they're everywhere.
If I run "Update Now" inside TYPO3, I get:Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Invalid form/module token detected. Access Denied!' in public_html/typo/typo3_src-6.2.12/typo3/mod.php:26 Stack trace: #0 {main} thrown in public_html/typo/typo3_src-6.2.12/typo3/mod.php on line 26
If I run through the scheduler I get:Execution of task "AWStats (xf_awstats)" failed with the following message: Task failed to execute successfully. Class: tx_xfawstats_updatetask, UID: 5
The t3lib references must be why it's not doing any updates - manual or cron, correct?
Without AWStats working, the only stats I see for 6.2 is ke_stats and I'd *really* like to use AWStats inside TYPO3!
Thanks as always,-Scott.
More information about the TYPO3-english
mailing list