ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

[CLOSED] ImageVerfcation/session.savehandler prob?

Dylan 01 Mar, 2008
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
Dylan 01 Mar, 2008
Ehmm.... a quick glance at a different J! install on a different host. This appears to have the same problem, but somewhat different environment

Otherhost runs PHP 5.0.4, Joomla (no a8e) 1.0.13 - so strike out these two
GreyHead 01 Mar, 2008
Hi Dylan,

Is this on-line? Can I see the page with the problem?

If not, please will you look at the page source cut and paste the lines here that are trying to show the image. Maybe we can spot something there.

Bob
GreyHead 01 Mar, 2008
Hi Dylan,

I don't see any trace of the imageverification. Have you added {imageverification} in your html code?

Bob
Dylan 01 Mar, 2008
Yikes... silly me... I'm blushing right out of my chair. Sorry to have wasted your time...

You were right: I forgot

Thanks though for the great component, your time and quick help....
GreyHead 02 Mar, 2008
Hi Dylan,

No problem, we've all done it.

Bob
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com