Hi,

> I get the startpage (only an entrypage with a flash animation) but moving to
> the following /home page creates an error called: "Fatal error: Call to a
> member function on a non-object in ROOT on line 57".

Tracking down errors like this one is hard, but getting better. 

Some tips:
a) Line 57 can be counted down from midgard stack . If you use
modmidgard-preparse , then just open the cachefile and go to line 57.

If not, you can try to count yourself through the stack. I think ROOT
here relates to the midgard-root.php file (can someone correct me?) so
you start there and go through the lines in the code-* elements and then
to the page if you get that far. 

b) The error says that you've done something like
$obj->guid() // or some other function 
but that the $obj variable isn't an object, as expected. I would guess
you're doing somehting like this:
$obj = mgd_get_article(id); 
$guid = $obj->guid() ; 

but that the id of the object you're fetching has changed because you
have moved the object from staging to live.

Tarjei

> Line 57 seems to be an error by loading something out of the database but i
> cant classify them.
> Changing the host entries to IPs doesnt really help, neither different ways
> of defining virtual host in apache. It's always the same error line.
> 
> On development/admin side (8001) of the pages the error seems to be more
> specified:
> 
> Warning: fsockopen(): php_hostconnect: connect failed in ROOT(908) :
> eval()'d code on line 57
> Warning: fsockopen(): unable to connect to dev-page.xyz.com:8001 in
> ROOT(908) : eval()'d code on line 57 
> 
> .. But the hosts are definied within midgard database and as  apache virtual
> hosts.
> 
> Thank you for your help
> 
> Thomas
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to