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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 565
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 542
  • Total: 542

Error

Started by PHXMaximus, December 10, 2009, 04:35:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PHXMaximus

Hello Friends,

I keep having an error come up in the error log, and after a few days of trying to track it down myself, I have to ask for some help. I am running TP 1.0 beta 4 with SMF 1.1.11 (upgraded from 1.1.10). It is after the upgrade, that I believe the error started showing up. Here is what it looks like;

8: Undefined index: tp-from
File: /home/clanphx/public_html/Sources/TPSubs.php
Line: 1394

When I look at line 1394 from TPSubs.php, the line itself is blank and this is the code that is around there;

// Here loop through the array, printing the images/rows/separators!

      foreach ($context['bbc_tags'][0] as $image => $tag)

      {

Also, as a separate issue, some of my members get the following error when trying to use the TP shout box (this has happened since installation);

"Unable to verify referring url. Please go back and try again."

Any ideas?

Thank you for your assistance!

PS Other mods I am running include;

1.     YouTube BBCode      2.5.1      
2.    SMF Gallery Lite    2.0.7    
3.    TinyPortal    1.083    
4.    SMF Gallery Pro    2.5.3    
5.    SMF 1.0.19 / 1.1.11 Update    1.0    
6.    Enhanced Quick Reply Box 2.0.2    2.0.2    
7.    Treasury    2.36
8.    Unread and Replies Tabs in Main Menu    2.0
9.    Yarex 2 smiley set    2.0.0.1    
10.    XFire Profile Modification    2.0

ZarPrime

PHXMaximus,

As you have surmised, this error most likely has nothing to do with TinyPortal.  The upgrade to SMF 1.1.11 was known to have caused problems on some Forums, most notably those that make use of certain Mods, especially those that have something to do with images.  This topic on SMF may shed some more light ...
http://www.simplemachines.org/community/index.php?topic=351548.0

I would suggest you make a backup, revert to the SMF default theme, and uninstall the SMF 1.1.11 upgrade and see if the problem persists.  If that fixes the problem, you likely have another Mod installed (not TinyPortal) that is breaking the upgrade to SMF 1.1.11.  In that case, this question would be better asked in that topic at SMF but to solve the problem, you may have to uninstall the other Mod or Mods that are causing the problem until an update for them becomes available.

ZarPrime

IchBin

In the TPortal.english.php file you should have this line:
$txt['tp-from'] = 'From ';

If you are using UTF8 or another language, you'll need to have that same line in those files.

As for your "Unable to verify referring url" error, that can happen if you have your forum URL set to http://yoursite.com and someone is browsing your site using http://www.yoursite.com. If they post using the www URL the referring URL is different than your SMF setting. Same goes vice versa.

PHXMaximus

Thank you both very much for the info! I will add that line to the UTF8 file and see what happens!

This website is proudly hosted on Crocweb Cloud Website Hosting.