Buy Now
Sign in

wsod php error model.php

vistech , February 26 2013, 19:27
V
vistech 46
February 26 2013, 19:27 #307282
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.
V
vistech 46
February 26 2013, 19:29 #307283
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 64
March 01 2013, 15:19 #307469
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
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
V
vistech 46
March 01 2013, 19:12 #307493
"GreyHead":
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 64
March 01 2013, 22:25 #307501
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
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
admin 29
March 02 2013, 18:00 #307541
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
If your main question got answered then please mark the answer using the button!
Did you try the new ChronoForms7 ? if yes then please send us your comments!!
V
vistech 46
March 04 2013, 15:35 #307638
"admin":
Hi,

Which global config ? the Joomla global config ?

Thanks!
Max


Yes
admin 29
March 10 2013, 08:30 #308025
Actually I didn't see a host string in this format before but will try to find a permanent solution.

Thanks!
Max
Max
If your main question got answered then please mark the answer using the button!
Did you try the new ChronoForms7 ? if yes then please send us your comments!!
E
emi_100 4
September 16 2013, 12:59 #316595
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?