Advertisement:

    ? Character problem.

Aloittaja genieuk, marraskuu 10, 2008, 12:27:39 IP

« edellinen - seuraava »

genieuk

Hi,

I find when i edit a post where there is a smiley next to the text, once i submit editted post i get '&nbsp' (without quotes). Can someone help me and tell me why i keep getting these strange characters when editing posts, from what i can tell it only happens when a smiley has been placed next to the text.

Thank you
Mathew

ccbtimewiz


genieuk

#2
Hi sorry.

I disable my error log as i get thousands of eval errors so to find an exact error when i get those eval errors is a nightmare. I wish i could get rid of them for good. I think nearly every mod i have installed via package manager gives an eval error after i installed. May i ask whilst at it what does those eval? error thingys actually mean as my site works fine so not sure why they are caused and if serious, they just cause hundreds of pages of errors, within about 5 clicks i can get well over a dozen pages in error log all saying eval at the end.

SMF 1.1.7 (was happening before upgrade)

    0. RSS Feed Icon 1.1   

  • Stars to Profile 1.0.1
    Display Age and Location next to posts    1.0   
  • Advanced Login Form 1.0   
  • AddThis Social Bookmarks 1.0         
  • Add IP2Location to Track IP 1.1   
  • Reflection Avatar 1.0     
    Registered Links 1.0         
  • Custom Action Mod 2.04         
  • 10. Custom Profile Field Mod 3.19         
  • Treasury 2.30   
  • 12. Ad Managment 2.3         
  • Profile User Action 1.1         
  • Profile Comments 1.4   
  • SMF Ajax Registration Feedback    1.0.0   
  • SMF Gallery Lite 1.9.4   
  • User Control Panel By Alan S 2.0   
  • Skype Integration 1.0         
  • Twitter Field 1.0   
  • Drafts (for 1.1.x) 1.08   
  • SMF Staff Page 1.6   
  • PM On Registration 1.0.2   
  • Highslide Image Viewer 1.0 RC3         
  • URL Popup Tr 1.0   
  • SMF Sitemap 1.2.2         
  • VisualWarning 1.42   
  • SimplePortal Classic 2.0.5   
  • Invite 1.14         
  • Google Talk Field 1.0.5   
  • Signature Settings Mod 1.1         
  • Signature Area BBCode Buttons 1.5         
  • SMF Gallery Lite 1.9.3   
  • Moderator Activity Report for    SMF1.1.4 1.2   
  • User Email System 1.3         
  • Highslide Image Viewer 1.0 RC7     
    SMF 1.0.15 / 1.1.7 Update 1.0         
  • SMF Links 1.7   
  • Auto Embed Video/Audio Clips 4.0.2           
  • Pretty URLs - Base 0.8.4   
  • Blog Community (for 1.1.x) 2.0.2   
  • Permissions_Info 1.2         
  • NextPostLevel 1.0         
  • Tagging System 1.1.1   
  • Custom_Greeting_Depending_on_Time    0.8         
  • Enhanced_Custom_Help_Pages 1.0    Beta 0.5.2         
  • User Attachment Quota 1.02         
  • RateThatTopic 1.0   
  • Auto Email Inactive Users 1.7         
  • Google Tagged 1.4   
  • Cilickable posts 0.1     
    Posting_Announcement 1.1.1   
  • PDF Tag 1.0   
  • Custom Copyright 1.1   
  • reCAPTCHA for SMF 0.9.5.3     
         Mod Name Version 1. 


RSS Feed Icon 1.1   

  • Stars to Profile 1.0.1
    Display Age and Location next to posts    1.0   
  • Advanced Login Form 1.0
       
  • AddThis Social Bookmarks 1.0         
  • Add IP2Location to Track IP 1.1   
  • Reflection Avatar 1.0     
    Registered Links 1.0         
  • Custom Action Mod 2.04         
  • 10. Custom Profile Field Mod 3.19         
  • Treasury 2.30   
  • 12. Ad Managment 2.3         
  • Profile User Action 1.1         
  • Profile Comments 1.4   
  • SMF Ajax Registration Feedback    1.0.0   
  • SMF Gallery Lite 1.9.4   
  • User Control Panel By Alan S 2.0   
  • Skype Integration 1.0         
  • Twitter Field 1.0   
  • Drafts (for 1.1.x) 1.08   
  • SMF Staff Page 1.6   
  • PM On Registration 1.0.2   
  • Highslide Image Viewer 1.0 RC3         
  • URL Popup Tr 1.0   
  • SMF Sitemap 1.2.2         
  • VisualWarning 1.42   
  • SimplePortal Classic 2.0.5   
  • Invite 1.14         
  • Google Talk Field 1.0.5   
  • Signature Settings Mod 1.1         
  • Signature Area BBCode Buttons 1.5         
  • SMF Gallery Lite 1.9.3   
  • Moderator Activity Report for    SMF1.1.4 1.2   
  • User Email System 1.3         
  • Highslide Image Viewer 1.0 RC7     
    SMF 1.0.15 / 1.1.7 Update 1.0         
  • SMF Links 1.7   
  • Auto Embed Video/Audio Clips 4.0.2           
  • Pretty URLs - Base 0.8.4   
  • Blog Community (for 1.1.x) 2.0.2   
  • Permissions_Info 1.2         
  • NextPostLevel 1.0         
  • Tagging System 1.1.1   
  • Custom_Greeting_Depending_on_Time    0.8         
  • Enhanced_Custom_Help_Pages 1.0    Beta 0.5.2         
  • User Attachment Quota 1.02         
  • RateThatTopic 1.0   
  • Auto Email Inactive Users 1.7         
  • Google Tagged 1.4   
  • Cilickable posts 0.1     
    Posting_Announcement 1.1.1   
  • PDF Tag 1.0   
  • Custom Copyright 1.1   
  • reCAPTCHA for SMF 0.9.5.3     


genieuk

Hi,

No i dont use uft8. I use just the normal english, no other languages etc and not uft8.

Thank you,
Mathew

genieuk

anyone know of a possible solution please?  ::)

Thanks
Mathew

tatore

How to disable template eval error and why, by ccbtimewiz                         
With 49 mods it isn't easy to understand and detect the conflicts.
*Salvo*




Lainaus käyttäjältä: RumbaarI wont jump to conclusion, but you might be hacked?

DirtRider

Admin CP - Posts and Topics - Censored Words - add   to  

Check only whole words:  not selected
Ignore case when censoring:  selected    
http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

searchgr

This was an old problem of Auto Embed Video/Audio Clips 4.0.2 .

genieuk

Lainaus käyttäjältä: searchgr - marraskuu 11, 2008, 05:18:29 AP
This was an old problem of Auto Embed Video/Audio Clips 4.0.2 .

Oh rite, i got the latest version so not sure why i amm getting it then. Problem is when i do an edit the smiley also no longer shows as the gap between the smiley and text dissapears so the smiley comes part of the strange characters.

Maybe i should ask the mod author then.

Thank you,
Mathew

DirtRider

http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

genieuk

#11
Hi we,, here are the errors after disabling eval. I am trynig your way in a bit DirtRider thanks. Is that what the solution was for the aduio/video mod ???

Really would love to hav my error log back on as it so vital to sort out problems but because of so many evals i disabled it, maybe time has come where i can enable it for good  :D

8: Undefined index: b348
File: /home/sites/foreverlastingfriends.com/public_html/Themes/OutlineOmega_115/index.template.php
Line: 574

8: Use of undefined constant treasury_menu - assumed 'treasury_menu'
File: /home/sites/foreverlastingfriends.com/public_html/Themes/OutlineOmega_115/index.template.php
Line: 769

8: Undefined variable: user_info
File: /home/sites/foreverlastingfriends.com/public_html/Themes/OutlineOmega_115/usercp.template.php
Line: 209

8: Undefined variable: user_info
File: /home/sites/foreverlastingfriends.com/public_html/Themes/OutlineOmega_115/usercp.template.php
Line: 165

So maybe a programmer could now tell me what is wrong, cannot beleive all those eval errors just for a matters of them above.

Would appreciate if someone could help. I have uploaded both my custom index.template.php and the user cp template that belongs to the User Control Panel mod.

Thank you,
Mathew

tatore

About this error:
Lainaa8: Undefined index: b348
File: /home/sites/foreverlastingfriends.com/public_html/Themes/OutlineOmega_115/index.template.php
Line: 574

Add to your file modification.your_language.php the following string
$txt['b348'] = '';
Just because I didn't find any related text string.

For the second main error I'm trying to check your user-cp file.
*Salvo*




Lainaus käyttäjältä: RumbaarI wont jump to conclusion, but you might be hacked?

genieuk

#13
Lainaus käyttäjältä: tatore - marraskuu 11, 2008, 07:26:36 AP
About this error:
Lainaa8: Undefined index: b348
File: /home/sites/foreverlastingfriends.com/public_html/Themes/OutlineOmega_115/index.template.php
Line: 574

Add to your file modification.your_language.php the following string
$txt['b348'] = '';
Just because I didn't find any related text string.

For the second main error I'm trying to check your user-cp file.

Oh thanks ever so much,

mmm i not ever recognised that b348 either, i will do some digging as that is suspicious looking. Not sure if related to a mod, can't see it thou as part of the regulations for mods is to make people clear on such things etc. I wonder if i can somehow track what it belongs to

Thank you,
Mathew

tatore

I saw it in a dropdown menu tip..maybe I'm wrong.
About user_info: please, backup the existing one on your server, and upload the attached one.
*Salvo*




Lainaus käyttäjältä: RumbaarI wont jump to conclusion, but you might be hacked?

tatore

The treasury problem.
Backup the existing index.template.php file and try with the attached one.
*Salvo*




Lainaus käyttäjältä: RumbaarI wont jump to conclusion, but you might be hacked?

genieuk

mmm,

I made the changes, uploaded re-enabled eval via PHPMYADMIN and still getting errors.

8: Use of undefined constant treasury_menu - assumed 'treasury_menu'
File: /home/sites/foreverlastingfriends.com/public_html/Themes/OutlineOmega_115/languages/HelpPage.english.php (eval?)
Line: 769

8: Undefined index: index
File: /home/sites/foreverlastingfriends.com/public_html/Sources/Help.php
Line: 72

8: Use of undefined constant treasury_menu - assumed 'treasury_menu'
File: /home/sites/foreverlastingfriends.com/public_html/Themes/default/Search.template.php (eval?)
Line: 769

8: Use of undefined constant treasury_menu - assumed 'treasury_menu'
File: /home/sites/foreverlastingfriends.com/public_html/Themes/default/Treasury.template.php (eval?)
Line: 769

8: Undefined index: id
File: /home/sites/foreverlastingfriends.com/public_html/Themes/OutlineOmega_115/usercp.template.php (eval?)
Line: 209

8: Undefined index: id
File: /home/sites/foreverlastingfriends.com/public_html/Themes/OutlineOmega_115/usercp.template.php (eval?)
Line: 165

8: Use of undefined constant treasury_menu - assumed 'treasury_menu'
File: /home/sites/foreverlastingfriends.com/public_html/Themes/OutlineOmega_115/usercp.template.php (eval?)
Line: 769

8: Use of undefined constant treasury_menu - assumed 'treasury_menu'
File: /home/sites/foreverlastingfriends.com/public_html/Themes/OutlineOmega_115/SPortal1-1.template.php (eval?)
Line: 769

8: Use of undefined constant treasury_menu - assumed 'treasury_menu'
File: /home/sites/foreverlastingfriends.com/public_html/Themes/default/Errors.template.php (eval?)
Line: 769

thank you,
Mathew

genieuk

Hi,

Nothing has solved the problem still getting same errors etc. IT seems to be on every click i make an eval happens in error log.

Thank you,
Mathew

tatore

Hi,
Your index.template.php file is a bit modified, but not properly  ;)
A sample: when you install a mod, do you follow exhactly the all modifications needed in the custom themes?
See here:
http://custom.simplemachines.org/mods/index.php?action=parse;mod=916;attach=71580;smf_version=1.1.7
That's about the treasury mod.
A part of code was missing, and I've added it to the correct location.
Even with the usercp.template.
I guess that something else is missing with other mods, that's why the all errors. Just a guess..
*Salvo*




Lainaus käyttäjältä: RumbaarI wont jump to conclusion, but you might be hacked?

genieuk

Lainaus käyttäjältä: tatore - marraskuu 11, 2008, 08:44:29 AP
Hi,
Your index.template.php file is a bit modified, but not properly  ;)
A sample: when you install a mod, do you follow exhactly the all modifications needed in the custom themes?
See here:
http://custom.simplemachines.org/mods/index.php?action=parse;mod=916;attach=71580;smf_version=1.1.7
That's about the treasury mod.
A part of code was missing, and I've added it to the correct location.
Even with the usercp.template.
I guess that something else is missing with other mods, that's why the all errors. Just a guess..

Hi,

All mods apart from 2 installed via Package Mananger, then i do manual edits as you shown. This is what i find confusing. I double check all my manual edits and use package manager for the main part of installs, only manual edits i do is on custom theme which is very basic and simple following instructions and if a file showed as failed.

Mathew

Advertisement: