I've been evaluating this forms plugin for a new website I've been building for a client (I will be licensing😛 ) but I've hit a very minor bug in the create table process.
From what I can see of the SQL statement that's displayed in the error its simply a loop problem in that a trailing comma is being left on the field creation clause before definition of the primary indexes.
i.e. [create field], [create field], [index clause]
It's a simple oversight that's easy to fix this end, but as I'm just evaluating and lots of things may change with the site (i.e. this is the least of my worries :whistle: ), I'd rather not do it this end.
Any chance of a quick fix in the downloadable version for when I get around to updating this?
regards,
Sphynx.<br><br>Post edited by: Sphynx, at: 2007/07/26 17:35
Hi Sphynx,
Of course thousands of users have used this without a problem so there must not be a bug at this piece or its a "big" bug🙂, I bet its just a special case with your form code which generated this error, can you show us the error and the form code please ?
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Thanks Sphynx,
I think that this can be solved by going into the components > chronoforms > configuration > change mysql type to "TYPE" instead of "ENGINE".
Please let me know if this will fix it for you!
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
While I've not got to that stage yet, it looks like the same problem is present on the INSERT statement as well.
Yes, because the ',' is only added before new fields not after them so this shouldn't be a trouble.
Which ChronoForms version are you using ? in V2.2 you should have an option to change the MYSQL type, Iam not sure about your version but you can change the last line of the code block above to be TYPE = MYISAM instead of ENGINE = MYISAM
btw, v2.2 is not a BETA, because some users think that only v2.0 is stable!
Please 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.
Sphynx, Iam sure there is no problems at this piece of code because I use this component at too many live websites and thousands of users do too and I have never got any complains or problems unless about the mysql type as I pointed before, please try to follow instructions at my post and above and let me know.
Thank you!
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Looks like I've been supplied with 2.1.4 - I'll uninstall and try the 2.2.
Great, and there you should have the mysql config variable!
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Thanks Max - switching to 2.2 does seem to have cured the problem.
I did not actually download 2.1.4 myself, but inherited it from a previous webdeveloper on this project who claimed to have just downloaded for this purposes. Fool me for trusting him...😛
No worries! Glad to know all is fine now🙂
Thanks!
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.