mysql3 support

Please post your suggestions or any hacks you have made here

mysql3 support

Postby dwikristianto on Wed Jun 06, 2007 2:18 pm

dear all,

what about add mysql3 support?
i still use mysql3 for development at my own computer, because it's easier to deploy and recreate the installer.

best regards,
dwi
dwikristianto
Junior Boarder
 
Posts: 22
Joined: Mon May 21, 2007 6:53 am

Re:mysql3 support

Postby GreyHead on Wed Jun 06, 2007 3:40 pm

The current version of MySQL is 5.0 (with 6.0 in alpha). I've never found it too difficult to install or upgrade (on Windows XP in my case).

Bob
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3198
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany

Re:mysql3 support

Postby dwikristianto on Wed Jun 06, 2007 5:56 pm

hi greyhead,

i dont have that problem either, but my customers does, that's why i still use mysql3.

for now, i just hack it in the administrator directory.

the questions is,
is it possible to select the database version in the chronoform configs ?


TIA,
dwi
dwikristianto
Junior Boarder
 
Posts: 22
Joined: Mon May 21, 2007 6:53 am

Re:mysql3 support

Postby GreyHead on Wed Jun 06, 2007 7:52 pm

Hi,

What are you trying to do? ChronoForms only uses the Joomla! database. Is there something that doesn't work under later versions? Or do you need to export the data?

Bob
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3198
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany

Re:mysql3 support

Postby admin on Wed Jun 06, 2007 10:04 pm

Hi Dwi,

Yes I have the same question here like Bob, what are you using exactly ? if Joomla works fine with you then why Chronoforms won't ? if its installed on joomla then it should be fine, OR do you someway use it on a different system ?

Cheers

Max
ChronoForms Developer Thanks for using ChronoForms.
If you have any problems with ChronoForms please tell us.
If you like ChronoForms please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
User avatar
admin
Platinum Boarder
 
Posts: 1974
Joined: Mon Aug 14, 2006 5:29 am

Re:mysql3 support

Postby dwikristianto on Wed Jun 06, 2007 11:16 pm

hi max+bob,

thanks for the fast responses.

here is snippets from admin.chronocontact.php (approximate line number 375) taken from administrator/components/com_chronocontact folder.
Code: Select all
   if ( count($chrono_fields) > 0){
      $table_sql = "CREATE TABLE `#__chronoforms_".$id."` (";
      $table_sql .= $table_sql_body ." , PRIMARY KEY ( `cf_id` )";
      $table_sql .= "«») TYPE = MYISAM ;";
   }


take a look at
Code: Select all
$table_sql .= "«») TYPE = MYISAM ;";


that's my edited version that run smooth on mysql3.

the error show up when i try to create a table according to a form that i've entered at chronoform.


if i'm not wrong the previous code is
Code: Select all
$table_sql .= "«») ENGINE = MYISAM ;";


btw, it just suggestion to make chronoform more flexible.
again, thx for the responses.

regards,
dwi
dwikristianto
Junior Boarder
 
Posts: 22
Joined: Mon May 21, 2007 6:53 am

Re:mysql3 support

Postby admin on Sat Jun 09, 2007 8:49 pm

Thanks Dwi, I will look at this issue and see if there is any multi plathform solution, if not then we will add this to next release!!

Thanks

Max
ChronoForms Developer Thanks for using ChronoForms.
If you have any problems with ChronoForms please tell us.
If you like ChronoForms please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
User avatar
admin
Platinum Boarder
 
Posts: 1974
Joined: Mon Aug 14, 2006 5:29 am

Re:mysql3 support

Postby dwikristianto on Sat Jun 09, 2007 9:03 pm

no problemo.
dwikristianto
Junior Boarder
 
Posts: 22
Joined: Mon May 21, 2007 6:53 am

Re:mysql3 support

Postby GreyHead on Sat Jun 09, 2007 11:31 pm

In the MySQL 5.0 manual ENGINE or TYPE are both accepted though ENGINE is preferred (I'd guess that's to distinguish it from column type).

Bob
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3198
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany


Return to Suggestions & Hacks

Who is online

Users browsing this forum: No registered users and 1 guest