Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35
  1. #1
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

    Have a Drink Page 404 Error on Currency Selection

    I'm getting a Page 404 Error when the customer selects an alternative currency on my site - can anyone give me guidance as to how to fix the problem, or as to what the cause might be/is, please?

    Ditto if they select an alternative language.

    The site is here

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Page 404 Error on Currency Selection

    Which Zen Cart version are you using ?
    What template was it developed based on ?
    What happens if you turn off your SEFU module ?
    .

    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.

  3. #3
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

    Default Re: Page 404 Error on Currency Selection

    Quote Originally Posted by DrByte View Post
    Which Zen Cart version are you using ?
    What template was it developed based on ?
    What happens if you turn off your SEFU module ?
    Thanks Dr Byte.
    ZC 1.3.7.1, and my Template was absed upon Barebones (unsupported) and heavily modded by me, because I can handle CSS)
    I'll try turning off the SEFU module (if it's relatively easy to disable it) and report back.

  4. #4
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

    Default Re: Page 404 Error on Currency Selection

    Quote Originally Posted by DrByte View Post
    Which Zen Cart version are you using ?
    What template was it developed based on ?
    What happens if you turn off your SEFU module ?
    Hi, I'm back, and yes, disabling SEFU mod (Ultimate_SEO_URLs_v2.105) does allow the currency to be set without problems, but unfortunately, the Google Language translator in the sidebox below the currency selector still results in a Page 404 error.

    BTW I have now set up a redirect so that a different domain 'points' at the site

    Can you assist me in sorting out how to make the currency selector work when Ultimate_SEO_URLs_v2.105 is enabled?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Page 404 Error on Currency Selection

    Quote Originally Posted by blag View Post
    unfortunately, the Google Language translator in the sidebox below the currency selector still results in a Page 404 error.
    You'll have to rewrite the currency-selector sidebox to use the same logic that the built-in one normally uses. Right now it's passing parameters to the URL incorrectly.

    Quote Originally Posted by blag View Post
    Can you assist me in sorting out how to make the currency selector work when Ultimate_SEO_URLs_v2.105 is enabled?
    You will find some discussion by various folks in that module's support thread for things you might try.
    .

    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.

  6. #6
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

    Default Re: Page 404 Error on Currency Selection

    Quote Originally Posted by DrByte View Post
    Quote Originally Posted by blag View Post
    unfortunately, the Google Language translator in the sidebox below the currency selector still results in a Page 404 error.
    You'll have to rewrite the currency-selector sidebox to use the same logic that the built-in one normally uses. Right now it's passing parameters to the URL incorrectly.

    Quote Originally Posted by blag View Post
    Can you assist me in sorting out how to make the currency selector work when Ultimate_SEO_URLs_v2.105 is enabled?
    You will find some discussion by various folks in that module's support thread for things you might try.
    DrByte

    Thanks for the speedy response.

    I am not sure as to which module's support thread you refer. Is it the Google or the SEO mod?

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Page 404 Error on Currency Selection

    Where did your currencies sidebox code come from?

    Is it the one built-in to Zen Cart, or is it part of another mod?
    .

    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.

  8. #8
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

    Default Re: Page 404 Error on Currency Selection

    Quote Originally Posted by DrByte View Post
    Where did your currencies sidebox code come from?

    Is it the one built-in to Zen Cart, or is it part of another mod?
    AFAIK, the currencies side box is the one that is built into Zen Cart. I don't see any other installed mods that might affect this.

    I have now disabled the Google Languages; the Yahoo Menu Tree; the Testimonial Side Box; the Links Side Box.

    I do have No_Account_No_Login installed, and User Currency. I have previously disabled the User Currency mod, and found it has no effect on the problem with Currencies.

    The status quo after all the removals/disabling above is that my Index page is now HTML error-free, and, I believe that it is also free of JS errors, but still the user cannot change the currency. I see that you are in Canada - when you visit my site, what currency is set as the default?

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Page 404 Error on Currency Selection

    Quote Originally Posted by blag View Post
    I see that you are in Canada - when you visit my site, what currency is set as the default?
    It auto-selects GBP.
    And if I try to change it, the page refreshes without any error, but doesn't change the currency either.

    Something's affecting how the URL inside the form's action tag is built.

    What do you have in your /.htaccess file, and also in your /store/.htaccess file?
    Something's redirecting the page to a non-www address when the currency box is used.
    .

    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.

  10. #10
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

    Have a Drink Re: Page 404 Error on Currency Selection

    Dr Byte I REALLY appreciate your intervention/assistance.

    If you navigate to a product (not so easy without the sidebox menu - but via the category links on the home page), you will find that changing the currency takes you back to the Home page.

    I don't know how relevant this is but, I'll throw it in for good measure. The database is MySQL 4.1.22-standard; PHP version is 4.4.4 (Zend: 1.3.0). The HTTP server info is: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b. I am using ZC 1.3.7.1

    BTW What currency is offered to you by default?

    Here are the settiing is my .htaccess file for the store subdirectory:
    # secure htaccess file
    <Files .htaccess>
    order allow,deny
    deny from all
    </Files>

    # disable directory browsing
    Options All -Indexes

    # prevent folder listing
    IndexIgnore *

    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /store/

    # set the server timezone
    SetEnv TZ Etc/Greenwich

    # pass the default character set
    AddDefaultCharset utf-8

    # preserve bandwidth for PHP enabled servers
    <ifmodule mod_php4.c>
    php_value zlib.output_compression 16386
    </ifmodule>

    # disable the server signature
    ServerSignature Off

    # automatically correct simple spelling errors
    <IfModule mod_speling.c>
    CheckSpelling On
    </IfModule>

    # EZ Pages from Ultimate Seo Urls version 2.1 to 3.X
    RewriteRule ^page.html$ index\.php?main_page=page&%{QUERY_STRING} [L,R=301]
    # Seo Urls version 3.x
    # Don't rewrite real files or directories
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ index\.php?seo_url=$1&%{QUERY_STRING} [L]

    ErrorDocument 404 /store/index.php?main_page=page_not_found.php
    I don't know whether any other .htacces files at higher levels have an effect, but I can supply these if necessary.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. v150 Display 404 error page instead of 500 Internal Server Error
    By ShopVille in forum General Questions
    Replies: 1
    Last Post: 7 Dec 2012, 05:34 PM
  2. Login page gives error 404 page not found
    By g28469b in forum General Questions
    Replies: 13
    Last Post: 20 Apr 2011, 11:23 PM
  3. 404 error page
    By Semenek in forum General Questions
    Replies: 0
    Last Post: 7 Mar 2010, 10:08 AM
  4. Automatic Currency Selection for a domain
    By [email protected] in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 5 Jun 2007, 09:38 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR