Thread: [Phpdhcpadmin-support] Call to a member function GenerateErrorLink on a non-object
Manage your ISC DHCPD service
Brought to you by:
jgerfen
From: Matej <ma...@ma...> - 2009-08-11 10:38:42
|
Hi, I have just unpacked the script and after trying to open index.php file I get the following error message: Fatal error: Call to a member function GenerateErrorLink() on a non-object in /usr/local/apache2/htdocs/index.php on line 164 I think that object $err should exist, since I did not change anything in the code. Thanks for any help and ideas in advance. Matej |
From: Jason G. <jas...@gm...> - 2009-08-11 10:48:00
|
On Tue, Aug 11, 2009 at 4:20 AM, Matej <ma...@ma...> wrote: > Hi, > > I have just unpacked the script and after trying to open index.php file I > get the following error message: > Fatal error: Call to a member function GenerateErrorLink() on a non-object > in /usr/local/apache2/htdocs/index.php on line 164 > > I think that object $err should exist, since I did not change anything in > the code. > I should make the errors easier to dissect. Currently there is not a setup script to walk you through configuration but if you simply edit the 'inc.config.php' script to work with your local web and mysql server it will bring you to the login screen. Let me know if you have any questions. It looks like the wiki service sourceforge had integrated is no longer available which contained documentation for this project. Until I get that back up you may wish to utilize the inline comments within the inc.config.php to assist you better understanding the configuration directives. Hope this helps. > > Thanks for any help and ideas in advance. > Matej > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Phpdhcpadmin-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpdhcpadmin-support > -- Jason Gerfen jas...@gm... ~ tomorrow ain't promised so we live for today |
From: Matej <ma...@ma...> - 2009-08-11 11:03:50
|
Hi Jason, thanks for a quick reply. Of course I did not set the hostname variable in the inc.config.php configuration file. :-) Thank you again, Matej ----- Original Message ----- From: Jason Gerfen To: Matej Cc: php...@li... Sent: Tuesday, August 11, 2009 12:47 PM Subject: Re: [Phpdhcpadmin-support] Call to a member function GenerateErrorLink on a non-object On Tue, Aug 11, 2009 at 4:20 AM, Matej <ma...@ma...> wrote: Hi, I have just unpacked the script and after trying to open index.php file I get the following error message: Fatal error: Call to a member function GenerateErrorLink() on a non-object in /usr/local/apache2/htdocs/index.php on line 164 I think that object $err should exist, since I did not change anything in the code. I should make the errors easier to dissect. Currently there is not a setup script to walk you through configuration but if you simply edit the 'inc.config.php' script to work with your local web and mysql server it will bring you to the login screen. Let me know if you have any questions. It looks like the wiki service sourceforge had integrated is no longer available which contained documentation for this project. Until I get that back up you may wish to utilize the inline comments within the inc.config.php to assist you better understanding the configuration directives. Hope this helps. Thanks for any help and ideas in advance. Matej ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Phpdhcpadmin-support mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpdhcpadmin-support -- Jason Gerfen jas...@gm... ~ tomorrow ain't promised so we live for today |
From: Jason G. <jas...@gm...> - 2009-08-11 11:11:43
|
On Tue, Aug 11, 2009 at 5:03 AM, Matej <ma...@ma...> wrote: > Hi Jason, > > thanks for a quick reply. Of course I did not set the hostname variable in > the inc.config.php configuration file. :-) > If you set the hostname of the webserver this application is installed on you may wish to use the IP address vs. the hostname. Ideally the checks that are prompting that error have to do with the $_SERVER['SERVER_NAME'] super-global within PHP. A simple method of checking to see that you have indeed configured the $defined['hostname'] correctly you can rely on either phpinfo() or simply add a line at the top of the index.php script which says "print_r( $_SERVER );". There will be a variable within this global array indicating the actual hostname/IP address of your webserver which is what you want to set the $defined['hostname'] directive to. Also, if you could not email me directly as this involves support for the application others may need to utilize this information. So please post to the php...@li... mailing list. Hope this helps. > > Thank you again, > Matej > > ----- Original Message ----- > *From:* Jason Gerfen <jas...@gm...> > *To:* Matej <ma...@ma...> > *Cc:* php...@li... > *Sent:* Tuesday, August 11, 2009 12:47 PM > *Subject:* Re: [Phpdhcpadmin-support] Call to a member function > GenerateErrorLink on a non-object > > > > On Tue, Aug 11, 2009 at 4:20 AM, Matej <ma...@ma...> wrote: > >> Hi, >> >> I have just unpacked the script and after trying to open index.php file I >> get the following error message: >> Fatal error: Call to a member function GenerateErrorLink() on a non-object >> in /usr/local/apache2/htdocs/index.php on line 164 >> >> I think that object $err should exist, since I did not change anything in >> the code. >> > I should make the errors easier to dissect. Currently there is not a setup > script to walk you through configuration but if you simply edit the > 'inc.config.php' script to work with your local web and mysql server it will > bring you to the login screen. > > Let me know if you have any questions. It looks like the wiki service > sourceforge had integrated is no longer available which contained > documentation for this project. Until I get that back up you may wish to > utilize the inline comments within the inc.config.php to assist you better > understanding the configuration directives. > > Hope this helps. > >> >> Thanks for any help and ideas in advance. >> Matej >> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Phpdhcpadmin-support mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpdhcpadmin-support >> > > > > -- > Jason Gerfen > jas...@gm... > > ~ tomorrow ain't promised so we live for today > > -- Jason Gerfen jas...@gm... ~ tomorrow ain't promised so we live for today |