Using Joomla! 1.5 with the latest ChronoForms
If I enable the image verification, when I submit a form it goes to a blank page after clicking the submit button, and the form input is not saved or emailed.
I turned on error reporting in php.ini and this is what I got:
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: ) in /home/scott/public_html/research/components/com_chronocontact/chronocontact.php on line 199
Ah, thanks. Yes, that did fix it... but what are the broader implications of having the session handling off?
Hi sinemac,
AFAIK nothing will break. At least nothing that uses the Joomla core code to access the session data. Maybe some special components that try to directly access the database tables, but I can't think why they would do that.
Bob
actually here is an example... i am using sobi2 and there is a module called sobi2_by_field.
sobi uses sessions to do extended search with. the mod access this searching and doesnt work properly with sessions turned off.
i need the forms with image verification and the search of the sobi2 database... now what??
We hope (and beg?) that there will be a new version for Joomla! 1.5 available soon that addresses this... and the issue of conflicts with mootools that keeps validation from working when using RocketTheme templates.😟
Max or Bob, if you're listening here is the session error you get when you run image verification with database session handling:
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /tmp) in /home/dog10000/public_html/chc/components/com_chronocontact/chronocontact.php on line 199
you would make my millenium if you could fix this or tell me what to do to fix it besides turning the session handler to none. :-)
thanks!
MM
hi bob thanks! that worked. I put this line in before the session_start() call
ini_set("session.save_handler", "files");
no more error.
YAY
okay, so here's the last problem.
i am using the foreach to retrieve the array off the select file. when someone enters the wrong image verification code it loses the array and returns an error. sigh.
maybe i will just switch it to check boxes.
any thoughts?
MM
Hi MM,
I can't understand your last question, could you give more info for me please ?
Cheers,
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Scott,
There are 2 files with this line : chrono_verification.php and chronocontact.php so you can check both ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi revtrev,
my advice is to get a fresh copy of that file then the only change you do is to insert this line :
ini_set("session.save_handler", "files");
before this line:
session_start();
assure no lines get broken with any new lines!
cheers,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi All, the problem has been solved permanently, you can now use both session handlers types in the joomla global config, overwrite the attached files or wait for the new release!
Cheers,
Max [file name=com_chronocontact.zip size=6935]http://www.chronoengine.com/components/com_fireboard/uploaded/files/com_chronocontact.zip[/file]
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Jxl,
I suggest you create another testing form with only one test text field and image verification and see if CC will work and at which cases so you know where the problem is exactly!
Let us know!
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.