Welcome Guest!   Please Login or Register
Subscribe Today

You are not subscriber of DaDaNuke | Making PHP-Nuke Better!. You can subscribe from here now!

Sponsored Links




Search




Site Navigation

· Home
· About Us
· Advertise With Us
· Club
· CVS
· Downloads
· Feedback
· Forums
· Gallery
· Groups
· Journal
· Private Messages
· Search
· Stories Archive
· Submit News
· Top 10
· Topics
· Web Links
· Your Account

Survey

I Want This Addon:

SEO
Gaming
Commerce
Database
Security



Results
Polls

Votes 628

Advertisers





Who's Online

There are currently, 20 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

Total Hits

We received
5574019
page views since September 2005




DaDaNuke :: View topic - error in IE only
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log inLog in 

error in IE only

 
Post new topic   Reply to topic    DaDaNuke Forum Index -> PHP-Nuke
View previous topic :: View next topic  
Author Message
rode_doffer
dadaMember
dadaMember


Joined: Dec 17, 2009
Posts: 5


PostPosted: Wed Jan 20, 2010 2:51 pm    Post subject: error in IE only Reply with quote

when I start the site with IE only, at the left side of the screen I see error (in my own language dutch) somthing like
line: 25
charkter : 17
'}' is expected
code: 0

if I click on feeback module as a bezoeker. it does not use the editor right. then I dont see that error ! I am not sure if the error is genarated by the editor (wysiwyg)
I have version 7.9 patshed from this site and I like it. so I added the dutch language file and translated much things.
Back to top
View user's profile Send private message
emilacosta
dadaAdmin
dadaAdmin


Joined: Sep 19, 2005
Posts: 223
Location: Miami, FL

PostPosted: Fri Jan 29, 2010 12:12 pm    Post subject: Reply with quote

Hi rode_doffer,

That type of error is often associated to JavaScript and the case might be that if JavaScript was parse from PHP someone miss the "}" to close the function.

If you use a browser that show you the line of code when you look at the page source then just look at line 25 character 17 and you might find what you are looking for.

Thank you,
_________________
Emil Acosta
"In the computer business you’re either a one or a zero and I am determined never to be zero."
Back to top
View user's profile Send private message Visit poster's website
rode_doffer
dadaMember
dadaMember


Joined: Dec 17, 2009
Posts: 5


PostPosted: Sun Jan 31, 2010 5:53 pm    Post subject: Reply with quote

Let me thank you pls for your advice.. I though first yess I finally founded it but no not yet.. I am near by the error solution I think.

I made a copy from the source as you told me to look at it.

Code:
<tinyMCE>
            <script></script>
            <script>
               tinyMCE.init({
                  mode : "textareas",
                theme : "advanced",
//                language : "dutch",
                editor_css : "includes/tiny_mce/themes/advanced/css/editor_ui.css"
                force_p_newlines: "false",  << this is line 25
                force_br_newlines: "true"
               });
            </script>
            </tinyMCE><script>
<!--


now a real copy from the file java.php

Quote:
echo "<tinyMCE>
<script></script>
<script>
tinyMCE.init({
mode : \"textareas\",
theme : \"advanced\",
// language : \"$lang\",
force_p_newlines: \"false\",
force_br_newlines: \"true\",
plugins : \"table,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print\",
theme_advanced_buttons1_add : \"fontselect,fontsizeselect\",
theme_advanced_buttons2_add : \"separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor\",
theme_advanced_buttons2_add_before: \"cut,copy,paste,separator,search,replace,separator\",
theme_advanced_buttons3_add_before : \"tablecontrols,separator\",
theme_advanced_buttons3_add : \"emotions,iespell,flash,advhr,separator,print\",
theme_advanced_toolbar_location : \"top\",
theme_advanced_toolbar_align : \"left\",
theme_advanced_path_location : \"bottom\",
$edtcss
});
</script>
</tinyMCE>";
Code:


please try to compare.. I feel head pain after so much searshing.

one thing when I am logged in as Admin I don't see any  error
Back to top
View user's profile Send private message
emilacosta
dadaAdmin
dadaAdmin


Joined: Sep 19, 2005
Posts: 223
Location: Miami, FL

PostPosted: Sun Jan 31, 2010 7:30 pm    Post subject: Reply with quote

Hi rode_doffer,

Base on the copy of the source code you send me the line:

Code:
editor_css : "includes/tiny_mce/themes/advanced/css/editor_ui.css"


is missing a "coma" at the end. It should look like this:

Quote:
editor_css : "includes/tiny_mce/themes/advanced/css/editor_ui.css",


Also base in the copy of the source code you provide the line:

Code:
force_br_newlines: "true"


has the same problem.

Thank you,
_________________
Emil Acosta
"In the computer business you’re either a one or a zero and I am determined never to be zero."
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DaDaNuke Forum Index -> PHP-Nuke All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB © 2001 phpBB Group Version 2.0.6 of PHP-Nuke Port by Tom Nitzschner © 2002 www.toms-home.com
Theme designed by Western Studios



Terms of Use | Privacy Policy © 1996-2007, DaDaNuke

Listed on FeedBurner

PHP-Nuke Copyright © 2006 by Francisco Burzi. This is free software, and you may redistribute it under the GPL.
PHP-Nuke comes with absolutely no warranty, for details, see the license.

Theme Designed by Western Studios