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

forum error log reports...

Started by darkangel, February 21, 2011, 09:03:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

darkangel

Undefined index: description
File: /home/xxx/public_html/xxx/tp-files/tp-modules/TPShout/Sources/TPShout.php
Line: 800

when viewing that error it is about onclick="replaceText for the smiley code

how can i get rid of it please

all themes



Fantasies Attic link

IchBin

You'll need to run this in phpMyAdmin to get the correct error output. That error does not exist in the TPShout.php file that I can see. Try running this query, then reproduce the error and post the new error text. It should give a different filename, as well as a different line number.

REPLACE INTO smf_settings VALUES ('disableTemplateEval', 1);


darkangel

ok but since I have the mod to disable it installed and checkmarked should I still run it in myPHPadmin?

IchBin

The checkbox, does it disable or enable template eval?

darkangel

it disables it and I checked the database and it is set to the number you have in the code you gave me too

IchBin

Well I don't have anything remotely related to your error at line 800 in the TPShout.php file. So unless you've modified it, there's not much I can do unless you post your file and let me take a look at it.

darkangel

yes it was modified to remove the ava from the shoutbox, added drop down menu for color choices and also my smilies to the list replacing the ones there. so here it is.

IchBin

Yep, it's because you changed the smiley's and left out all the descriptions.

Your code:
array('code' => ':evil:', 'filename' => 'evil.gif', 'description'),
array('code' => ':eyescan:', 'filename' => 'eyescan.gif', 'description'),
array('code' => ':gogo:', 'filename' => 'gogo.gif', 'description'),
array('code' => ':thud:', 'filename' => 'thud.gif', 'description'),
array('code' => ':hubbahubba:', 'filename' => 'hubba_hubba.gif', 'description'),
array('code' => ':it:', 'filename' => 'itwasher3.gif', 'description'),
array('code' => ':kissie:', 'filename' => 'kissie.gif', 'description'),
array('code' => ':ahhhh:', 'filename' => 'overreactionalert.gif', 'description'),
array('code' => ':peep:', 'filename' => 'peep-1-1.gif', 'description'),
array('code' => ':waveass:', 'filename' => 'waveass.gif', 'description'),
array('code' => ':lurker:', 'filename' => 'threadsneaker.gif', 'description'),
array('code' => ':wigglebutt:', 'filename' => 'wigglebutt.gif', 'description'),
    array('code' => ':zipit', 'filename' => 'zipit.gif', 'description')


Original code:
array('code' => '8)', 'filename' => 'cool.gif', 'description' => $txt[295]),
array('code' => '???', 'filename' => 'huh.gif', 'description' => $txt[296]),
array('code' => '::)', 'filename' => 'rolleyes.gif', 'description' => $txt[450]),
array('code' => ':P', 'filename' => 'tongue.gif', 'description' => $txt[451]),
array('code' => ':-[', 'filename' => 'embarrassed.gif', 'description' => $txt[526]),
array('code' => ':-X', 'filename' => 'lipsrsealed.gif', 'description' => $txt[527]),
array('code' => ':-\\', 'filename' => 'undecided.gif', 'description' => $txt[528]),
array('code' => ':-*', 'filename' => 'kiss.gif', 'description' => $txt[529]),
array('code' => ':\'(', 'filename' => 'cry.gif', 'description' => $txt[530])


If you don't care about the description part of it, you must at least set it to being empty.
array('code' => ':wigglebutt:', 'filename' => 'wigglebutt.gif', 'description' => ''),

darkangel

ok thanks loads. I figured I mucked it up in there. I sometimes get that message about our colors like hot pink or deep pink but usually ignore those since I have no clue how to make them be known but for some odd reason this one bugged me...lol

have a great week.

This website is proudly hosted on Crocweb Cloud Website Hosting.