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: 326
  • Total: 326

Error?

Started by problempcs, May 26, 2009, 02:14:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

problempcs

www.problempcs.co.uk
Forum version: SMF 1.1.8
TinyPortal v1.0 beta 4
Anecdota 117

Hi all,

I keep getting this error, its filing up my error log for every page someone visits  :-\

8: Undefined index: smileys_enabled
File: /customers/problempcs.co.uk/problempcs.co.uk/httpd.www/Sources/TPmodules.php
Line: 1758

Hope you can help :)

IchBin

Have you searched the forum here for that error? I know its been covered already. I just don't remember the fix.

problempcs

Hey,

I had this error and now its fixed :)

you need to  source/edit tpmodules.php

line 1758

change from smileys_enabled to smileysenabled

basically just delete the underscore.

Thor{DoH}

Quote from: problempcs on May 26, 2009, 08:19:13 PM
Hey,

I had this error and now its fixed :)

you need to  source/edit tpmodules.php

line 1758

change from smileys_enabled to smileysenabled

basically just delete the underscore.

Just to give the full example. Find:

$row['body'] = parse_bbc($row['body'], $row['smileys_enabled']);

and change it to:

$row['body'] = parse_bbc($row['body'], $row['smileysEnabled']);

in the file mentioned above, Sources/TPmodules.php

KaanTurk

Thanks Thor{DoH}, you are excellent!

smartmouse

I had the same problem and i solve it using this fix. Thank you!

But... i like to understand... so why we have this error and why we have to fix in this way?

IchBin

It's an error in the code because people make mistakes when writing code (called bugs), this fix has been put in for the next beta release.

smartmouse


This website is proudly hosted on Crocweb Cloud Website Hosting.