TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,996
  • Total Topics: 21,327
  • Online today: 386
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 203
  • Total: 203

boardurl errors

Started by whoesa, May 18, 2006, 07:49:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

whoesa

I looked in my forum error log and it's full with the same errors and loading more error pages very fast.

They are all 8: Undefined variable: boardurl in Line: 2


http://www.forecaddiebuddies.net/index.php?action=forum 
8: Undefined variable: boardurl
File: /home/forecadd/public_html/Themes/TP_black22_11rc2/BoardIndex.template.php (eval?)
Line: 2


http://www.forecaddiebuddies.net/index.php 
8: Undefined variable: boardurl
File: /home/forecadd/public_html/Themes/default/TPortal.template.php (eval?)
Line: 2


http://www.forecaddiebuddies.net/index.php?topic=107.msg428 
8: Undefined variable: boardurl
File: /home/forecadd/public_html/Themes/TP_black22_11rc2/Display.template.php (eval?)
Line: 2


http://www.forecaddiebuddies.net/index.php?action=arcade 
8: Undefined variable: boardurl
File: /home/forecadd/public_html/Themes/default/Arcade.template.php (eval?)
Line: 2



and much much more.......

Do anybody know what cause these errors and what i can do about it?

ontap

it may be for alot of reasons, what kinda blocks are your using would one be "Calendar php-block"
might be something to do with SMF Arcade.

version of TP & SMF?

G6Cad

If you have the arcade installed and if you havent done the codechange needed in every display.template.php for the themes you are using, you will end up with errors.

If you go to smfarcade.net you will have several fixes for the arcade mod and how to fix the files for other themes used :)

whoesa

Hi,

I use TP 0.86 ,SMF 1.1rc2, Flashchat 4.5.7 and Arcade 1.3.0RC1+mods+1score+2in1

I used this to integrate flashchat with 1.1rc2 default theme:
http://www.simplemachines.org/community/index.php?topic=66561.0

I used this to install Arcade and did it for each theme:
http://www.smfarcade.net/index.php/topic,1054.0.html

Everything is working just fine but i only keep getting lots of those errors in error log. More than 100 error pages a day. I am just worried something bad is gonna happen to my site. :o


G6Cad

As i said, Take a look at smfarcade.net and read through the fixes they have for that arcade you have installed.
I have the same arcade and had the same errors as you. The fixes they have works and now im error free ;)

whoesa

Well i checked there allready and i even start a topic there with the same question but i really can't find fixes.
In fact, they tell me it's not the arcade mod because i uninstalled it and those errors were still coming. I got  new errors when i installed it again.

http://www.forecaddiebuddies.net/index.php?action=packages;sa=install2;package=SMFArcade_130_RC1_MOD_E1-2.zip 
8: Undefined index: images_url
File: /home/forecadd/public_html/Sources/Load.php(1607) : eval()'d code
Line: 119


Could you give me the link to those fixes that worked for you please?
Sorry but i really don't know what to do here.


G6Cad

Uninstall the arcade mod and not what files it have changed, and then overwrite them with new ones.

I support this forum, and TP, you really have to look for your self in other forums for fixes to the mods made by others.
On the arcade site you have the FAQ section, and then in the Hacks section you have a lot of fixes made by eeek.
They arent all that fast in reply sometimes, but you will get help there.


eeek

I'll post this here..just to make sure you see why I said I didnt think it was the arcade :)

dont worry about the errors when you install it..thats just too bad, everybody gets them. :) If you had read the instructions..you would know this!

If you uninstalled the arcade and still get the errors..it not the arcade :) as its not there anymore..

NONE of the edits required for the arcade involve $boardurl.  If its in the arcade its in the arcade. If its in the files the edits go in to then its there..unless someone removed it :)  Now it cant be a problem "in" the arcade or everyone would have it. It cant be a problem with the edits, as its not in them and everyone would have it.

This leaves a choice...its something you have done or its something else :)

whoesa says:
QuoteI used this to integrate flashchat with 1.1rc2 default theme:

flashchat instructions says:
QuoteThese instructions are for the 1.1 RC2 DEFAULT THEME - no guarantees on any other theme.

Are you using the default theme? As i would assume you need to edit ALL themes, especially since $boardurl is one of the edits :)




whoesa

Well i found where all those errors came from.

It was a block i added last time called Who's chatting.
I de-activated and now my forum is error free  :)

Now i only have to find what's wrong with that code.

Sorry for all the trouble.

G6Cad

This is the code im using in a Block to view whos in the chat rooms :)

global $boardurl;
echo '
<iframe frameborder="0" height="100" src="', $boardurl, '/chat/info_embedded.php" style="width: 100%; margin: 0; padding: 0; border: 0; overflow: hidden;" scrolling="no" border="0" allowtransparency="true"></iframe>';


I think that the code you have is actually the same, but perhaps with out the global $boardurl; ?

This website is proudly hosted on Crocweb Cloud Website Hosting.