News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

"Call to undefined function: create_button()" error

Started by median, August 11, 2012, 01:37:09 PM

Previous topic - Next topic

median

I created a locked, sticky, topic on my forum for the forum rules, but when I did it generated this error:

Fatal error: Call to undefined function create_buttons() in /home/rockba5/public_html/innatedebate.com/Sources/Load.php(2247) : eval()'d code on line 460

How can I fix this? I am running SMF 2.0.2. So I don't see how there could be a compatibility issue. Here is the link to the error:


http://www.innatedebate.com/index.php?topic=4.0

Chas Large

Do you have Evaluation of Templates disabled?

Admin > Configuration > Server Settings > General.

If not then I would suggest you check the box to disable them.

Quote from: From the Help ButtonBy default, templates are evaluated instead of just included. This helps with showing more useful debug information in case a template contains an error.

On large forums however, this customised inclusion process may be significantly slower. Therefore, advanced users may wish to disable it.

Otherwise, the problem may have been caused by the recent installation of a Modification, I'm assuming this has not happened before?
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

median

Yes, I have checked that box to disable evaluation but the problem still persists. I have not had this problem before. Also, for some reason I cannot access the theme creator's forum. It says I am banned, but that doesn't make sense because I haven't posted there.

SA™

yes the problem will still be there but checking Evaluation of Templates will show the real error

Fatal error: Call to undefined function create_buttons() in /home/rockba5/public_html/innatedebate.com/Sources/Load.php(2247) : eval()'d code on line 460

all that tells us now is that there is an undefined function  with Evaluation of Templates disabled it will show the error comes from
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Chas Large

Quote from: median on August 11, 2012, 09:26:00 PM
Yes, I have checked that box to disable evaluation but the problem still persists. I have not had this problem before. Also, for some reason I cannot access the theme creator's forum. It says I am banned, but that doesn't make sense because I haven't posted there.
You may not be but your IP might be, as it's most likely a dynamic one. Reboot your router and your ISP will give you a new IP dynamically so you could try the forum again.

Having said that, by referring to "the theme creator's forum" implies you're not using the default curve theme. Can you switch to that and then try creating a locked stickie (do it in your private Admin area if you have one) so you can check to see if the error occurs again. If it does, then it's not a Theme issue but most likely a Mod clash. If not, then again, try contacting the Theme creator.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

median

Ok, so I reset my router and modem but that didn't work, as far as solving my "banned" issue on the Curve Steel creator's forum. Second, I switched to the default SMF theme and the error went away. However, I would like to continue using the Curve Steel theme b/c I have done a bunch of work on it and I like the colors etc. What is the best way to fix this problem? I'm assuming it must be an issue with the Curve Steel theme.

ziycon

It does seem to be an issue with the custom theme, can you post any error you got in the forum logs in the admin section when you get this error on screen?

Chas Large

According to my list of Themes, the "Curve Steel" theme has not been Authorised for distribution here but there is a "Steel" theme which can be found here:

http://custom.simplemachines.org/themes/index.php?lemma=2607

At the bottom of that description is a Comments button which points more on the theme here:

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

If this is the theme you are using and having problems with, it's best to contact the Theme author via that support topic.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

ziycon

Quote from: Chas Large on August 13, 2012, 07:45:01 AM
According to my list of Themes, the "Curve Steel" theme has not been Authorised for distribution here but there is a "Steel" theme which can be found here:

http://custom.simplemachines.org/themes/index.php?lemma=2607

At the bottom of that description is a Comments button which points more on the theme here:

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

If this is the theme you are using and having problems with, it's best to contact the Theme author via that support topic.
Nice spot, ignore my previous post, your best to contact the author.

median

I have tried everything I know how to do but the author's site keeps saying I am banned. I don't get it.

Here is his site:

http://themes.e-debatten.dk/


mybiafraland

ok you can use this http://www.mediafire.com/?dfeof1vhsemwklk to access the forum . just lunch the app and open the site asap
"I don't know the key to success, but the key to failure is trying to please everybody." - Bill Cosby
on another note==>> Before sex.. you help each other get na'ked, after
sex you only dress yourself.... Moral of the story:
in life no one helps you once you're fuc'ked
My mentor's Blog hoping  my site beats nairaland someday

median

#11
Why would the forum be blocking me? If for some reason the site is being censored, that doesn't make sense because it wasn't censored when I downloaded the theme the first time.

Also, this Freegate app you posted slowed down my PC big time. It locked up Firefox and I had to restart. It also said I was blocked from using it because it's only for people in China. I don't get it.

median

Quote from: mybiafraland on August 15, 2012, 11:58:19 AM
ok you can use this http://www.mediafire.com/?dfeof1vhsemwklk to access the forum . just lunch the app and open the site asap

It seems that Akyhne is a guy names Alex who is from Denmark. Does anyone know about this person? I was using his Curve Steel theme but now I am blocked from his site. Why would this be? Is there a way to contact him and ask?

Thx

Chas Large

Quote from: median on August 15, 2012, 11:42:39 AM
I have tried everything I know how to do but the author's site keeps saying I am banned. I don't get it.

Here is his site:

http://themes.e-debatten.dk/
Well if it's not banning you by IP, it'll be by username or e-mail address. You could try re-registering with new credentials. I've just registered there without any issues.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Chas Large

Just downloaded the "Steel" theme from Akyhne's website AND from the theme link I posted earlier, they are identical so you should be able to use the support topic I posted earlier to get help from Akyhne.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

median

I'm not sure what is going on because I have attempted to visit the site through my neighbors IP as well, and it is still saying BANNED. But I never registered there and only downloaded the theme and installed it. Can someone shoot Alex a message asking him to contact me through here, or help?

-Oops, nevermind about the last question. I found Alex on here and just shot him a message.

Thx guys!

Chas Large

Quote from: median on August 15, 2012, 02:48:03 PM
I'm not sure what is going on because I have attempted to visit the site through my neighbors IP as well, and it is still saying BANNED. But I never registered there and only downloaded the theme and installed it. Can someone shoot Alex a message asking him to contact me through here, or help?

-Oops, nevermind about the last question. I found Alex on here and just shot him a message.

Thx guys!
I know we've wandered way off topic now but could you post a screen shot of the "Banned" message you get when trying to use that site? It might just be that the ban is of the site by your ISP rather than the site blocking you.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Akyhne

Attach your index.template.php file here. It has probably been corrupted for some reason.

All usernames, IP's and email addresses are checked for being spammers on my site, via stopforumspammers.com's database. So one of those three things are probably on that list, if you can't get to my site.

median

Thanks for the reply! I am certainly not a spammer, lol. Ok, attached is the index file. I really love your Curve Steel theme and don't want to stop using it. Any help on this would be amazing. My site is www.innatedebate.com

median

p.s. - I have also included a screenshot of the banned page.

Akyhne

Well, that index.template.php file is not from my theme, it's not even the file from the Default Curve theme.

What's the first digits in your IP address? It's probably your IP that is banned.

median

Hm, that's weird because I JUST backed up my site. I pulled that index file from the Themes/Curve_Steel_2  folder. Is this not where it would be located?

-my ip starts with 192.168

Akyhne

That is the folder. Download the Steel theme again, and upload the proper file.

Your local IP starts with 192.168... try whatismyip.com
I found your trigger to your ban and I've disabled the ban. Seems the name "Median" is used by many spammers.

median

Dang spammers trying to steal my name! LOL.

Ok, I will upload a fresh copy of the theme and report back.

p.s. - I did upload a color changer to the theme. It changed the colors of your theme to the grey/red/black one here:

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

p.p.s. - Shoot, if I upload a new copy of the theme is it going to delete or mess up my mods?

Advertisement: