Posted on: 08/23/07 12:04pm
By: Anonymous (noob`)
I am attempting to setup a second site using a new copy of the code base and an addon domain; However I am receiving the following error:
Fatal error: Call to undefined function: com_getlangsql() in /home/****/public_html/****/plugins/staticpages/functions.inc on line 488
I have checked the forums here and have not located any instances of this error that reflect my situation. The path to the config.php is correct in the lib-common.php and the version is from a fresh install of 1.4.1.
Any ideas?
Re: Second Site Error
Posted on: 08/23/07 02:07pm
By: Dirk
At a guess: Is the other site not running on 1.4.1? The missing function is new in 1.4.1, so it's possible that something with your paths is wrong and it's picking up files from the other install.
bye, Dirk
Re: Second Site Error
Posted on: 08/23/07 03:43pm
By: Anonymous (noob`)
Sorry there is just no love.
How do I t-shoot this?
The paths in the config.php are correct and the path to the config.php in the lib-common.php is correct.
Here how my sites are setup:
Site1
Domain is www.madveloc.xxx
$_CONF['path'] = / home/madveloc/ (config.php)
$_CONF['path_html'] = $_CONF['path'] . 'www/' (config.php)
require_once( '/home/madveloc/config.php' ); (lib-common.php)
Site2
Domain is theliveseys.xxx (addon domain and can only be created in the public_html dir)
$_CONF['path'] = / home/madveloc/public_html/theliveseys/ (config.php)
$_CONF['path_html'] = $_CONF['path'] . 'www/ (config.php)
require_once( '/home/madveloc/public_html/theliveseys/config.php' ); (lib-common.php)
How do I track this one down?
Re: Second Site Error
Posted on: 08/23/07 05:23pm
By: 1000ideen
Re: Second Site Error
Posted on: 08/23/07 09:37pm
By: Anonymous (noob)
Hmm,
How does parking a domain equate to running two sites from a single code base?
I attemped the single code base/multiple site in my stageing envionment but received the same error so I opted for the dual install.
Please advise.
Re: Second Site Error
Posted on: 08/24/07 02:37am
By: 1000ideen
No, what I meant is that you need this compulsory /public_html/theliveseys/ when it is an addon domain with cpanel and this means you need to install the geeklog public_html stuff into there too. So you have two sets of Geeklog public_html files.
If it is a parked domain then it is a true multi deployment and you only need to procede as described in the other thread.