error in load.php

Started by sviridovt, January 17, 2011, 08:10:39 PM

Previous topic - Next topic

sviridovt

I apologize for being such a pain but my forum doesnt work, and half of my admin cp also doesnt work, I get this error:

Fatal error: Cannot redeclare template_main() (previously declared in /home/sviridov/public_html/forum/Sources/Load.php(2140) : eval()'d code:19) in /home/sviridov/public_html/forum/Sources/Load.php(2140) : eval()'d code on line 290

Please help, Tim

JBlaze

What mods do you have installed, or just installed?
Jason Clemons
Former Team Member 2009 - 2012

sviridovt

Quote from: JBlaze on January 17, 2011, 08:29:12 PM
What mods do you have installed, or just installed?
Ad Managment, I cant uninstall it because it gives this error when I try to access packages page

sviridovt

dont know if this will help but here is error log of what I think is related:

sviridovt   
    January 17, 2011, 09:28:10 PM
3fc2694dca66c095e1c7d4225f12a05c
Type of error: General
http://forum.svitech.net/index.php?action=admin;area=ads;sa=main;eb0b37605b=3fc2694dca66c095e1c7d4225f12a05c2: require_once(/home/sviridov/public_html/forum/Sources/Ads.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/sviridov/public_html/forum/Sources/Admin.php
Line: 672

kat

I don't suppose you have a backup to restore?

Honestly, you should NEVER install a mod, without backing-up, first.

Don't panic, though, this time. Maybe this'll help you:

http://www.simplemachines.org/community/index.php?topic=400356.0

JBlaze

Just grab a copy of Ad.php from the AdManagement package. That *should* solve the problem.
Jason Clemons
Former Team Member 2009 - 2012

sviridovt

Quote from: K@ on January 18, 2011, 05:54:11 AM
I don't suppose you have a backup to restore?

Honestly, you should NEVER install a mod, without backing-up, first.

Don't panic, though, this time. Maybe this'll help you:

http://www.simplemachines.org/community/index.php?topic=400356.0
tanks dude!

You have no idea how much you helped me, I usually back up but I just switched to SMF and didnt know where the backup files went so thank god for you and god bless you.

I also went from being unsure if I like SMF yet (I converted my forum from MyBB to SMF for a week or so just to see if I would want to use it) to being to the point of where I am staying with SMF because had that been on MyBB I would be screwed

Thanks, Tim

kat

Pleasure, Tim!

We might not always be so quick, because of the different time zones we all live in.

We'll always try our best, though. ;)

Glad everything's working OK!

Advertisement: