First of all, just a newbie on Chronoforms but I love it.... just can't get the securityimages working
They simply won’t show on the form... then when the form is submitted I get an alert that “you have entered the wrong security codeâ€
I’m using Joomla 1.0.15 (actually a8e Joomla but that shouldn’t matter) with ChronoForms 2.3.8
When I change line 18 in /components/com_chronocontact/chrono_verification.php to header("Content-type: text/html"); and then look at the file directly in the browser I can see the image clearly
Also in the form configuration I can see the sampe image as well. It also says the following
GD Version bundled (2.0.28 compatible) FreeType Support Yes PNG Support Yes
as expected cause on System > System Info > PHP Info tab it says
GD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype T1Lib Support enabled GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled JIS-mapped Japanese Font Support enabled
Next I found some threads on the session.save_handler having to be set to none… yikes, was this the problem…. I found plenty of threads here at ChronoForums where it was advised to set this thru Site > Global Configuration > System tab … but that must be for Joomla 1.5 series…. I cannot set it, no such tab there – only the PHP info tab
Okay, now let’s try to set this in .htaccess and that resulted in Server misconfiguration error
So let’s try to edit php.ini… On a shared server so no direct access to that one though there’s a script and trick. But first did that on a local environment (Vista/JSAS) where I do indeed have ample testing ground…
php.ini changed this line from this
session.save_handler = files
to this
session.save_handler = none
Restart Apache and straight away got
Changed session.save_handler to none and rightaway got all php errors before the form
Warning: session_start() [function.session-start]: Cannot find save handler in W:\www\mydomain.com\200811\components\com_chronocontact\chronocontact.php on line 190
And then the form but still no SecurityImages
Changed php.ini back to session.save_handler = files….
A bit reluctant to change (or have this changed) by my HSP as I’m not fully aware of the consequences … but I am heading in the right direction I think (hope)…
Sorry, I do know some things but when it comes to Zen and the finer art of Joomla/PHP/Apache/etc I’m just a newbie…
Further info or reasons why I assume I’m close to a solution….
This thread right here, started by FellyBoy on ImageVerification not displayed
combined with my Site > System Info > PHP Info listed below
session.save_handler local value = files master value = files
this
Session Support enabled Registered save handlers files user mm
and finally running php 4.4.6
There must still be something I am missing… is it the session.save_handler I should have changed
Any help welcome and greatly appreciated
Appreciations and thanks all round for this cool component too…
Post edited by: GreyHead, at: 2008/03/01 18:24<br><br>Post edited by: Dylan, at: 2008/03/01 18:49
They simply won’t show on the form... then when the form is submitted I get an alert that “you have entered the wrong security codeâ€
I’m using Joomla 1.0.15 (actually a8e Joomla but that shouldn’t matter) with ChronoForms 2.3.8
When I change line 18 in /components/com_chronocontact/chrono_verification.php to header("Content-type: text/html"); and then look at the file directly in the browser I can see the image clearly
Also in the form configuration I can see the sampe image as well. It also says the following
GD Version bundled (2.0.28 compatible) FreeType Support Yes PNG Support Yes
as expected cause on System > System Info > PHP Info tab it says
GD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype T1Lib Support enabled GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled JIS-mapped Japanese Font Support enabled
Next I found some threads on the session.save_handler having to be set to none… yikes, was this the problem…. I found plenty of threads here at ChronoForums where it was advised to set this thru Site > Global Configuration > System tab … but that must be for Joomla 1.5 series…. I cannot set it, no such tab there – only the PHP info tab
Okay, now let’s try to set this in .htaccess and that resulted in Server misconfiguration error
So let’s try to edit php.ini… On a shared server so no direct access to that one though there’s a script and trick. But first did that on a local environment (Vista/JSAS) where I do indeed have ample testing ground…
php.ini changed this line from this
session.save_handler = files
to this
session.save_handler = none
Restart Apache and straight away got
Changed session.save_handler to none and rightaway got all php errors before the form
Warning: session_start() [function.session-start]: Cannot find save handler in W:\www\mydomain.com\200811\components\com_chronocontact\chronocontact.php on line 190
And then the form but still no SecurityImages
Changed php.ini back to session.save_handler = files….
A bit reluctant to change (or have this changed) by my HSP as I’m not fully aware of the consequences … but I am heading in the right direction I think (hope)…
Sorry, I do know some things but when it comes to Zen and the finer art of Joomla/PHP/Apache/etc I’m just a newbie…
Further info or reasons why I assume I’m close to a solution….
This thread right here, started by FellyBoy on ImageVerification not displayed
combined with my Site > System Info > PHP Info listed below
session.save_handler local value = files master value = files
this
Session Support enabled Registered save handlers files user mm
and finally running php 4.4.6
There must still be something I am missing… is it the session.save_handler I should have changed
Any help welcome and greatly appreciated
Appreciations and thanks all round for this cool component too…
Post edited by: GreyHead, at: 2008/03/01 18:24<br><br>Post edited by: Dylan, at: 2008/03/01 18:49