Welcome to Geeklog, Anonymous Saturday, April 20 2024 @ 05:07 am EDT

Geeklog Forums

Second Site Error


noob`

Anonymous
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?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

noob`

Anonymous
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?

 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Did you read this?
http://www.geeklog.net/forum/viewtopic.php?forum=1&showtopic=62636

You can also do this as a parked domain, it is easier!
 Quote

noob

Anonymous
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.
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
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.
 Quote

All times are EDT. The time is now 05:07 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content