If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / ?> in the upper left corner of my site!

?> in the upper left corner of my site!

Started by gth73bg on 12 Aug 2011, 3:09 AM · Views: 1,791

Results 1 to 16 of 16
12 Aug 2011, 3:09 AM
#1
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Post #1 by gth73bg

Hello, I have almost no knowledge in this area, but has somehow always managed to handle problems with a lot of reading and searching, till now! This time I could not handle it.
Today I noticed that when you go to Log In/Register link in the right top corner and then click on "Register" button to open create account page, in the top left corner have ?>.
Logo and other links are pressed down and on the bottom, just above EZ page bar appears long gray line. I tried anything and everything! I tried to replace whole includes and admin folders with backups from one day before, then from a week ago, month and few months, but without any success!
Only places where I have touched are these two folders, Admin and Includes. And provided that the change with the old admin and includes folders from the time when my shop worked fine not fix the problem, leaves me with no idea what to do further.
My website is www dot gthlaptopsandparts dot com.
Zen Cart instaled 1.3.9h
I know there are people who just with one look will suffice to understand the problem and to give me some advice, thank you in advance and apologize for bad English.

12 Aug 2011, 4:34 AM
#2
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Post #2 by nigelt74

Have you had a look in your /cache file on the off chance the errors are showing there.

as it is only happening on the registration page you may want to look at any changes you may have made to that, possibly when you changed the date format etc to UK format(rather than US)

Webzings Design
Semi retired from Web Design

12 Aug 2011, 3:07 PM
#3
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Post #3 by gth73bg

Hi nigelt74 and thank you for your prompt response. Nothing in my cache file, is empty. As to changes I've made on registration page, I have backup file from several months ago and try to replace it, but with no success. Even changed it with a clean copy from zen Cart 1.3.9h and again with no success. With Firefox and Firebug, when I go to this page and use "inspect element" from context menu I see this:```

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml"> <head> <body id="createaccountBody" onload="update_zone(document.create_account);"> ?> <script type="text/javascript" language="javascript"> <div id="headerWrapper"> </body> </html> ``` And this ?> is the problem! Delete it from there and my website returns to its normal appearance. Problem is I do not know where and how to find this on my server!:frusty:
12 Aug 2011, 5:19 PM
#5
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Post #5 by gth73bg

Hi, dgent, sorry, I forgot to mention that this was the first thing I did. I tried with all possible options, but the result is: Error: No matching Configuration Keys were found ... ?>

12 Aug 2011, 5:52 PM
#6
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Post #6 by afo

My guess is there's an incorrectly edited php file somewhere that's got a stray ?>

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

12 Aug 2011, 6:27 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #7 by stevesh

Seems like it would almost have to be tpl_modules_create_account.php. Have you edited that file and saved it in your override folder ? If so, replace it temporarily with an unedited copy to see if the problem is there.

12 Aug 2011, 7:19 PM
#8
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Post #8 by gth73bg

Hi stevesh, yes, I swapped that file with bakup from the previous day, week, month and a few months ago. Also tried it with a clean copy from Zen Cart 1.3.9h fileset. Problem remains!

12 Aug 2011, 9:37 PM
#9
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Post #9 by nigelt74

OK

if you switch to the classic template, does it still happen?

if no then it is most likely to be a template or overridden file issue

Webzings Design
Semi retired from Web Design

12 Aug 2011, 10:46 PM
#10
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Post #10 by gth73bg

Hi nigelt74, yes, just checked your suggestion, problem is the same in classic template.
I began to think to go start fresh with a new installation! :cry:

13 Aug 2011, 9:38 PM
#11
plexy avatar

plexy

New Zenner

Join Date:
Jul 2011
Posts:
16
Plugin Contributions:
0

Post #11 by plexy

Have you tried searching for "?>?>" in dev tools?

14 Aug 2011, 6:16 AM
#12
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Post #12 by gth73bg

Hi PleXy, just tried your suggestion but unfortunately without success. Thank you all for your help, I put my site to Maintenance and go for a few days of rest, and hoping to clear my head, because all this made ​​me crazy and when I come back, will start over with fresh forces.

14 Aug 2011, 10:50 AM
#13
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Post #13 by ryk

Check includes/modules/pages/create_account/header_php.php

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

16 Aug 2011, 3:47 AM
#15
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

Post #15 by llynix

If you switched to classic and the error was still present then I imagine the problem is in template_default.

Try template_default/common/html_header.php

You could also try looking at the file modified times on your sever to see what files you've modified recently.

DentalPlanet Designed/Administrated by Falls Geek

25 Aug 2011, 12:10 PM
#16
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Post #16 by gth73bg

Hi and thank you all for help! Finally managed to find the cause of this error - confirm_email_address_entry_1-3 module.
I could not figure out exactly what is causing the problem, just realized that if you use this module and split login page, the problem is there. Click on Register button and ?> appears in the upper left corner pushing the logo and other links down. If you switch off split login page, problem disappears. So I did this at first, thinking that I solve the problem but until I decided to install css_flyout_menu_1-3-9b module. One of the menus in this module is My Account with submenus Login and Register and it is not difficult to guess that the problem is back again. So I just uninstalled confirm_email_address_entry_1-3 module and and the problem is solved!