Zen Cart Logo
Forums / General Questions / ÿþ ?? Where does it come from??

ÿþ ?? Where does it come from??

Locked

Views: 5,362

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
4 Jan 2007, 6:45 AM
#1
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

ÿþ ?? Where does it come from??

After I managed to put together the "home" page, I got these characters ÿþ (they are not in red) and I have no idea where they came from

Welcome to Clive Kay's Online Art Shop! - Member of the Society of Animal Artists

Welcome Guest! Would you like to log yourself in?

**ÿþ **

Any idea where I should look??
Also after I created additional page (define_page_2) how do I get it show under information??
Thanks

4 Jan 2007, 11:50 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: ÿþ ?? Where does it come from??

in admin > tools > developers tools > last/bottom left box enter/paste the text select all catalog files from the dropdown and search This will indicate the file(s) where this is.

Always use a straight text or code editor to make these edits as other means tend to add stray characters

page_2 should be in the "more information side box" by default

4 Jan 2007, 3:42 PM
#3
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: ÿþ ?? Where does it come from??

Thank you Kobra, I found it - 1st line in define_main_page.php:
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
Does this mean I cannot use scripts within these pages? This even works simple "show date".
I also got more info on, but cannot locate where to change "Page 2" text to the "title of the page". I've change all the files that were indicated in http://www.zen-cart.com/wiki/index.php/Page_2_page
(I just left HEADING_TITLE blank, but even when I put it in, it did not make a change)

5 Jan 2007, 2:23 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: ÿþ ?? Where does it come from??

Not sure what you are stating as <SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript"> does not contain the ÿþ characters that you referenced.

Scripts can be included in many places if inserted correctly.

Have you enabled the "More Information" sidebox in the admin > tools > layout boxes controller?? So that you can see the page_2 entry?

5 Jan 2007, 4:23 AM
#5
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: ÿþ ?? Where does it come from??

yes, I have the More info sidebox , but is shows Page 2, Page 3 Page 4
I am still looking where to change it to show what I need (page title)

5 Jan 2007, 8:12 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: ÿþ ?? Where does it come from??

Almost all of the are defined in english.php

You can learn to use the admin > tools > developers tools > and enter a text string/word in the bottom left box > select thfrom the drop "all catalog files" > and search...a valuable tool

5 Jan 2007, 3:08 PM
#7
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: ÿþ ?? Where does it come from??

Line #0 : ÿþ
/includes/languages/english/html_includes/CliveKay/define_main_page.php

I inserted blank line in the top so now I know that it is not in this file which is the only one that shows to have it (when I use Developers tool kit )
It must be part of some other file that I modified which gets "glued in" to create my main page. Well I give it another day of looking and if I don't find it, I just start from scrtatch again. (That's my way of learning... :D )
BTW I did find the additional pages to fix Page 2 using the Dev. tool, thanks!

5 Jan 2007, 3:30 PM
#8
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: ÿþ ?? Where does it come from??

Even when I replace the whole page with one line - testing; I still get the error:
(part of the source page view)

</div></td> <td valign="top"> <!-- bof breadcrumb --> <!-- eof breadcrumb --> <div class="centerColumn" id="indexDefault"> <h1 id="indexDefaultHeading">Welcome to Clive Kay's Online Art Shop! - Member of the Society of Animal Artists</h1> <h2 class="greeting">Welcome <span class="greetUser">Guest!</span> Would you like to <a href="<A href="http://127.0.0.1/CliveKay2007/index.php?main_page=login&zenid=7f6610dccbbcd475324e2a9b97a491ad">log">http://127.0.0.1/CliveKay2007/index.php?main_page=login&zenid=7f6610dccbbcd475324e2a9b97a491ad">log yourself in</a>?</h2> <!-- deprecated - to use uncomment this section <div id="" class="content">This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong></div> --> <!-- deprecated - to use uncomment this section <div id="" class="content">Define your main Index page copy here.</div> --> **<div id="indexDefaultMainContent" class="content">ÿþ t e s t i n g </div>** </div> </td>

Well I'll keep looking...

5 Jan 2007, 4:54 PM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: ÿþ ?? Where does it come from??

Even when I replace the whole page with one lineWhat file are you replacing?

5 Jan 2007, 5:43 PM
#10
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: ÿþ ?? Where does it come from??

/includes/languages/english/html_includes/define_main_page.php

5 Jan 2007, 5:45 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: ÿþ ?? Where does it come from??

What file does the Developer's Tool Kit say that this is in:
ÿþ

It will give you a line number ...

Some editors cannot display all characters ...

Re-write the line beneath the line number that it says contains this ...

Delete the line that contains it and save the file then delete the file on your site ... and reload this file ...

Do not edit this file with a Word Processor or your Control Panel ... use a clean TEXT Editor such as NotePad or UltraEdit etc.

5 Jan 2007, 9:49 PM
#12
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: ÿþ ?? Where does it come from??

Line #0 : ÿþ
/includes/languages/english/html_includes/define_main_page.php

It's the same error even when I delete all the text in this file and put in a new one line of text...
I am using PHP Designer 2007 to update this file. I have no idea how to delete line #0

6 Jan 2007, 3:56 AM
#13
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: ÿþ ?? Where does it come from??

Well belive it or not, I saved the file as .htm, opened it with FrontPage, preview it in IE browser - no problem, than I copied the code into PHP Designer's 2007 and save it as php file and the problem went away! Well I am happy eventhough I have no idea wat it was......

6 Jan 2007, 4:10 AM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: ÿþ ?? Where does it come from??

Might be something in your editor that is adding that ...

I use UltraEdit myself ...

Note: you can also open php files in NotePad providing the word wrap is off and see if that helps clean a file ... there are size limitations in NotePad so be careful ...