PDA

View Full Version : Fatal Error (cpheader() ) when installing hacks


MPM.com
09-16-2002, 08:22 AM
Hi

I am very new to PHP, I am having trouble installing hacks. It is fine if I edit the templates directly, but whenever I try to use an install script, I get the following message:

Fatal error: Call to undefined function: cpheader() in E:\webspace\resadmin\markquayle\mobilephonemadness .com\www\forums\install_warnin g.php on line 7

Anyone help please?

Mark

Xenon
09-16-2002, 11:38 AM
installscripts should be uploaded into your admin folder. most of them are using admin-functions as cpheader()....

so just move install_warning.php into your admin-folder and run it again, that should solve your problem

MPM.com
09-16-2002, 11:41 AM
Trying it now, I'll let you know how I get on

MPM.com
09-16-2002, 11:51 AM
Seems to install this time,

The file warnconfig.php is not in the zip. where do i find this?

Also, should there be a "warn user" option next to report this post to a moderator? coz there isnt.

Sorry for being thick.

Mark

MPM.com
09-16-2002, 12:01 PM
Sorry, should of posted that in the Hack thread.