Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Tue Oct 13, 2009 2:04 pm Reply with quote

Ravenice theme, line over the logo on left is:


 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Tue Oct 13, 2009 2:11 pm Reply with quote

I'm actually looking at that myself as it appears on my site.
I thought it was some extraneous whitespace in a file but I checked the usual culprits like index.php, header.php, mainfile.php, admin.php etc etc.
If you check your source you will probably see the characters just before a stylesheet REL link.

Oh wait.. under the logo? Hmm, mine is top left corner of the site.
I only have the one theme installed (RavenIce), do you see it in any other theme?
 
View user's profile Send private message Send e-mail
dad7732







PostPosted: Tue Oct 13, 2009 2:15 pm Reply with quote

Over the logo like you noticed .. It's between a </div><link rel ..... > shouldn't be that hard to find .. off we gooooo .. Smile

Cheers
 
Guardian2003







PostPosted: Tue Oct 13, 2009 2:20 pm Reply with quote

Well you won't find the characters in a file, I already searched so it has to be something the browser is interpretting/rendering. Time for sleep for me though.
 
dad7732







PostPosted: Tue Oct 13, 2009 2:22 pm Reply with quote

Hmmm, can't seem to find "meta.php" anywhere. Not in the distro either .. Sad
 
dad7732







PostPosted: Tue Oct 13, 2009 2:27 pm Reply with quote

It's there in Firefox and IE ... I'll find it.

Cheers
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Oct 13, 2009 2:35 pm Reply with quote

Those are BOM characters. Someone has saved file(s) in UTF-8 with BOM. That's a no-no. I'm not seeing it so I'm wondering if when you transferred your files you may have edited some and saved them with utf-8 with bom?
 
View user's profile Send private message
Raven







PostPosted: Tue Oct 13, 2009 2:36 pm Reply with quote

dad7732 wrote:
Hmmm, can't seem to find "meta.php" anywhere. Not in the distro either .. Sad

meta was removed quite a while ago Wink
 
dad7732







PostPosted: Tue Oct 13, 2009 3:50 pm Reply with quote

Not me, used Filezilla as usual, no editing or messing with any files, etc.

Cheers
 
dad7732







PostPosted: Tue Oct 13, 2009 3:52 pm Reply with quote

Quote:
meta was removed quite a while ago


It's in my 2.30.00 distro files. How long ago is a "while" ?? Very Happy

Now that I don't have it any longer, how do we edit the meta now?
 
Raven







PostPosted: Tue Oct 13, 2009 3:57 pm Reply with quote

What character set are you using?
 
dad7732







PostPosted: Tue Oct 13, 2009 4:04 pm Reply with quote

Firefox - Western (ISO 8859-1) .. same as always.
 
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Oct 13, 2009 4:24 pm Reply with quote

dad7732 wrote:
Quote:
meta was removed quite a while ago


It's in my 2.30.00 distro files. How long ago is a "while" ?? Very Happy

Now that I don't have it any longer, how do we edit the meta now?


meta.php was removed in RN 2.40.

As for the meta data [ Only registered users can see links on this board! Get registered or login! ]

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
bdmdesign
Worker
Worker



Joined: May 11, 2009
Posts: 154
Location: Winsen/Luhe; Germany

PostPosted: Wed Oct 14, 2009 5:00 am Reply with quote

dad7732 wrote:
Ravenice theme, line over the logo on left is:




I had a same error on a themes from me, here was it a ?.
And its made damed erros over the comletely scripts.

If i looked in the sourcecode over my browser, it was the first diggit in the code.

The Fix: I had uploade the complete Themes new. And the error wasent there after new Upload.


Best Regards

Peter
 
View user's profile Send private message Visit poster's website
Guardian2003







PostPosted: Wed Oct 14, 2009 1:23 pm Reply with quote

@dad7732
Can you navigate to your html/jquery/ directory.
Create a new PHP file called nukeNAV_1.php
Copy everything between (but not including) the opening and closing PHP tags from nukeNAV.php and paste it into nukeNAV_1.php then upload and rename it, to over write nukeNAV.php

Let me know if that works for you.
 
dad7732







PostPosted: Wed Oct 14, 2009 4:07 pm Reply with quote

Yes, I can do that and I know what we're trying to do by doing that, hope that works. Will report back later ..

Cheers
 
dad7732







PostPosted: Wed Oct 14, 2009 8:00 pm Reply with quote

Yes, that worked. I assume you got the team mass email I sent.
 
Raven







PostPosted: Wed Oct 14, 2009 11:22 pm Reply with quote

We have found that all that is needed is to just edit includes/jquery/nukeNAV.php and remove the 3 characters and then save it as UTF-8 without BOM
 
dad7732







PostPosted: Thu Oct 15, 2009 6:43 am Reply with quote

So basically what I did was the same thing but the long way as the characters were automagically removed in the process.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Thu Oct 15, 2009 8:19 am Reply with quote

... and some editors will not show you those characters (I think this is when the BOM is supported by the editor), so you may have to do some kind of file properties check to see what the encoding is. I had this issue with Eclipse, but I love that IDE because I can very easily see the encoding and very easily convert it.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Raven







PostPosted: Thu Oct 15, 2009 9:21 am Reply with quote

dad7732 wrote:
So basically what I did was the same thing but the long way as the characters were automagically removed in the process.

Right on, my friend Wink
 
toolim
New Member
New Member



Joined: Jan 30, 2010
Posts: 5

PostPosted: Thu Feb 18, 2010 1:31 pm Reply with quote

Thanks for this information it sorted a problem for me. Before I found this thread did a search for the BOM on RavenNuke 2.4.00 Can anyone tell me if I need worry about the results?

Code:
/docs# grep -lir "" *

images/captcha/green_clouds.jpg
images/captcha/red_clouds.jpg
images/captcha/blue_clouds.jpg
includes/fckeditor/editor/js/fckadobeair.js
includes/fckeditor/editor/js/fckeditorcode_gecko.js
includes/fckeditor/editor/js/fckeditorcode_ie.js
includes/fckeditor/editor/fckeditor.original.html
includes/fckeditor/editor/skins/default/fck_dialog_ie6.js
includes/fckeditor/editor/skins/office2003/fck_dialog_ie6.js
includes/fckeditor/editor/skins/silver/fck_dialog_ie6.js
includes/fckeditor/editor/filemanager/browser/default/js/fckxml.js
includes/fckeditor/editor/filemanager/browser/default/js/common.js
includes/fckeditor/editor/plugins/simplecommands/fckplugin.js
includes/fckeditor/editor/plugins/placeholder/fckplugin.js
includes/fckeditor/editor/plugins/placeholder/lang/fr.js
includes/fckeditor/editor/plugins/placeholder/lang/de.js
includes/fckeditor/editor/plugins/placeholder/lang/es.js
includes/fckeditor/editor/plugins/placeholder/lang/en.js
includes/fckeditor/editor/plugins/placeholder/lang/pl.js
includes/fckeditor/editor/plugins/placeholder/lang/it.js
includes/fckeditor/editor/plugins/dragresizetable/fckplugin.js
includes/fckeditor/editor/plugins/autogrow/fckplugin.js
includes/fckeditor/editor/plugins/tablecommands/fckplugin.js
includes/fckeditor/editor/plugins/bbcode/fckplugin.js
includes/fckeditor/editor/dtd/fck_xhtml10transitional.js
includes/fckeditor/editor/dtd/fck_xhtml10strict.js
includes/fckeditor/editor/lang/lt.js
includes/fckeditor/editor/lang/no.js
includes/fckeditor/editor/lang/th.js
includes/fckeditor/editor/lang/en-uk.js
includes/fckeditor/editor/lang/eo.js
includes/fckeditor/editor/lang/el.js
includes/fckeditor/editor/lang/sk.js
includes/fckeditor/editor/lang/hu.js
includes/fckeditor/editor/lang/mn.js
includes/fckeditor/editor/lang/et.js
includes/fckeditor/editor/lang/uk.js
includes/fckeditor/editor/lang/sr.js
includes/fckeditor/editor/lang/fi.js
includes/fckeditor/editor/lang/fr.js
includes/fckeditor/editor/lang/tr.js
includes/fckeditor/editor/lang/cs.js
includes/fckeditor/editor/lang/sv.js
includes/fckeditor/editor/lang/is.js
includes/fckeditor/editor/lang/pt-br.js
includes/fckeditor/editor/lang/bg.js
includes/fckeditor/editor/lang/de.js
includes/fckeditor/editor/lang/km.js
includes/fckeditor/editor/lang/hi.js
includes/fckeditor/editor/lang/es.js
includes/fckeditor/editor/lang/en.js
includes/fckeditor/editor/lang/fr-ca.js
includes/fckeditor/editor/lang/ca.js
includes/fckeditor/editor/lang/eu.js
includes/fckeditor/editor/lang/ko.js
includes/fckeditor/editor/lang/en-au.js
includes/fckeditor/editor/lang/zh-cn.js
includes/fckeditor/editor/lang/af.js
includes/fckeditor/editor/lang/gl.js
includes/fckeditor/editor/lang/pl.js
includes/fckeditor/editor/lang/fa.js
includes/fckeditor/editor/lang/nl.js
includes/fckeditor/editor/lang/en-ca.js
includes/fckeditor/editor/lang/sl.js
includes/fckeditor/editor/lang/ms.js
includes/fckeditor/editor/lang/it.js
includes/fckeditor/editor/lang/gu.js
includes/fckeditor/editor/lang/bn.js
includes/fckeditor/editor/lang/bs.js
includes/fckeditor/editor/lang/ro.js
includes/fckeditor/editor/lang/ar.js
includes/fckeditor/editor/lang/hr.js
includes/fckeditor/editor/lang/ja.js
includes/fckeditor/editor/lang/vi.js
includes/fckeditor/editor/lang/he.js
includes/fckeditor/editor/lang/nb.js
includes/fckeditor/editor/lang/da.js
includes/fckeditor/editor/lang/pt.js
includes/fckeditor/editor/lang/lv.js
includes/fckeditor/editor/lang/fo.js
includes/fckeditor/editor/lang/zh.js
includes/fckeditor/editor/lang/ru.js
includes/fckeditor/editor/lang/sr-latn.js
includes/fckeditor/editor/dialog/fck_image/fck_image.js
includes/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js
includes/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js
includes/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js
includes/fckeditor/editor/dialog/fck_select/fck_select.js
includes/fckeditor/editor/dialog/fck_link/fck_link.js
includes/fckeditor/editor/dialog/common/fck_dialog_common.js
includes/fckeditor/editor/dialog/fck_flash/fck_flash.js
includes/jquery/jquery.hoverIntent.minified.js
includes/jquery/jquery.hoverIntent.js
modules/Content/admin/language/lang-czech.php
modules/Content/copyright.php
modules/GCalendar/language/lang-french.php
modules/GCalendar/admin/language/lang-french.php
 
View user's profile Send private message
Raven







PostPosted: Thu Feb 18, 2010 3:21 pm Reply with quote

Worry? Not really worry. But you probably don't want to see those characters on your site Laughing. Open each file in a good editor and then save it without the BOM. RavenNuke(tm) v2.40.01 is being released this week, or shortly thereafter, and the problem has been corrected. Thanks!


Last edited by Raven on Fri Mar 05, 2010 5:32 pm; edited 1 time in total 
Guardian2003







PostPosted: Fri Mar 05, 2010 4:02 am Reply with quote

BOM characters are only an issue in PHP files because we are not using utf-8 so you can ignore those files with JS extensions and also ignore the images.
 
toolim







PostPosted: Fri Mar 05, 2010 8:46 am Reply with quote

Thank you for the advice
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©