Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: // eof

    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.p...Obscure_Issues
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: // eof

    Quote Originally Posted by DrByte View Post
    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.p...Obscure_Issues
    only appeared when i moved to new server :S
    i may not know how yet, but i soon will....i hope :)

  3. #3
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: // eof

    ok dont know what i did, but its gone now lol :S weird
    i may not know how yet, but i soon will....i hope :)

  4. #4
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: // eof

    Quote Originally Posted by spid3r1987 View Post
    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.....
    i may not know how yet, but i soon will....i hope :)

  5. #5
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: // eof

    Quote Originally Posted by DrByte View Post
    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.p...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???
    i may not know how yet, but i soon will....i hope :)

  6. #6
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: // eof

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

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  7. #7
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: // eof

    Quote Originally Posted by mprough View Post
    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??
    i may not know how yet, but i soon will....i hope :)

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: // eof

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: // eof

    Quote Originally Posted by spid3r1987 View Post
    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
    i may not know how yet, but i soon will....i hope :)

  10. #10
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: // eof

    i have also just noticed its on my login page aswell :S
    https://www. tools-draper .co.uk/index.php?main_page=login
    i may not know how yet, but i soon will....i hope :)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Google Checkout addon - Possible Hack or PHP Misconfiguration?
    By kevinoneil68 in forum Addon Payment Modules
    Replies: 5
    Last Post: 19 Oct 2011, 12:44 AM
  2. zero dollar checkout problem caused by store credit mod
    By world_surfer in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 24 Nov 2010, 07:54 PM
  3. Replies: 20
    Last Post: 12 Nov 2010, 09:15 AM
  4. Question about debug error (broken by google checkout addon)
    By Kenichi in forum General Questions
    Replies: 3
    Last Post: 12 Aug 2010, 07:53 PM
  5. Google Shipping Generator Caused Server To Hang
    By robgo777 in forum Addon Payment Modules
    Replies: 0
    Last Post: 12 Jul 2007, 06:32 PM

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