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,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 466
  • Total: 466

Update to latest version broke all PHP blocks and Recent Articles block!

Started by DistantJ, October 19, 2010, 07:28:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ZarPrime

No clue.  Maybe the problem was in the last version and the files here didn't get updated properly.  I still have a beta 5.2 test site.  I'll check it there to see if that block type is working.

ZP

IchBin

I see the problem. It would appear Bloc may have changed the queries or something between the latest version. He's referencing a variable for a time stamp that doesn't seem to exist. You can add this line of code on about line #2682 to fix it in TPSubs.php.
$now = forum_time();

DistantJ

Yep, adding that line worked a charm! Good job IchBin, and thanks!

ZarPrime

I will place this in the bugTracker and mark this topic solved.

ZarPrime

This website is proudly hosted on Crocweb Cloud Website Hosting.