Page 184 of 245 FirstFirst ... 84134174182183184185186194234 ... LastLast
Results 1,831 to 1,840 of 2445
  1. #1831
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Hi,

    Hoping someone can help as I'm into the 4th hour and no joy on this mod.

    I'm working on a new site with a clean install of 1.5.4 on my local server (wamp)

    I have installed the mod several times and it all check out fine using the installation check page

    I have generated URI mapping on a particular category page and individual product, but I'm getting 404 and 500 errors depending on the following.

    If I DON'T add the .htaccess file, I can get to the store front, but I get 404 errors on any of the product category pages.
    If I DO install the .htaccess file in either the wamp/www/ folder of the wamp/www/zencart folder I get 500 error when I try an load the sites main page.

    This is what the .htaccess file currently looks like

    ## BEGIN CEON URI MAPPING REWRITE RULE

    RewriteEngine On

    # ONLY rewrite URIs beginning with /zencart/
    RewriteCond %{REQUEST_URI} ^/zencart/ [NC]
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    # which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    # which are not covered by main file extension condition above
    # Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/zencart/admindemo [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/zencart/editors/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/zencart/logs/ [NC]
    # Don't rewrite zencart directory
    RewriteCond %{REQUEST_URI} !^/zencart/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    # RewriteRule .* index.php [QSA,L]
    RewriteRule .* /zencart/index.php [QSA,L]

    ## END CEON URI MAPPING REWRITE RULE

    I have modified the last line of the file to

    /index.php
    index.php
    /zencart/index.php
    zencart/index.php.

    All to no avail.

    The worst part is I have an older version of it working nicely on my old 1.3.9 site !!

    Any suggestions as to what I may have done wrong would be greatly appreciated

    Many thanks,
    Mike
    Last edited by Mike_Dean; 13 Apr 2015 at 02:04 PM.

  2. #1832
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by Mike_Dean View Post
    Hi,

    Hoping someone can help as I'm into the 4th hour and no joy on this mod.

    I'm working on a new site with a clean install of 1.5.4 on my local server (wamp)

    I have installed the mod several times and it all check out fine using the installation check page

    I have generated URI mapping on a particular category page and individual product, but I'm getting 404 and 500 errors depending on the following.

    If I DON'T add the .htaccess file, I can get to the store front, but I get 404 errors on any of the product category pages.
    If I DO install the .htaccess file in either the wamp/www/ folder of the wamp/www/zencart folder I get 500 error when I try an load the sites main page.

    This is what the .htaccess file currently looks like

    ## BEGIN CEON URI MAPPING REWRITE RULE

    RewriteEngine On

    # ONLY rewrite URIs beginning with /zencart/
    RewriteCond %{REQUEST_URI} ^/zencart/ [NC]
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    # which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    # which are not covered by main file extension condition above
    # Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/zencart/admindemo [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/zencart/editors/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/zencart/logs/ [NC]
    # Don't rewrite zencart directory
    RewriteCond %{REQUEST_URI} !^/zencart/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    # RewriteRule .* index.php [QSA,L]
    RewriteRule .* /zencart/index.php [QSA,L]

    ## END CEON URI MAPPING REWRITE RULE

    I have modified the last line of the file to

    /index.php
    index.php
    /zencart/index.php
    zencart/index.php.

    All to no avail.

    The worst part is I have an older version of it working nicely on my old 1.3.9 site !!

    Any suggestions as to what I may have done wrong would be greatly appreciated

    Many thanks,
    Mike
    Well, honestly, very little if anything has changed for the .htaccess file requirements through the ZC versions, if anything it is the server or other system changes that may necessitate a change. Therefore, basically if the .htaccess works fine for your 1.3.9 version of ZC, the same basic .htaccess could/should work for ZC 1.5.4... There may be some other factors about your local setup that are causing the issue, also if the .htaccess is placed in wamp/www does your wamp/www/zencart folder also have a .htaccess? (If wamp/www/zencart is your site's root folder for the zencart program, the answer should be that there is no .htaccess in the zencart subdirectory because zencart does not require one for normal operation.) If there is a .htaccess file in the wamp/www/zencart folder, what are its contents? Why is it there? And if so, you may need to incorporate the .htaccess content above into it, but move down a directory (instead of /zencart/ may just be / but also have to use a command at the beginning to indicate the current directory...

    I did have to in one case have a .htaccess file in both the sites root as well as the store's root both providing the same general rewrite rule in each directory but a difference in that the subfolder didn't have reference to the subfolder, but as if at the site itself... Removal of the CEON .htaccess code from either caused trouble because the sub-directory had a .htaccess file for other reasons...

    But it still could also be setup of the server as well at least without further information.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #1833
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ceon URI Mapping v4.x

    500 = Internal Server Error = Check Apache Logs.

    Guessing some part of WAMP is misconfigured (for example not enabling mod_rewrite). But the Apache error log should help us better determine the cause.

  4. #1834
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    I have a client where her 1.3.9h files are in the root public folder but am upgrading her to 1.5.4 and having the same issue. I had to turn off Ceon in order to access the test store site for if the mod is active I get the same error. It being a test store doesn't bother me cause I still have to finish edits then transfer to the clone of her store. But if this continues after the live store is with the files, we shall have a problem...lol

  5. #1835
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by lhungil View Post
    500 = Internal Server Error = Check Apache Logs.

    Guessing some part of WAMP is misconfigured (for example not enabling mod_rewrite). But the Apache error log should help us better determine the cause.
    Ahhh Its the simple things in life that cause the most stress !
    Didn't think to check the Apache settings. Yes, the mod-rewrite was not enabled, so a quick change, restart the wamp server and re-set all the product categories and all good.



    Thanks all....

  6. #1836
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    good for you to gets yours going, but hers is active or the mod would not work in the active store so no idea why it is not behaving in the test store that is in a directory of its own

  7. #1837
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by DarkAngel View Post
    good for you to gets yours going, but hers is active or the mod would not work in the active store so no idea why it is not behaving in the test store that is in a directory of its own
    If you have the exact same symptoms (an HTTP 500 / internal server error)... Then you will need to check the server error logs (may need to contact your hosting provider as not all provide direct access to the Apache server error logs).

    If you have a different symptom (it sounds like you do), please elaborate. Is the phpinfo() output exactly the same for both the live and demo store? What are the physical paths for the live store and demo store? Is the .htaccess file in a "parent" folder shared by both stores or is one store "nested inside" the other? If so have you altered the .htaccess file(s) accordingly?
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  8. #1838
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by lhungil View Post
    If you have the exact same symptoms (an HTTP 500 / internal server error)... Then you will need to check the server error logs (may need to contact your hosting provider as not all provide direct access to the Apache server error logs).
    She has a shared server but the host is fairly easy with the php stuff or with fixing things on their end

    If you have a different symptom (it sounds like you do), please elaborate. Is the phpinfo() output exactly the same for both the live and demo store?
    Yes I believe so

    What are the physical paths for the live store and demo store? Is the .htaccess file in a "parent" folder shared by both stores or is one store "nested inside" the other? If so have you altered the .htaccess file(s) accordingly?
    paths are different since the live store is directly in the public folder/store files
    the test store is public folder/teststore/store files

    1. I tried adding the ceon code it wants in the .htaccess file to the main one in the root AND still admin is accessible but clicking the link within there to go to the front end of the store it goes to page not found of live store

    2. removed the code and created its own .htaccess code and still the same thing.

    3. turned off ceon in test and now can access the store font with no issues.

  9. #1839
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ceon URI Mapping v4.x

    Can you post "/public/.htaccess", "/public/store/.htaccess", "/public/teststore/.htaccess", and "/public/teststore/store/.htaccess"?

    Please obscure the admin path (change to "!^/store/admin", "!^/teststore/store/admin", etc).

    I'd also ask if you could kindly place the file contents inside "code tags" (ex: [CODE]file contents[/CODE])
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  10. #1840
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by lhungil View Post
    Can you post "/public/.htaccess", "/public/store/.htaccess", "/public/teststore/.htaccess", and "/public/teststore/store/.htaccess"?

    Please obscure the admin path (change to "!^/store/admin", "!^/teststore/store/admin", etc).

    I'd also ask if you could kindly place the file contents inside "code tags" (ex: [CODE]file contents[/CODE])


    1. public/.htaccess is the live store .htaccess file since all files live within the public folder so this is live store file

    2. as for the test .htaccess file has long since gotten deleted but it was exactly like the one first posted below with the information of second

    Code:
    RewriteEngine On
    
     # Redirect all users to access the site WITH the 'www.' prefix
      RewriteCond %{HTTP_HOST} !^www\. [NC]
      RewriteCond %{HTTP_HOST} !\.([a-z-]+\.[a-z]{2,6})$ [NC]
      RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    
    
    ## BEGIN CEON URI MAPPING REWRITE RULE
    
    
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    #   which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    #   which are not covered by main file extension condition above
    #   Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/admin [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite darkangel directory
    RewriteCond %{REQUEST_URI} !^/private/ [NC]
    # Don't rewrite cgi-bin directory
    RewriteCond %{REQUEST_URI} !^/cgi-bin/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* /index.php [QSA,L]
    
    ## END CEON URI MAPPING REWRITE RULE
    
    
    
    ## EXPIRES CACHING ##
    
    <IfModule mod_expires.c>
    
    ExpiresActive On
    
    ExpiresByType image/jpg "access plus 1 year"
    
    ExpiresByType image/jpeg "access plus 1 year"
    
    ExpiresByType image/gif "access plus 1 year"
    
    ExpiresByType image/png "access plus 1 year"
    
    ExpiresByType text/css "access plus 1 month"
    
    ExpiresByType application/pdf "access plus 1 month"
    
    ExpiresByType text/x-javascript "access plus 1 month"
    
    ExpiresByType application/x-shockwave-flash "access plus 1 month"
    
    ExpiresByType image/x-icon "access plus 1 year"
    
    ExpiresDefault "access plus 2 days"
    
    </IfModule>
    
    ## EXPIRES CACHING ##
    deny from 144.76.95.231
    # Use PHP53 as default
    AddHandler application/x-httpd-php53 .php
    <IfModule mod_suphp.c>
        suPHP_ConfigPath /opt/php53/lib
    </IfModule>

    2nd code

    Code:
    ## BEGIN CEON URI MAPPING REWRITE RULE
    
    RewriteEngine On
    
    # ONLY rewrite URIs beginning with /test/
    RewriteCond %{REQUEST_URI} ^/test/ [NC]
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    #   which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    #   which are not covered by main file extension condition above
    #   Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/test/admin [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/test/editors/ [NC]
    # Don't rewrite !!storage directory
    RewriteCond %{REQUEST_URI} !^/test/logs/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* storetest/index.php [QSA,L]
    
    ## END CEON URI MAPPING REWRITE RULE

 

 

Similar Threads

  1. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  2. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  3. Ceon URI Mapping (SEO)
    By conor in forum All Other Contributions/Addons
    Replies: 2906
    Last Post: 9 Sep 2011, 08:31 AM
  4. Ceon URI Mapping v4
    By conor in forum All Other Contributions/Addons
    Replies: 110
    Last Post: 14 Aug 2011, 02:51 PM

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