[TYPO3-english] AWStats in 6.2
Scotty C
superscotty19 at yahoo.com
Thu Jun 4 09:30:37 CEST 2015
Hi again,
Some news ...
I uninstalled xf_awstats and went back to ics_awstats ... not sure if that helped any, but when I click update 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
Tracing that exact file, I see the source to be:if (!$formprotection->validateToken(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('moduleToken'), 'moduleCall', $moduleName)) { throw new UnexpectedValueException('Invalid form/module token detected. Access Denied!', 1392409507);}
Problem is, I don't know what it means :-(
How do I fix this (thanks)?-Scott.
From: Scotty C <superscotty19 at yahoo.com>
To: TYPO3 English <typo3-english at lists.typo3.org>
Sent: Wednesday, June 3, 2015 2:47 AM
Subject: AWStats in 6.2
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