PDA

View Full Version : PHP Fatal Error after install


corwin43
10-23-2007, 11:19 PM
Hi,

I apologize if this has been covered elsewhere on the forums, but I have an issue that is occuring after install:

I installed version 3.1.1, and it installed fine (created the tables, etc.) I'm using phpraid auth. After I deleted /install, when trying to open the index.php file I am getting:

Fatal error: Call to a member function on a non-object in /home/dark-req/public_html/phpraid/includes/page_header.php on line 25


Now, line 25 is:

$page->set_file('headerFile',$phpraid_config['template'] . '/header.htm');


Any thoughts? Where is the object set?

Greatdanes
10-24-2007, 05:10 PM
Have u set the config file? So it fit to your data base.

Illydth
10-29-2007, 02:56 PM
Hi,

I apologize if this has been covered elsewhere on the forums, but I have an issue that is occuring after install:

I installed version 3.1.1, and it installed fine (created the tables, etc.) I'm using phpraid auth. After I deleted /install, when trying to open the index.php file I am getting:

Fatal error: Call to a member function on a non-object in /home/dark-req/public_html/phpraid/includes/page_header.php on line 25


Now, line 25 is:

$page->set_file('headerFile',$phpraid_config['template'] . '/header.htm');


Any thoughts? Where is the object set?


If I didn't know better i'd say it was having a problem getting ahold of either the "set_file" function or determining the $page object.

Neither of these should technically be a problem. It's reading the "page_header.php" file from the includes/ directory and trying to output the header from templates/SpiffyJr/header.htm"

I hate to sound like a Microsoft Tech (reinstall the system as the answer to every question) but I would try uploading all files to the server again, making sure to overwrite (not overwrite if newer or "resume") mode for all of them. Make sure there are NO errors on the upload.

After that delete the install directory again and see if you get the same problems. Also please be aware of browser cache and ensure that you drop the cache before trying again (or you may get the same error even though it doesn't exist anymore).

If you do get the same problems, please shoot me a URL.

--Illydth