How do I remove this "fatal error" message from the bottom of my forum please?

Started by platinummack, November 23, 2014, 12:37:44 AM

Previous topic - Next topic

platinummack

To Arantor, what is in my theme's index.php file? What is the piece of code that I should get rid of?
Also why is it telling me to look at the load.php file?

See here is the error message again



Fatal error: Call to undefined function template_ad_position() in /home/content/m/a/a/maaxseduction/html/viplounge/Sources/Load.php(2151) : eval()'d code on line 273


Or I have both the load.php file and template.index.php file backed up in the original state. Should I just upload them and override these versions?


Kindred

Oh, for the love of all gods, are you really that dense?

Three times, you have been told now.

Index.template.php in your theme directory

Also, you are obviously NOT following the instructions we have given you, since the mod instructions do not tell you to modify load.php in the location that you posted.  So, stop saying "I did that" since, very obviously, you did not do that.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

platinummack

Kindred, please refrain from personal attacks. I asked you a million times, what do I do in the index.template.php file? DO you not understand basic linear logic or English?

You follow this pattern of

"Just do it

"I told you"

I know you mentioned that it is the index.template.php file, but if you can read or care to understand what others have to say, I asked multiple times "
WHAT CODE OR LINE OF CODE AM I LOOKING FOR IN THIS INDEX.TEMPLATE.PHP FILE
THAT I NEED TO REMOVE

Even in my other thread, you respond in this manner(just blurting out a response,without giving steps or specifics)

Lastly, I can understand everyone else, even the guys at godaddy who are awesome and brilliant over you So it is not I, but You that my Reptile, Limbic and NeoCortex that just doesn't connect with.

You can choose to reply to this with more nonesense or let others reply. Honestly, if I don't get an answer on here over your arrogant, disconnected, "cut throat" responses, I'm 100 percent fine with that. I will solve this and I will solve this without you. I can bet you my last dollar on this.

So either help me in the manner in which I want to be helped, or please do not respond to any of my threads as everytime I look around on here, you are in my face, on my threads. I honestly, don't need that nor really want that at this point. Let someone else answer me. If no one will answer me, I have the gift of pooling resources globally to get the job done.



Arantor

Quoteyou have a call to template_ad_position being asked for and this doesn't exist, which is usually a symptom of a mod modifying a theme and not cleaning up after itself - and if it's everywhere, it's going to be in your theme's index.template.php file.

Maybe that's the code you have to look for? Just spitballing here.

platinummack

can't find template_ad_position in my theme's index.php file either Arantor.

In fact, there is no instance of the word ad/ads in any of the files that the ad management tool may have modified. They all appear to be clean from the post mod install edits.

So I still seek a resolution....


Arantor

Did you look in index.template.php or index.php? Your theme will have both, one is wrong.

You also realise that was merely a *first* guess? I can think of other places where there might be code lurking but since you never actually said where you were actually getting the error, I *guessed* that it would be there based on how I know SMF.

You say 'the footer', but you never said if that was 'on the footer on every page' or 'on the footer on certain page(s)', so I assumed the first one.

I'm sorry I'm not a mind reader, but I also overestimated your ability to follow instructions.

platinummack


platinummack

May be I should post here

http://www.smfads.com/

Just found this. Specific forum for the Ad Management tool.

Lastly, I did check both index.php and template.index.php and no remnant of ad mgmt edits/snippets of code to be found, but then again maybe I am over looking something. I would need someone to actually go into my forum and use their technical/coding experience and also who can go into my db and clear things up.

Arantor

In which case it is BoardIndex.template.php and Display.template.php, which will be in your theme's folder, or if your theme doesn't have them, it will be in the default theme's folder instead (i.e. Themes/default/)

You see, the more detail you provide and don't expect us to just mind-read (and answer when these questions have been asked of you), the faster you will get an answer that might actually be useful.

platinummack

Okay so look into boardindex.template.php and display.template.php for any ad management tool "cod" Arantor?
Is that what you are saying? What do I look for in there? Not sure what code to look for. I kind of have an idea of what looks normal or fishy and I don't see any thing "alien". Once again, I'm not coding savvy to know what function is undefined, what variable declarations look obtuse, etc. I would need someone to look into this. Would you be willing to. I don't mind paying you hourly.
I don't see a display.template.php in my theme's folder.

Kindred

platinummack,

My attitude comes from the fact that you seem to be incapable of listening or following instructions unless someone hands it to you on a silver platter.

regardless of where we have suggested that you look - you have, at your fingertips - as we have told you several times now - the EXACT instructions which your system used to install the mod's code changes.   We have asked you to use the mod parser and the do the edits in reverse.
You have said that you did that....

except, since you still have the error, you, very obviously, have not done that.

So... you want step by step instructions?
1- run the mod parser
2- check EVERY edit made to EVERY file - as defined in the mod parser.
3- confirm that the edits have been UNDONE, in the reverse of the mod parser's instructions on how it will get applied.


--- I guarantee you that there is (at least) one edit which was not undone when you uninstalled.


Finally -- sorry, you don't get to determine how you get helped. If you post on this site, there is a good chance that I will see (and possibly attempt to answer)  ...and I am not stalking you... I respond to your threads -- along with hundreds of others because the questions are (under normal circumstances) fairly easily answered.  I have to say, in 20 years... I have never had someone have such difficulties in understanding basic instructions as you seem to have.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

platinummack

No problem, in this case. Let's close this thread as there appears to be a disconnect. I will go to that specific ad management forum or outsource to a few brilliant PHP coders I know globally to help me. FYI I did follow your steps and even consulted with a few people that I did. Yet you and other want to believe I did not. So I can't change your mind. Nevertheless, I want to thank you and every else for trying but at this point, it is not worth at least my time to have a back and forth exchange where neither of us is connecting with the other. I am too busy running my businesses and living life to be sitting here like a keyboard Jockey . Once again, best and thanks. case closed.

vbgamer45

 template_ad_position is not part of ad management mod. More than likely another ads mod.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Arantor

QuoteOkay so look into boardindex.template.php and display.template.php for any ad management tool "cod" Arantor?

Yes, look in those files and you will find calls to template_ad_position.

QuoteNot sure what code to look for.

Despite me having repeatedly said 'template_ad_position', as per the error message.

QuoteI kind of have an idea of what looks normal or fishy and I don't see any thing "alien". Once again, I'm not coding savvy to know what function is undefined, what variable declarations look obtuse, etc.

Wait, what?

QuoteI don't see a display.template.php in my theme's folder.

So, like I said, look in Themes/default/ for it if your theme doesn't have one.

As for whether I would be willing to? The answer is no. Even if I charged $100/hour, the sheer frustration of this would be enough to put me off.

Kindred

Ah yes...    if I recall correctly, the user also tried installing and failed an uninstall on one of the other advert mods.

Which explains why the parsing of ad management resolved nothing...  because he was parsing the wrong mod.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

platinummack

FYI a wonderful woman at Godaddy solved my issue.
My old forum is back and the fatal error code is gone.


Thanks for all of your help guys!

Kindred

And what, exactly did she do?

(bets? I'd say she did exactly what we've been trying to tell you what to do)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

platinummack


Arantor

Yes because winding up the project manager (and forum administrator) here is a good idea. His title of "the mean one" is not accidental.

I bet she did did exactly what we were trying to get you to do, after all, Kindred and I only have over 15 years SMF experience between us, and I happen to be former SMF developer team, as well as being certified in PHP by the company that makes PHP... I am sure we don't know much about it or anything.

platinummack

That wasn't the issue.

So there is another thread that I had saying I had an older db with all of my posts, board categories, members and i  wanted to use a specific theme for a new install and connect that to the old db so that I would get all of that info back.

GoDaddy has a history view where you can modify files to a time stamp. I had apparently changed my DB password a few days ago and so in settings. php the password did not match. I thought it did. So I did update that and input the db connection settings to the old Db and it works. I was also able to restore the entire folder where SMF was installed to a time before this file was updated to generate the error and start from scratch. Now in doing so, my front end was showing, but my backend/dashboard was cut off. So I needed to find a way to get admin access back. Hence, I did a google search and some guy said just type in www.forumurl.com/index.php?theme=1 and my original theme came back which gave me access to the admin and I was able to switch themes and be back in business.

So now I have the theme I want
My old DB info back
The error message gone

I am happy!

SO you and I were both right in the DB settings being matched with the settings.php thing but I was wrong to think they were matched. they weren't. as the settings.php file was changed when I restored them to another time stamp. I now have them matched and the forum is up.

See

I just want to know how to

1. Upgrade to version 2.09 as I am running 1.1.1.
Any ideas

2. How to add social sharing icons or ideally a floating bar on the left so that users can share my content

3. I want to put a banner ad in the section that is above the main board.

Any ideas?


Advertisement: