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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 448
  • Total: 448

Recent topics for SMF2

Started by IchBin, February 22, 2010, 07:53:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shane is my name

let me ask you one quick question before i post a new topic...

do you get alot of errors in your error log in admin section?
just curious, because even when i was using 1.1.10, I looked in the error log and saw alot of errors,  but it never caused no issues.  Im just wondering are some errors just normal to get due to complexity of smf / tp?  and they are accepted, but just ahv eto work on critical errors?


IchBin

Sure. I get a ton of errors just from bots trying to hack the site. Not to mention other errors that happen. Just don't let the error log get to big as that can cause some slowness to my recollection.

One thing you should test before posting, is to remove the block that you using for this to see if you still get the premature script end error.

shane is my name

Oh ok, just wanted to make sure it wasnt just me getting so many errors. lol.
Yeah i removed the block and i dont get the error no more. i put it back, and i get it. I repeated it a bunch of times and it same results, but it must be something in combination with it cause i just used same block on another test forum, and it never hgave me that error... so Its my forum.  :( sobb sobb. lol. 

Im sorry for taking this 'Recent Topics' thread so far in another direction. 
sincerely.  And I appreciate your help you gave.

Svaha

Thanks for the revival of the recent topics script  :up:

I've a little problem with this (don't know if it's a script error or has something to do with utf-8)

I'm using SMF 2.0-rc3 and Tiny Portal 1.0 beta 5-1.

When I click on the link (on the right) it leads me to the beginning of a topic, not to the end.

This is the error message I receive :


http://www.mysite/index.php?page=02;type=hours

8: Use of undefined constant last_post - assumed 'last_post'

Bestand: /home/domains/mysite/cache/lang_Aeva_dutch-utf8_default.php (main sub template - eval?)
Regel: 481

IchBin

The code in the first post has been updated. The "last_post" error should be gone.

Svaha

I'm sorry, to be absolutely sure I copied the php script of the first post into the article once again, but the error remains.
Could it be that this is cached?

IchBin

Sorry, I missed one other spot. Code in first post updated again. :)

Svaha

Thanks for your efforts.
I tried the new code but still get errors and no link to the last message.


Undefined index: id_last_msg
Undefined index: ID_LAST_MSG
Undefined offset: 92
Undefined index: ID_FIRST_MSG

IchBin

Ok, there's no errors on my side now. Let me know if there are for you.

Svaha

YES, YES you did it !!!
No errors, thanks very much  :up:

This website is proudly hosted on Crocweb Cloud Website Hosting.