From: Alan Knowles <[EMAIL PROTECTED]>
> > Fatal error: Call to a member function on a non-object in
> > snippet:///hklc_adminsite_host/argv0/new/new_host on line 202

Here is the relevant code in my installation:

Snippet: / hklc_adminsite_host / argv0 / new / new_host

195: // get the guid of the sitegroup!
196:
197: if (!isset($newfiledata["sitegroup"]) && isset($id))
198:    $newfiledata["sitegroup"] = $id;
199:
200: if ($newfiledata["sitegroup"]) {
201:    $sgobj = mgd_get_sitegroup($newfiledata["sitegroup"]);
202:    $sgguid = $sgobj->guid();
203: } else {
204:    $sgguid = 0;
205: }

>you selected a sitegroup/company - which it should have returned a number..
>
>the program the does
>$sg = mgd_get_sitegroup($thenumber); (only if $thenumber !=0)
>and then tries to get the guild
>$guid = $sg->guid(); <-- at this point it is failing.
>
>now to check what might be happening ..
>which sitegroup did you select ( what id )
>have a look at the company tree - put your mouse over the same company's 
>icon and see if it show you a id & GUID.

I don't understand what should I do. The company tab is empty for me (only 
the 'system config' and 'new' links there). This is a brand-new 
installation; so I have only SG0.

>If all that is working try using the other pages to create websites - it 
>can be done from
>1. the frontpage
>2. The company edit page
>3. the New Website tab on Websites
>- do they all fail or just one?

I am really fast, I have figured out what you mean for 'frontpage' in 10 
minutes. :) (Sorry, I didn't read the doc yet, if it is in there.)

The method 1. and 3. gives the same error, and it looks like I don't have 
company.

Now, I have created a new company, so it appears on company tab. Now, if I 
select create new website from anywhere, I can choose from 2 companies 
('System admin' and 'First company') (although I have only the 'First 
company' under the 'Company' tab), and if I fill the form I get back a

Domain Name is invalid

error message. I don't clearly understand what 'Company' mean.

Aye, I suppose now that 'Company' is a friendly name for 'Sitegroup'. 
Anyway, I have tried several different methods and I can't create a new 
website.

Bye:
Crc

PS: Now I am playing around with a new website which I have created under 
Asgard... :-P
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to