guestbook not creating any tables on install

Phoca Guestbook - creating guestbooks in Joomla! CMS
cybersalt
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Jan 2011, 07:53

guestbook not creating any tables on install

Post by cybersalt »

I am trying to download the version of Phoca Guestbook that is at:
http://joomlacode.org/gf/download/frsre ... v1.4.4.zip

It installs fine except that it creates nothing in the database.

Thanks.
Last edited by cybersalt on 07 Jul 2011, 20:16, edited 1 time in total.
cybersalt
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Jan 2011, 07:53

guestbook not creating any tables on install

Post by cybersalt »

After looking further into this I did find a .bak file with sql commands in them - and they had TYPE=MYISAM on some lines - which does not work on mysql5.5, which I am running.

Mysql5.5 requires ENGINE=MYISAM - so I am guessing that perhaps my install problems are due to my using mysql5.5 in some way.

Have you converted other phoca components for mysql5.5 and just missed this one?

Tim
cybersalt
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Jan 2011, 07:53

Re: guestbook not creating any tables on install

Post by cybersalt »

Crickets sound while I talk to myself, lol.

I can confirm that this is a mysql5.5 issue.

In the file "phocaguestbookinstall.php" I replaced 4 occurrences of "TYPE=MyISAM" with "ENGINE=MyISAM" and all installed just fine to my mysql5.5 database

This change needs to be done for all install scripts for Joomla extensions.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: guestbook not creating any tables on install

Post by Jan »

Hi, yes, it is done for latest versions and every new version get this change.

Jan
If you find Phoca extensions useful, please support the project
Post Reply