TinyPortal
Development => Support => Topic started by: BlinD on May 28, 2009, 10:28:12 PM
SMF version: SMF 1.1.9
TP version: TP ver. 1.0 Beta 4
Theme name and version: Custom Theme/Default
Browser Name and Version: firefox 3
Mods installed: SMFGallery, TP.
Related Error messages: Fatal error: Call to undefined function preparsecode() in TPortalAdmin.php on line 1016
This happened after updating my SMF and TP (updated from 1.1.8 and 1.0 beta 3). Everything seems to be working fine except the articles. Whenever I click the "save" button, i get the following error above. I installed TP threw the package manager, but i have also tried overwriting TportalAdmin.php manually, and still get the same error.
This is what is on line 1016 in my TPortalAdmin.php
preparsecode($artbb);
UPDATE: So far, this seems to only happen, when i try to add a BBC article. As I can add HTML & PHP articles without any errors.
I can confirm this error. I just tried to create a BBC article and received the following upon hitting save:
Fatal error: Call to undefined function preparsecode() in /home/nobss/public_html/smf/Sources/TPortalAdmin.php on line 1016
I tried this on 2 different sites.
I will file a bug in the tracker and reference this post. Thanks for finding this error BlinD.
Line 1015-1016 of TPortalAdmin.php is:
if($art_type=='bbc')
preparsecode($artbb);
See here for a possible fix :
http://www.tinyportal.net/index.php/topic,29789.0.html
Thanks, i had this error and now it's gone.
No problem 8)
Topic marked solved because it's in the bugtracker ...
http://www.tinyportal.net/index.php?action=bugtracker;sa=bug513
ZP