Re: please help.
Brought to you by:
iridium
From: Martin G. <gim...@gi...> - 2003-05-06 14:40:17
|
Aqa...@ao... writes: Hi Aron, > I have a lycos.co.uk account and have just uploaded via ftp all the > files for phpweather 2.1.2, now when i click on the sites ftp client > to show me my files, i had done as suggested and made a directory > called, phpweather. now when i clicked on index.php, i had to > obviously preview the file. it then gave me a message when read as > follows. Fatal Error: cannot instantiate non-existent class: > pw_db_null in db_layer.php on line 52. > > What does this all mean? i have no experience in php, i do know that > lycos.co.uk is using php 4 i think. I think you're the first who has seen this error --- it's supposed to be something that cannot happen... The error says that the 'new' call in line 52 has failed because there's no class definition of pw_db_null. The definition is stored in the file included in line 51, so it really should work: include_once(PHPWEATHER_BASE_DIR . '/db/pw_db_null.php'); $this->db = new pw_db_null($this->properties); I don't have any good suggestions for you :-( > I had created a home page with their template, not because i did not > have experience, simply to save time, until i had upload this php > thingy. Please help me as soon as possible please. > > How do i create my home page with with index.php? The first thing you'll want to do, is to get the index.php page from PhpWeather working. Then you can start integrating PhpWeather into the design on your homepage. > Please tell me in easy to understand language, and geek lingo, many > thanks Aron Brookes We'll do our best, but ask again if you need to. -- Martin Geisler My GnuPG Key: 0xF7F6B57B See http://gimpster.com/ and http://phpweather.net/ for: PHP Weather: Shows the current weather on your webpage and PHP Shell: A telnet-connection (almost :-) in a PHP page. Join Freenet: http://gimpster.com/downloads/freenet/ |