Forums / General Questions / Strange characters on top mainpage

Strange characters on top mainpage

Locked

Views: 1,151

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
20 Dec 2010, 11:28 PM
#1
billledouble avatar

billledouble

New Zenner

Join Date:
Apr 2010
Posts:
7
Plugin Contributions:
0

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

20 Dec 2010, 11:47 PM
#3
billledouble avatar

billledouble

New Zenner

Join Date:
Apr 2010
Posts:
7
Plugin Contributions:
0

Re: Strange characters on top mainpage

Thanks Cobra

20 Dec 2010, 11:52 PM
#4
kobra avatar

kobra

Black Belt

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

Re: Strange characters on top mainpage

Thanks Cobra

Humm!!....
Kobra

Zen-Venom Get Bitten

21 Dec 2010, 12:03 AM
#5
billledouble avatar

billledouble

New Zenner

Join Date:
Apr 2010
Posts:
7
Plugin Contributions:
0

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 ?

21 Dec 2010, 12:08 AM
#6
kobra avatar

kobra

Black Belt

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

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

21 Dec 2010, 12:15 AM
#7
billledouble avatar

billledouble

New Zenner

Join Date:
Apr 2010
Posts:
7
Plugin Contributions:
0

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
//
//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écurisé');
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écurisé');

//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/');
?>
21 Dec 2010, 1:09 AM
#8
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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.

The learning is in the doing.

Potent Products

21 Dec 2010, 1:22 AM
#9
kobra avatar

kobra

Black Belt

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

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

21 Dec 2010, 11:51 AM
#10
billledouble avatar

billledouble

New Zenner

Join Date:
Apr 2010
Posts:
7
Plugin Contributions:
0

Re: Strange characters on top mainpage

Thanks to all,

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

cheers,

Bill