Warning: The author of this contribution does not provide support for it anymore.

Advertisement Management

HELP! Installed adverisment manager, now forum offline!! - Advertisement Management

HELP! Installed adverisment manager, now forum offline!!

by mal7921 » Wed Oct 29, 2014 11:16 pm

Installed the latest version of Advertisement manager and now get the following error on the forum:

Fatal error: Cannot redeclare setup_ads() (previously declared in /home4/mtarpey/public_html/phpbb/ads/functions.php:25) in /home4/mtarpey/public_html/phpbb/ads/functions.php on line 87

Any ideas?

I can't access either the main forum or the ACP so help is needed urgently
mal7921
Registered User
Posts: 2
Joined: Wed Oct 29, 2014 11:10 pm
Contact:

Re: HELP! Installed adverisment manager, now forum offline!!

by mal7921 » Thu Oct 30, 2014 9:43 pm

Managed to fix it, even though I'd uninstalled the earlier version it had not altered the functions.php file so on installing the newer version it added the advertisement entry a second time, crashing the system.

Editing the includes/functions.php file and removing the duplicate entry fixed this.
mal7921
Registered User
Posts: 2
Joined: Wed Oct 29, 2014 11:10 pm
Contact: