Hi all,
I recently upgraded from 2.0.0 to 2.3.5 on Joomla 1.0.12.
I did the upgrade via the backend installer of Joomla, my
old forms were deleted so everything seems clean.
I then started to create a new form. It gets displayed and
all the fields and the imageverification is looking good.
Just when i hit the "Send Form" Button a blank page appears
with following text.
Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /www/htdocs/mySite/components/com_chronocontact/chronocontact.php on line 189
Does anybody know how to resolve this. Maybe i forgot something within the form-creation or does it have to d with the upgrade ?
Thanx for help.
phreak
I recently upgraded from 2.0.0 to 2.3.5 on Joomla 1.0.12.
I did the upgrade via the backend installer of Joomla, my
old forms were deleted so everything seems clean.
I then started to create a new form. It gets displayed and
all the fields and the imageverification is looking good.
Just when i hit the "Send Form" Button a blank page appears
with following text.
Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /www/htdocs/mySite/components/com_chronocontact/chronocontact.php on line 189
Does anybody know how to resolve this. Maybe i forgot something within the form-creation or does it have to d with the upgrade ?
Thanx for help.
phreak
Hi phreak,
I think that the session handling for imageverification has changed. Try turning imageverification off and the error should disappear - that will pin it down but isn't a fix.
Max has posted here that the Joomla session handler should be set to 'None' (and not to 'database'). Could this be the problem?
Bob
I think that the session handling for imageverification has changed. Try turning imageverification off and the error should disappear - that will pin it down but isn't a fix.
Max has posted here that the Joomla session handler should be set to 'None' (and not to 'database'). Could this be the problem?
Bob
Hi,
Please replace lines 184 to 198 at file : chronocontact.php with this code and please let me know if it will solve it :
Please replace lines 184 to 198 at file : chronocontact.php with this code and please let me know if it will solve it :
if ( trim($paramsvalues->imagever) == 'Yes' ) {
session_start();
$chrono_verification = strtolower($_POST['chrono_verification']);
if ( md5($chrono_verification ) != $_SESSION['chrono_verification'] ) {
showErrorMessage('Sorry, You have entered a wrong verification code');
showform($_POST);
return;
}else{
unset($_SESSION['chrono_verification']);
}
}
<br><br>Post edited by: admin, at: 2007/11/03 13:09
Hey Bob, hey Admin,
I've tried the Codeexample and it seems to work. But now the message
"Sorry, you have entered a wrong verification code." comes up when
Imageverification is on.
It works when it's turned off, but actually a script is attacking my site
sending spam trough the forms so i can't take it off.
I looked at this 2 solutions but they seem not to fit with my problem.
Multiple problems?
[Resolved] Image Verification not working
Any other suggestions ?
Thanx a lot
phreak
I've tried the Codeexample and it seems to work. But now the message
"Sorry, you have entered a wrong verification code." comes up when
Imageverification is on.
It works when it's turned off, but actually a script is attacking my site
sending spam trough the forms so i can't take it off.
I looked at this 2 solutions but they seem not to fit with my problem.
Multiple problems?
[Resolved] Image Verification not working
Any other suggestions ?
Thanx a lot
phreak
Hi phreak,
Please remove this line of code at chrono_verification.php, its the first uncommented :
Please remove this line of code at chrono_verification.php, its the first uncommented :
session_name(md5('chrono'));
Thanx a lot, every code you posted worked out perfectly.😉
Thats nice.
phreak
Thats nice.
phreak
i tried and applied this code on Joomla 1.5 stable with sessions set to none, but I still can't pass image verification.
I checked the FAQs and the forum, but I'm stuck: the session used within chrono_verification.php is different than the one used in chronocontact.php, thus image verification always fails.
legacy mode is on.
I checked the FAQs and the forum, but I'm stuck: the session used within chrono_verification.php is different than the one used in chronocontact.php, thus image verification always fails.
legacy mode is on.
Hi Pecus,
Without doing the hack, I mean with the original ChronoForms 2.5 RC1 files, what was you getting ?
Without doing the hack, I mean with the original ChronoForms 2.5 RC1 files, what was you getting ?
I reinstalled it and I am now getting the correct behaviour.
So I can confirm that 2.5RC1 on Joomla stable 1.5 works correctly.
So I can confirm that 2.5RC1 on Joomla stable 1.5 works correctly.
This topic is locked and no more replies can be posted.