You are here:  » fatal error

Support Forum



fatal error

Submitted by rolli1 on Sat, 2007-03-24 15:34 in

Hi David,

this had never happened before. When registering a feed the following error message appears:

Fatal error: Call to undefined function: admin_register() in /home/paydayc/public_html/bike/admin/feeds_register_step2.php on line 63

How can this be? What should I do to avoid that?

Regards

Roland

Submitted by support on Sat, 2007-03-24 16:24

Hi Roland,

Do you have any custom modifications in this installation?

Cheers,
David.

Submitted by rolli1 on Sun, 2007-03-25 08:41

I changed the

$config_baseHREF = "/";
to
$config_baseHREF = "/bike/";

because the installation is in the bike folder
The database is in the root directory so I let it to "localhost". I made no further modifications.

Regards

Roland

Submitted by support on Sun, 2007-03-25 11:14

Hi Roland,

I would double check the entire installation to make sure that all files are present. I don't really understand this because the admin_register() function is in include/admin.php, which is required on line 6 of admin/feeds_register_step2.php. Therefore, if the file didn't exist you should have got an error at line 6.

However, it could be that your PHP settings are such that a failed include would not raise a fatal error; and so this might point to the includes/admin.php file not being present. If in doubt I would re-install into this directory as it sounds like something is certainly missing...

Cheers,
David.

Submitted by rolli1 on Sun, 2007-03-25 23:25

Hi David, although I reinstalled PT the error was persisting. So I doublechecked the includes/admin.php and noticed that it was empty. Why this could be, don't ask me. However, I copied the includes/admin.php and now everything is ok.

Thanks for your hints.

Regards

Roland