[TYPO3-seminars] problem with configcheck

Robert Wagner rowagner at math.tu-berlin.de
Thu Apr 15 19:27:03 CEST 2010


i am using the latest version of seminars and got the following error:

Configuration check warning:
The specified number of clicks does not correspond to the number of the
first and last registration page. Please correct the values of
numberOfClicksForRegistration, numberOfFirstRegistrationPage or
numberOfLastRegistrationPage. A not properly configured setting will
lead to a misleading number of steps, shown on the registration page.
When that is done, please empty the FE cache and reload this page.
The configuration check for this extension can be disabled in the
extension manager.

I have not set numberOfClicksForRegistration,
numberOfFirstRegistrationPage or numberOfLastRegistrationPage in my TS
template setup. So the default values should be used.

After playing a bit with these properties i modified the "private
function checkRegistrationPageNumbers()" in the
../typo3conf/ext/seminars/class.tx_seminars_configcheck.php like this:
* Checks the relation between last and first page and the number of clicks.
private function checkRegistrationPageNumbers() {
    echo "numberOfClicksForRegistration: " . $clicks . "<br />";
    echo "numberOfFirstRegistrationPage: " . $firstPage . "<br />";
    echo "numberOfLastRegistrationPage: " . $lastPage . "<br />";
    $calculatedSteps = $lastPage - $firstPage + 2;
Now i modified the TS template setup like this:
plugin.tx_seminars_pi1.numberOfClicksForRegistration = 30
plugin.tx_seminars_pi1.numberOfFirstRegistrationPage = 1
plugin.tx_seminars_pi1.numberOfLastRegistrationPage = 2
and got the following output:
numberOfClicksForRegistration: 2
numberOfFirstRegistrationPage: 1
numberOfLastRegistrationPage: 2

It seems as if plugin.tx_seminars_pi1.numberOfClicksForRegistration will
not be evaluated.

To get rid of the error message in have to disable the configcheck.


More information about the TYPO3-project-seminars mailing list