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,240
  • Total Topics: 21,353
  • Online today: 722
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 543
  • Total: 543

smileysEnabled "more" error

Started by OxiDia, September 28, 2009, 04:49:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

OxiDia

The smileysEnabled error Bugtracker has Status: closed
http://www.tinyportal.net/index.php?action=bugtracker;sa=bug519

But...

Upgraded the forum to SMF 1.1.10 and TP 1.0 beta 4, at the Forum error log (and still getting)
(same error ââ,¬Å"29 800 times +700/hââ,¬Â 26 September, 2009, 23:32:31 ââ,¬â€œ 28 September, 2009, 17:35:35)
8: Undefined index: smileys_enabled
Fil: /customers/svenskamord.se/svenskamord.se/httpd.www/Sources/TPmodules.php
Rad: 1758



Downloaded /Sources/TPmodules.php, made a copy, edited the copy
$row['body'] = parse_bbc($row['body'], $row['smileys_enabled']);
To:
$row['body'] = parse_bbc($row['body'], $row['smileysEnabled']);

Uploaded the edited TPmodules.php, the webpage shout down with the error code:
Parse error: syntax error, unexpected T_IF in /customers/svenskamord.se/svenskamord.se/httpd.www/Sources/TPmodules.php on line 1

Uploaded the unedited file TPmodules.php still the same error:
Parse error: syntax error, unexpected T_IF in /customers/svenskamord.se/svenskamord.se/httpd.www/Sources/TPmodules.php on line 1

Had to upload the installation file from the zipped installation pack to get the site working again.

How and what should I do to get error codes disappear without a crashed site.

IchBin

The code change you made should not give that error as far as I can tell. If you can try the change again on your working file and let us know if it works.  Don't forget to make sure you still have a backup. If you still get the error, please post the file that you are having an error with.

okisinpo

yeah I'm getting the same problem.


: Undefined index: smileys_enabled
File: /home6/???/public_html/riffraff/Sources/TPmodules.php
Line: 1758

sorry I hid ??? for a security reason.

site name is:
riffraff.omgnopk.com


(C&P) Mods being used:
Mod Name Version
1. Allow Access while in Maintenance Mode 1.0  [ Uninstall ] [ List Files ] [ Delete ]
2. Advanced image uploader 1.1.0  [ Uninstall ] [ List Files ] [ Delete ]
3. Aeva ~ Auto-Embed Video & Audio 6.9.101  [ Uninstall ] [ List Files ] [ Delete ]
4. Aion Syndication 1.1  [ Uninstall ] [ List Files ] [ Delete ]
5. Link Tree 1.1.0  [ Uninstall ] [ List Files ] [ Delete ]
6. XFire Field 1.3  [ Uninstall ] [ List Files ] [ Delete ]
7. SMF Ajax Registration Feedback 1.0.0  [ Uninstall ] [ List Files ] [ Delete ]
8. AjaxChat Integration 3.2.1  [ Uninstall ] [ List Files ] [ Delete ]
9. TinyPortal 1.083  [ Uninstall ] [ List Files ] [ Delete ]

Please help me...

IchBin

Did you make the edits to fix the error?

OxiDia

The dBase is over 100 MB, and handling the backup with phpMyAdmin is a big hassle...

As of above, I also tested on the original file, but It gave the same crash, so I don't know what's wrong or what to do.

I only made the upgrade end optimization to get the site safer and working betterââ,¬Â¦

In addition, I don't want the site go down because of this error, or have the site down for a couple of days or weeks as last timeââ,¬Â¦

I'm posting both files, the fist one that didn't work with fix and the original one that's holding the site up (without fix).

Quote from: IchBinâ„¢ on September 28, 2009, 05:17:11 PM
The code change you made should not give that error as far as I can tell. If you can try the change again on your working file and let us know if it works.  Don't forget to make sure you still have a backup. If you still get the error, please post the file that you are having an error with.

G6Cad

What editor do you use ?  The code is in one big long line so thats the reason you get that error.

Try this file instead.


OxiDia

I used Notepad so it shouldnââ,¬â,,¢t go wrong, because of editor.
I will try your fix tonight, when the traffic slows down...

Quote from: G6 on October 01, 2009, 10:03:01 PM
What editor do you use ?  The code is in one big long line so thats the reason you get that error.

Try this file instead.



G6Cad


okisinpo

it fixed it for 20 seconds and its back again for me after trying your tpmodule fix on my site...

G6Cad

then you must do something terrible wrong or your permissions wont allow you to change anything in the files.
delete the file from the server and then upload my file again. Make sure the old file is erased

This website is proudly hosted on Crocweb Cloud Website Hosting.