Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2010
    Posts
    7
    Plugin Contributions
    0

    Default Strange characters on top mainpage

    Hi all,

    I've got strange characters which suddenly appears on the top of my main page ( - http://new.madroguerie.com/index.php?main_page=).

    I'm a newbie with zencart and I can't find in which file this 3 strange characters could be !??

    Thanks a lot for your advise,

    Cheers,

    Bill
    Attached Images Attached Images

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Strange characters on top mainpage

    I've got strange characters which suddenly appears on the top of my main page
    Use the developers tool kit to find those things "»¿"
    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: Strange characters on top mainpage

    Thanks Cobra

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Strange characters on top mainpage

    Thanks Cobra
    Humm!!....
    Kobra
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Apr 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: Strange characters on top mainpage

    Super tool cobra, the tool find out the two files with the strange characters,

    /home/www/new-madroguerie.com/includes/languages/english/extra_definitions/logo_sidebox_defines.php

    Line #0 : <?php

    /home/www/new-madroguerie.com/includes/languages/french/extra_definitions/logo_sidebox_defines.php

    Line #0 : <?php


    but when I open the two files (logo_sidebox_defines.php which is an extension which enable to publish a sidebox with an image), no "", strange isn't it ?

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Strange characters on top mainpage

    but when I open the two files
    What are you using as an editor??

    Check that there is not a leading line or space before the opening
    "?php "
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Apr 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: Strange characters on top mainpage

    Thanks Cobra I'm Using dreamweaver and ultra edit, but there is is not a leading line or space before php, really strange...

    PHP Code:
    <?php
    //
    //Contribution: Logo Sidebox
    //Author: Clyde Jones (http://mysticmountainnaturals.com/testsite)
    //Version:  1.1
    //Updated: 8/21/2008
    //License: under the GPL - See attached License for info.
    //Based on: Blank Sidebox by Judi Cox - www.MommaMuse.com
    //Support:  Only given via the forums, please. (http://www.zen-cart.com/forum/showthread.php?t=57694)
    //  --------------------------------------------------
    //  zen-cart Open Source E-commerce                                      
    //  Copyright (c) 2003-2006 The zen-cart developers                           
    //  http://www.zen-cart.com/index.php                                    
    //  Portions Copyright (c) 2003 osCommerce                               
    //  --------------------------------------------------
    // $Id: logo_sidebox_defines.php,v 1.1 8/21/2008

    define('BOX_HEADING_LOGO_SIDEBOX''Paiement s&eacute;curis&eacute;');
    define('LOGO_SIDEBOX_IMAGE_WIDTH''125');
    define('LOGO_SIDEBOX_IMAGE_HEIGHT''34');
    define('LOGO_SIDEBOX_IMAGE''visamastercard.gif');
    define('LOGO_SIDEBOX_IMAGE_TEXT''Paiement s&eacute;curis&eacute;');

    //this is optional if you want to use the logo as a link
    //replace your_link.com with the link you choose
    //define('LOGO_SIDEBOX_LINK', 'http://your_link.com/');
    ?>

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Strange characters on top mainpage

    Things sometimes go wrong with FTP. Delete the following files, one at a time, and re-upload.

    /home/www/new-madroguerie.com/index.php
    /home/www/new-madroguerie.com/includes/languages/english.php
    /home/www/new-madroguerie.com/includes/languages/english/index.php
    /home/www/new-madroguerie.com/includes/languages/english/extra_definitions/logo_sidebox_defines.php

    Check the site after each delete / re-upload, odds are it's one of the above files.

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Strange characters on top mainpage

    Thanks Cobra
    That is Kobra

    I'm Using dreamweaver and ultra edit
    NEVER use dreamweaver to edit php files or as your FTP -
    It is not reliable
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Apr 2010
    Posts
    7
    Plugin Contributions
    0

    Default [SOLVED]Re: Strange characters on top mainpage

    Thanks to all,

    I solved my problem just by uploading the file from the original package.

    cheers,

    Bill
    Last edited by billledouble; 21 Dec 2010 at 12:53 PM. Reason: [SOLVED]

 

 

Similar Threads

  1. strange issue on mainpage
    By neit in forum Upgrading from 1.3.x to 1.3.9
    Replies: 8
    Last Post: 8 Oct 2010, 02:38 PM
  2. a strange problem about the hyperlink on mainpage
    By vonbismark in forum General Questions
    Replies: 13
    Last Post: 27 Apr 2010, 06:25 PM
  3. Strange characters in bulletins
    By juanmaminage in forum General Questions
    Replies: 2
    Last Post: 16 May 2009, 12:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR