| Topic: | PN_zClassifieds header error |
|---|---|
|
Coolbud01
Freshman
Posts: 2 Posted: |
Greetings, I have PN .762 & just tried setting up PN_zClassifieds 2.1. I followed the installation directions & have the module initialized/activated. I ran the install script with no errors & also removed both the install.php & upgrade.php. When I go to PN_zClassifieds' admin section, I recieve the following error: QuoteError: Invalid page 'friendads.php' with this error directly below that: QuoteFatal error: Cannot redeclare head() (previously declared in /var/www/html/header.php:36) in /var/www/html/header.php on line 34 I've searched several forums, including these & couldn't turn up anything that was related. Any ideas?[/code] |
|
Coolbud01
Freshman
Posts: 2 Posted: |
After a little experimenting, I found that this works: In PN_zClassifieds Admin.php, starting at line 59, there's this: Codeinclude("header.php"); GraphicAdmin(); menu(); include 'footer.php'; I changed it to read like this: Codeinclude 'header.php'; GraphicAdmin(); menu(); include("footer.php"); For whatever reason, it works. If someone would care to teach me why this works as opposed to the original way, I'm all ears. -Coolbud01 |