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

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Who's Online shows everyone on page_not_found

    Can you be more specific ? ie: post them

    Or turn them all off altogether and report back whether the whos-online suddenly starts showing things properly again ?
    .

    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
    Jun 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Who's Online shows everyone on page_not_found

    Quote Originally Posted by DrByte View Post
    Can you be more specific ? ie: post them

    Or turn them all off altogether and report back whether the whos-online suddenly starts showing things properly again ?

    Rewrite rules below.

    I have :
    1. altered site so that all internal links operate without the htaccess rewrites
    2. temporarily turned off the rewrite rules

    No change in who online: page_not_found is still being recorded for all IE hits and for all Firefox/Opera hits on pages with product listing.

    Code:
    # html pages now incorporated in zen-cart
    RewriteRule ^index_about\.html$ index.php?main_page=index_about_ig
    RewriteRule ^index_qc\.html$     index.php?main_page=index_qc
    RewriteRule ^index_lk\.html$    index.php?main_page=index_lk
    RewriteRule ^price_list\.html$    index.php?main_page=pricelist
    RewriteRule ^cw\.html$            index.php?main_page=page_2
    RewriteRule ^tos\.html$         index.php?main_page=page_3
    RewriteRule ^returns\.html$     index.php?main_page=page_4
    RewriteRule ^contact_us\.html$    index.php?main_page=contact_us
    RewriteRule ^heraldry\.html$    index.php?main_page=heraldry
    RewriteRule ^hy_bs\.html$        index.php?main_page=hy_bs
    RewriteRule ^hy_cb\.html$        index.php?main_page=hy_cb
    RewriteRule ^hy_oa\.html$        index.php?main_page=hy_oa
    RewriteRule ^engraving\.html$    index.php?main_page=engraving
    RewriteRule ^en_pd\.html$        index.php?main_page=en_pd
    RewriteRule ^en_mg\.html$        index.php?main_page=en_mg
    RewriteRule ^en_he\.html$        index.php?main_page=en_he
    RewriteRule ^en_hy\.html$        index.php?main_page=en_hy
    RewriteRule ^en_cb\.html$        index.php?main_page=en_cb
    RewriteRule ^en_rg\.html$        index.php?main_page=en_rg
    RewriteRule ^en_cw\.html$        index.php?main_page=en_cw
    RewriteRule ^prin_th_ck\.html$    index.php?main_page=prin_th_ck
    RewriteRule ^prin_th_th\.html$    index.php?main_page=prin_th_th
    RewriteRule ^prin_th_za\.html$    index.php?main_page=prin_th_za
    RewriteRule ^prin_th_ac\.html$    index.php?main_page=prin_th_ac
    RewriteRule ^prin_th_ag\.html$    index.php?main_page=prin_th_ag

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Who's Online shows everyone on page_not_found

    Peculiar.
    I'd be inclined to suspect something "else" in your .htaccess besides just the rewrites.

    Were all your additional "pages" built by adding language files, header_php.php module files and extra template files ?

    Could it be that your custom stylesheet rules for IE browsers might be pointing to a non-existent file and thus is throwing the page-not-found whenever IE browsers trigger them ?
    .

    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.

  4. #4
    Join Date
    Jun 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Who's Online shows everyone on page_not_found

    Quote Originally Posted by DrByte View Post
    I'd be inclined to suspect something "else" in your .htaccess besides just the rewrites.
    ...
    All the additional "pages" have the full quota of supporting files and I could not identify any issues with the IE stylesheet rules.

    So I then removed everything in my htaccess file and then started to rebuild it. The "something else" was:
    ErrorDocument 404 http://www.iangrantofedinburgh.com/page_not_found.php
    Removing this, and only this, had solved the problem with IE, Firefox and Opera. I then replaced it with
    ErrorDocument 404 /page_not_found.php
    ... and the problem remains solved, but I wonder why?

    Many thanks for your help

  5. #5
    Join Date
    Jun 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Who's Online shows everyone on page_not_found

    Quote Originally Posted by DrByte View Post
    I'd be inclined to suspect something "else" in your .htaccess besides just the rewrites.
    ...
    All the additional "pages" have the full quota of supporting files and I could not identify any issues with the IE stylesheet rules.

    So I then removed everything in my htaccess file and then started to rebuild it. The "something else" was:
    ErrorDocument 404 http://www.iangrantofedinburgh.com/page_not_found.php
    Removing this, and only this, had solved the problem with IE, Firefox and Opera. I then replaced it with
    ErrorDocument 404 /page_not_found.php
    ... and the problem remains solved, but I wonder why?

    Many thanks for your help

  6. #6
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Who's Online shows everyone on page_not_found

    wow this just started to happen to me for no reason and I fixed using the advice from stillrowing. thank you.

    The question now is why did it start

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Who's Online shows everyone on page_not_found

    What version of Zen Cart are you running?

    Clean install or an Upgrade?

    How did you install? How did you Upgrade?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

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

    Default Re: Who's Online shows everyone on page_not_found

    Quote Originally Posted by stillrowing View Post
    Rewrite rules below.

    I have :
    1. altered site so that all internal links operate without the htaccess rewrites
    2. temporarily turned off the rewrite rules

    No change in who online: page_not_found is still being recorded for all IE hits and for all Firefox/Opera hits on pages with product listing.

    Code:
    # html pages now incorporated in zen-cart
    RewriteRule ^index_about\.html$ index.php?main_page=index_about_ig
    RewriteRule ^index_qc\.html$     index.php?main_page=index_qc
    RewriteRule ^index_lk\.html$    index.php?main_page=index_lk
    RewriteRule ^price_list\.html$    index.php?main_page=pricelist
    RewriteRule ^cw\.html$            index.php?main_page=page_2
    RewriteRule ^tos\.html$         index.php?main_page=page_3
    RewriteRule ^returns\.html$     index.php?main_page=page_4
    RewriteRule ^contact_us\.html$    index.php?main_page=contact_us
    RewriteRule ^heraldry\.html$    index.php?main_page=heraldry
    RewriteRule ^hy_bs\.html$        index.php?main_page=hy_bs
    RewriteRule ^hy_cb\.html$        index.php?main_page=hy_cb
    RewriteRule ^hy_oa\.html$        index.php?main_page=hy_oa
    RewriteRule ^engraving\.html$    index.php?main_page=engraving
    RewriteRule ^en_pd\.html$        index.php?main_page=en_pd
    RewriteRule ^en_mg\.html$        index.php?main_page=en_mg
    RewriteRule ^en_he\.html$        index.php?main_page=en_he
    RewriteRule ^en_hy\.html$        index.php?main_page=en_hy
    RewriteRule ^en_cb\.html$        index.php?main_page=en_cb
    RewriteRule ^en_rg\.html$        index.php?main_page=en_rg
    RewriteRule ^en_cw\.html$        index.php?main_page=en_cw
    RewriteRule ^prin_th_ck\.html$    index.php?main_page=prin_th_ck
    RewriteRule ^prin_th_th\.html$    index.php?main_page=prin_th_th
    RewriteRule ^prin_th_za\.html$    index.php?main_page=prin_th_za
    RewriteRule ^prin_th_ac\.html$    index.php?main_page=prin_th_ac
    RewriteRule ^prin_th_ag\.html$    index.php?main_page=prin_th_ag
    You cannot use RewriteRule directives without including this line first: RewriteEngine ON
    - by default it is OFF

    Without that line you will get strange things happening, such as what has been described.

    It is also customary to use a full URL for redirecting to:
    http://yourdomain.com/index.php?main...index_about_ig


    You do not normally need to setup anything special for 404 pages. Hosters usually have automatic redirection to an 'shtml' page -- which you can find out more from your Hoster -- but Zen Cart includes code for using a default, ZC supplied 404 page.
    Last edited by Website Rob; 28 Aug 2007 at 08:52 PM.

  9. #9
    Join Date
    Jun 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Who's Online shows everyone on page_not_found

    Quote Originally Posted by Website Rob View Post
    You cannot use RewriteRule directives without including this line first: RewriteEngine ON
    - by default it is OFF

    You do not normally need to setup anything special for 404 pages. Hosters usually have automatic redirection to an 'shtml' page --
    RewriteEngine On is in place - I just did not include that in my summary.

    Without the 404 redirect line I was getting the standard Apache page

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

    Default Re: Who's Online shows everyone on page_not_found

    Quote Originally Posted by stillrowing View Post
    Without the 404 redirect line I was getting the standard Apache page
    Not sure what you mean by that?

    And don't forget, use a full URL like I mentioned previously, instead of the short form you use now.

    RewriteRule ^index_about\.html$ http:/yourdomain.com/index.php?main_page=index_about_ig

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Who's Online shows that my customers are on /images/
    By mugshot in forum General Questions
    Replies: 1
    Last Post: 19 Dec 2009, 01:56 PM
  2. Who's Online now shows everyone with server ip address????
    By njsparks in forum Basic Configuration
    Replies: 1
    Last Post: 6 Feb 2009, 08:30 PM
  3. Who's Online Shows all customers with things in their Cart.
    By buyashed in forum General Questions
    Replies: 1
    Last Post: 6 Jun 2008, 08:55 AM

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