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

Recent

Welcome to TinyPortal. Please login or sign up.

July 01, 2024, 07:41:00 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,283
  • Total Topics: 21,227
  • Online today: 93
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 85
  • Total: 86
  • tino

A couple of errors that are showing up after I installed TP v. 1.0 Beta 3

Started by Jakki, March 02, 2009, 08:34:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jakki

In my above post they told me to come here.  Kat from SMF told me it was a Tinyportal error...

IchBin

Jakki, I'm not saying you need to go back to SMF to post. I'm telling you that SMF has a setting that will help US help YOU to figure this out. Find it, enable it. This will tell us for SURE if it is indeed happening in the blocks template. Please try my suggestions from my previous post as well and report back.


IchBin

Aha! Found the setting. :) Try the following setting. Place it in your Settings.php file temporarily. Once you get the error from this, post it here if its different that what you posted already. It shouldn't matter where you place this as long as its not inside another statement, and it is inside the <?php tags. :D

$db_show_debug = true;

I think after enabling this setting you should see the error at the top of your page.

Jakki

I found they error there was double coding in that TPblockstemplate.php, thank god for winmerge to compare files.  I compared that file with a new file out of the TP download. It's fixed and no more errors.

Inny

Wanted to say, since the way to add the debug info is here, for those kind of errors i think you should disable eval(); aswell.
Then of course you need to enabled it back.

Code (Disable) Select

INSERT INTO smf_settings VALUES ('disableTemplateEval', 1);


Code (Enable) Select

INSERT INTO smf_settings VALUES ('disableTemplateEval', 0);

Renegd98

I have used this method several times and it does help to pinpoint the error.

bloc

Quote from: Jakki on March 02, 2009, 10:46:31 PM
I found they error there was double coding in that TPblockstemplate.php, thank god for winmerge to compare files.  I compared that file with a new file out of the TP download. It's fixed and no more errors.

Great you found the error. :) But this was TPBlocks.template? Was it an earlier version of it there perhaps?

Normally when TP upgrades it overwrites all TP files, to be sure all files are correct..but if you do it manually etc. that might not happen.

Jakki

That's what happened Bloc. Even after I uploaded the new files manually I was still getting that error so I pulled that one down and compared it to a new fresh one.
I had to manually install TP on my site. I'm just glad it is fixed and the new TP is awesome.