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.
				
				
				
			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.
					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.
				
				
				
				
			
					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
				
				
				
			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
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.
					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
				
				
				
			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
					Hi,
Which global config ? the Joomla global config ?
Thanks!
Max
				
				
					
				
				
			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
					Actually I didn't see a host string in this format before but will try to find a permanent solution.
Thanks!
Max
				
				
					
				
				
			Thanks!
Max
This topic is locked and no more replies can be posted.
		
	
 
  