wsod php error model.php

vistech 26 Feb, 2013
SQLSTATE[HY000] [2005] Unknown MySQL server host 'localhost:/var/lib/mysql/mysql.sock' (3)
Fatal error: Call to a member function _prefixTable() on a non-object in /var/www/vhosts/domain-name.com/httpdocs/newsite/administrator/components/com_chronocontact/libs/model.php on line 52

I am in the process of migrating a site from 1.5 to 2.5 (hence /newsite/ subfolder) and wanted to try out the new chronocontact. I get this error on the component page.
vistech 26 Feb, 2013
Switching from 'localhost:/var/lib/mysql/mysql.sock' to 'localhost' as the server entry in global config fixed the wsod, although this should not be happening.
GreyHead 01 Mar, 2013
Hi vistech,

Glad to see you got it working. I'd expect that anything after localhost: would be treated as a port name - but I'm certainly not an expert here :-(

Bob
vistech 01 Mar, 2013

Hi vistech,

Glad to see you got it working. I'd expect that anything after localhost: would be treated as a port name - but I'm certainly not an expert here :-(

Bob


I've never had any issues with any other component using a socket connection instead of port and that includes chronoforms. This must be a bug in chronocontact.
GreyHead 01 Mar, 2013
Hi Vistech,

As far as I know ChronoForms just uses the Joomla! DB class.

Ah, sorry just noticed that this is ChronoContact too. I've no idea how that works.

Bob
Max_admin 02 Mar, 2013
Hi,

Switching from 'localhost:/var/lib/mysql/mysql.sock' to 'localhost' as the server entry in global config fixed the wsod



Which global config ? the Joomla global config ?

Thanks!
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
vistech 04 Mar, 2013

Hi,

Which global config ? the Joomla global config ?

Thanks!
Max



Yes
Max_admin 10 Mar, 2013
Actually I didn't see a host string in this format before but will try to find a permanent solution.

Thanks!
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
emi_100 16 Sep, 2013
I install ChronoForums on Joomla! 3.1.5 and I get this same error message:

SQLSTATE[HY000] [2005] Unknown MySQL server host 'sql104.byetcluster.com:' (3)


GreyHead have no idea, what about you Admin?
This topic is locked and no more replies can be posted.