Zen Cart Logo
Forums / General Questions / // eof --- caused by Google Checkout addon

// eof --- caused by Google Checkout addon

Views: 1,427

Results 1 to 17 of 17
21 Apr 2011, 11:30 AM
#1
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

// eof --- caused by Google Checkout addon

really weird, but on my checkout_payment page
at the very top iv got // EOF
now iv looked through several files and cannot find where this // EOF is coming from.

<body id="checkoutpaymentBody">
[B]// EOF[/B]
<title>Step 2 of 3 - Payment Information : Tools-Draper, power tools: hand tools: garden tools: air tools: air hose: king ######## tools: pop met bearings</title>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<meta content="Draper Sealey tools, diy tools, tool, power tools, hand tools, drills, saws, silverline, draper, draper tools, tools-draper, draper power tools, expert, draper expert Step 2 of 3 - Payment Information" name="keywords">
<meta content="Tools-Draper : Step 2 of 3 - Payment Information - Draper Sealey tools, diy tools, tool, power tools, hand tools, drills, saws, silverline, draper, draper tools, tools-draper, draper power tools, expert, draper expert" name="description">

this is the code drawn from firefox web developer
this eof is coming before anything else...but from what file!!!
iv used "developer toolkit" to try and find it but after removing from files i thought would affect this its still there :S

21 Apr 2011, 12:20 PM
#2
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: // eof --- caused by Google Checkout addon

well after going through each file shown up on developers tool kit with // EOF
and removing it, uploading then CTRL+f5
still there!!!
wtf!

21 Apr 2011, 4:56 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: // eof --- caused by Google Checkout addon

It's probably in an extraneous file you've got on your server, such as a backup file that shouldn't have been left online. Classic example would be in the /includes/modules/pages/ folders where the header_php.php files should NOT be renamed as header_php_old.php etc, else they'll still be loaded. If you "must" rename a file as a backup/copy, DO NOT leave a ".php" extension on the filename, regardless which folder it's in.

Further, when did this start happening? That should help you sort out what you were changing back then.

Next step is to compare your server's files with a clean set of files from when the extraneous stuff didn't appear. http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

21 Apr 2011, 4:57 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: // eof --- caused by Google Checkout addon

Also, you seem to be re-posting the same issue in yet another thread ... why are you creating multiple discussions on the same issue?
ref: http://www.zen-cart.com/forum/showthread.php?t=178039

23 Apr 2011, 8:28 PM
#5
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: // eof --- caused by Google Checkout addon

DrByte:

Also, you seem to be re-posting the same issue in yet another thread ... why are you creating multiple discussions on the same issue?
ref: http://www.zen-cart.com/forum/showthread.php?t=178039
reason for seperate thread was due to different location of the EOF....
i resolved that problem and posted that it was resolved...

23 Apr 2011, 8:59 PM
#6
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: // eof --- caused by Google Checkout addon

DrByte:

It's probably in an extraneous file you've got on your server, such as a backup file that shouldn't have been left online. Classic example would be in the /includes/modules/pages/ folders where the header_php.php files should NOT be renamed as header_php_old.php etc, else they'll still be loaded. If you "must" rename a file as a backup/copy, DO NOT leave a ".php" extension on the filename, regardless which folder it's in.

Further, when did this start happening? That should help you sort out what you were changing back then.

Next step is to compare your server's files with a clean set of files from when the extraneous stuff didn't appear. http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues
only appeared when i moved to new server :S

23 Apr 2011, 9:03 PM
#7
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: // eof --- caused by Google Checkout addon

ok dont know what i did, but its gone now lol :S weird

23 Apr 2011, 9:13 PM
#8
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: // eof --- caused by Google Checkout addon

spid3r1987:

ok dont know what i did, but its gone now lol :S weird
ignore above, looked at wrong page...
only on the checkout_payment page.....

26 Apr 2011, 12:03 PM
#9
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: // eof --- caused by Google Checkout addon

DrByte:

It's probably in an extraneous file you've got on your server, such as a backup file that shouldn't have been left online. Classic example would be in the /includes/modules/pages/ folders where the header_php.php files should NOT be renamed as header_php_old.php etc, else they'll still be loaded. If you "must" rename a file as a backup/copy, DO NOT leave a ".php" extension on the filename, regardless which folder it's in.

Further, when did this start happening? That should help you sort out what you were changing back then.

Next step is to compare your server's files with a clean set of files from when the extraneous stuff didn't appear. http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues
by any chance, you dont happen to have a list of files which are called when the "checkout_payment" page is loaded?
this way i can check these files and locations for duplicates???

26 Apr 2011, 12:29 PM
#10
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,286
Plugin Contributions:
39

Re: // eof --- caused by Google Checkout addon

The cause is the use of a PHP comment in an HTML block. Search under Tools >> Developers Toolkit for // eof

~Melanie

3 May 2011, 8:40 AM
#11
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: // eof --- caused by Google Checkout addon

mprough:

The cause is the use of a PHP comment in an HTML block. Search under Tools >> Developers Toolkit for // eof

~Melanie
i have found a few of these, should the php file go ?> //EOF??

3 May 2011, 9:19 AM
#13
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: // eof --- caused by Google Checkout addon

spid3r1987:

i have found a few of these, should the php file go ?> //EOF??

i have found a few of these, but whn comparing to original files, 90% of them should be there, and the ones that aint in the original files i have removed and still same :S

3 May 2011, 9:25 AM
#14
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: // eof --- caused by Google Checkout addon

i have also just noticed its on my login page aswell :S
https://www. tools-draper .co.uk/index.php?main_page=login

3 May 2011, 9:54 AM
#15
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: // eof --- caused by Google Checkout addon

spid3r1987:

i have also just noticed its on my login page aswell :S
https://www. tools-draper .co.uk/index.php?main_page=login
solved the problem with the login page, something to do with google checkout

3 May 2011, 10:01 AM
#16
website_rob avatar

website_rob

Inactive

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

Re: // eof --- caused by Google Checkout addon

For your login page, I would say it has something to do with your Google Checkout. Reason being is the // EOF appears just before it starts and noticed you have an ending comment but no beginning one?

<!-- ** END GOOGLE CHECKOUT ** -->

Where is the;

<!-- ** START GOOGLE CHECKOUT ** -->

Also, seems you are using a Shared SSL Cert or one not Dedicated to your Domain name and/or IP address. This will cause Warnings to appear in every Browser... not good.

3 May 2011, 10:12 AM
#17
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: // eof --- caused by Google Checkout addon

Website Rob:

For your login page, I would say it has something to do with your Google Checkout. Reason being is the // EOF appears just before it starts and noticed you have an ending comment but no beginning one?

<!-- ** END GOOGLE CHECKOUT ** -->

Where is the;

<!-- ** START GOOGLE CHECKOUT ** -->

Also, seems you are using a Shared SSL Cert or one not Dedicated to your Domain name and/or IP address. This will cause Warnings to appear in every Browser... not good.
yeah i know about the shared ssl, its currently there from the fresh install(it comes with the install)
i will be purchasing a proper ssl cert..
and yes it seems Google Checkout was causing the problem, i seem*** to have resolved this problem now haha! thank god!
i had to compare each file that google checkout uses with original file compared to hosted file
i then found 2 files had // EOF at the bottom of the php file...removed and solved..afaik :D