error loading template.(load.php)

Started by Sad_Angel, July 20, 2010, 12:37:20 PM

Previous topic - Next topic

Sad_Angel

I removed one mod(simple ads), but after removing that i ended with some serious errors so i backed up files from backup package and it worked, but now when i visit my website its loading till last board, but not showing forum stats at all, insted there i got this error ''invalid function call cannot load ad template" but at footer i can see SMF 2.0 RC3, xhtml,etc.
in admin panel this is error at bottom
"invalid function call load.php, error  :  line 273

Please help me to fix this error...

Thanks in advance
Peace...

kat

If you attach said file, load.php, we can take a look at it.  :)

Sad_Angel

Thanks K@ for early reply, currently the forum is down due to maintenance of the server:D

load.php from source, where shall i upload/display it..?
Peace...

kat

Just attach it to your next post. :)

You can probably get it, using FTP, even if the server is under maintenance. You might not, though.

Sad_Angel

here is that load.php file.
Sorry for late reply, please help to fix this
Thanks in advance
Peace...

xenovanis

There's nothing wrong with line 273. Can you access your forums errorlog and post back the complete errormessage?
"Insanity: doing the same thing over and over again and expecting different results."

CapadY

An error in load.php is nearly almost caused bij an code problem in one of the template files.
The problem is to find out which template file it is.

Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

kat

Can we have a URL for your forum, assuming it's open for guest views?

Sad_Angel

Hi!! Everyone...
Please help, here i somehow managed to bring my forum online,
Forum http://cyber-wars.tk (currently on this domain)
I am getting this error at bottom of my forum where forum stats are displayed,
"Fatal error: Call to undefined function template_ad_position() in /home/satish36/public_html/Sources/Load.php(2127) : eval()'d code on line 283"

I  tried to restore using backup files from packages but it didn't helped..
I tried repairing the database, this is the error which i am getting..

satish36_smf.smf_admin_info_files                  OK
satish36_smf.smf_ads
note     : The storage engine for the table doesn't support repair
satish36_smf.smf_ads_settings
note     : The storage engine for the table doesn't support repair
satish36_smf.smf_approval_queue                    OK
satish36_smf.smf_attachments                       OK
satish36_smf.smf_ban_groups                        OK


rest all tests goes fine.

FORUM LINK http://cyber-wars.tk (currently on this domain)
Please help, how to bring my  forum back.

Thanks in Advance

Peace...

Sad_Angel

Sorry, but i am unable to remove those ads, crap..
Peace...

xenovanis

How did you try to repair the database? Through cPanel or phpMyAdmin?

My best guess is to parse the mod (go to the modsection where you downloaded this mod, in the right upper corner select your version of SMF and click "Parse") and see if there's any leftover code from the mod in any of your forum files.
"Insanity: doing the same thing over and over again and expecting different results."

Sad_Angel

I tried to repair it in cPanel....

all topics are visible but someone enters there is nothing except that error.
Please just visit and view topics in 1st board..

There is no way to fix this.?
Peace...

xenovanis

Try using the repair option in phpMyAdmin. You should be able to access phpMyAdmin from cPanel.

What is phpMyAdmin?
"Insanity: doing the same thing over and over again and expecting different results."

Sad_Angel

Hi! I tried every heck, but its not fixing.
Please please help me to fix this error. When i enter topics to read thread it shoes this error..

Fatal error: Call to undefined function template_ad_position() in /home/satish36/public_html/Sources/Load.php(2127) : eval()'d code on line 640

Now, my all post, topics  are just lost.

I tried repairing tables in phpmyadmin but no effect at all, I don't know what to do next.

Please help...

Thanks

Best Regards
Satish
Peace...

kat

I think you'll find that that eval message is masking the real error.

If you can get into admin, try installing this mod:

http://custom.simplemachines.org/mods/index.php?mod=2054

Then, the error should change to something more helpful, with any luck and a following wind.

Sad_Angel

Thanks K@ for reply, its not showing support to RC3(There will be no 2.0 RC3 version, because this feature is default feature in SMF 2.0 RC3), should i install it anyway?
Peace...

xenovanis

Admin -> Server Settings -> General ->  Disable evaluation of templates

New things to learn every day  :)
"Insanity: doing the same thing over and over again and expecting different results."

gbsothere

I see you're using a custom theme.  Is the error there when you switch to default?
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

kat

Doh!

Yeah. Sorry, I hadn't realised that, either.

xenovanis

"Insanity: doing the same thing over and over again and expecting different results."

Advertisement: