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,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 322
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 336
  • Total: 336

Having problem with add article

Started by pendusingh, July 10, 2009, 07:03:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pendusingh

hey guys i am having some odd issues with articles..

Like: whenever i want create new Article, So i click to "add BBC" link.... page open fine... & looks fine too.... but whenever i hit Save Button(mean when i try to submit the article), i get this error:

Fatal error: Call to undefined function preparsecode() in /home/content/p/e/n/hostingname/html/Home/Sources/TPortalAdmin.php on line 1016


any help ????

i would appericate about it.... Please help me soon as possible.

IchBin

I would love to help, but I have no idea what to tell you because I don't know what version of SMF and TinyPortal you are using. I could see this normally if you posted a link to your site too. Its best if you would in the future follow our Posting Guidelines. Thanks!


Renegd98

Yes, this fix works...

We need to get this fix into the next version...


pendusingh

thanks friends so much for quick replies... i fixed this error by using this method:

QuoteFind around line 1015 - 1016...


Code:
if($art_type=='bbc')
     preparsecode($artbb);
Change to :


Code:
if($art_type=='bbc')
{
     require_once($sourcedir . '/Subs-Post.php');
     preparsecode($artbb);
}

IchBin bro i am sorry about it.. i will post all the info next time, if i have any other question.
thanks once again.

G6Cad


This website is proudly hosted on Crocweb Cloud Website Hosting.