Results 1 to 10 of 2445

Hybrid View

  1. #1
    Join Date
    Apr 2014
    Location
    London
    Posts
    22
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Help pls as I have hardly any fingernails left!!

    I'm upgrading my site so I've installed a subdomain to test zen cart in.
    Original site: shop.com (Zencart version 1.3.8a PHP Version 5.2.17) - live site
    Test site: zenner.shop.com (Zencart version 1.5.1 PHP Version 5.2.17)

    In the subdomain zenner.shop.com I first installed ZC version 1.5.1 using softaculous. Then I downloaded ZC 1.5.1 and uploaded zc install folder. I created a new database and copied the database from 1.3.8a live site into the new database and upgraded. All working well on the new subdomain test site.

    I downloaded and installed CEON URI MAPPING 4.4.1 on zenner.shop.com.
    I read installation, configuration and fAQs.
    I ran the installation check. All is fine. I created an .htaccess file by copying what was suggested on the configuration page of zc admin by the CEON module and uploaded it to public_html/zenner.
    I created a new category to test called: testing

    HOWEVER when I test zenner.shop.com/testing I keep getting:

    Not Found
    The requested URL /testing was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    I tried changing the last line in the htaccess:

    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]

    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* /index.php [QSA,L]

    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* zenner/index.php [QSA,L]

    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* /zenner/index.php [QSA,L]

    Nothing works!

    When I disable CEON URI module the testing category works and shows up as zenner.shop.com/testing?zenid=abaccf73d23b992636e89fb68ad03aa8

    I've spoke to my host who said that rewrite module is on [~]# httpd -l | grep mod_rewrite.c and said the rewrite code looks ok too.

    I'm at my wits end and want to scream.
    Can anyone help me avoid a breakdown pretty pls?

  2. #2
    Join Date
    Apr 2014
    Location
    London
    Posts
    22
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quick update

    I put the rewrite rule in the root htaccess of my cpanel and it seems to work. However it messed up all my other sites on cpanel so I had to remove it.
    The problem is the zencart is installed in a subdomain of an addon domain. When testing is ready I will move it to the addon domain.

    Can someone tell me if the module will work if I put the rewrite rule in the htaccess of the addon domain. If so what should the last line of the rewrite rule read?

    CEON is installed in subdomain of addon domain

    main domain: ecl.com
    addon domain: shop.com (where shop.com/zencart - is the live site)
    subdomain: zenner.shop.com

    hello anyone?
    Last edited by Millie63; 2 May 2014 at 12:15 PM.

  3. #3
    Join Date
    Apr 2014
    Location
    London
    Posts
    22
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Problem solved

    I had forgotten to include the subdomain in the main htaccess

    RewriteCond %{HTTP_REFERER} !^http://www.zenner.shop.com/.*$ [NC]

    Sorry about the rant :)

  4. #4
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Ceon URI Mapping v4.x

    Apologies if this has been posted before, I'm just logging it quickly for others before I go off to work:

    error received (PHP 5.4)
    PHP Code:
    PHP Fatal errorAllowed memory size of 268435456 bytes exhausted (tried to allocate 2604203801 bytesin /includes/classes/class.CeonURIMappingHREFLinkBuilder.php on line 378 
    if the following isn't the appropriate fix then it certainly appears to do the trick.
    Taken from this thread https://www.zen-cart.com/showthread....14#post1240514 as per Lat9 and DrByte on a similar issue:

    find includes/classes/class.CeonURIMappingHREFLinkBuilder.php approx 376 replace
    PHP Code:
    // Add the session ID when moving from different HTTP and HTTPS servers, or when SID is defined
                
    if ($add_session_id == true && $session_started == true && SESSION_FORCE_COOKIE_USE == 'False') {
                    if (
    defined('SID') && zen_not_null(SID)) {
                        
    $sid SID
    with
    PHP Code:
    // Add the session ID when moving from different HTTP and HTTPS servers, or when SID is defined
                
    if ($add_session_id == true && $session_started == true && SESSION_FORCE_COOKIE_USE == 'False') {
                    if (
    defined('SID') && zen_not_null(constant('SID'))) {
            
    $sid constant('SID'); 

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,970
    Plugin Contributions
    96

    Default Re: Ceon URI Mapping v4.x

    It's an appropriate fix ...

  6. #6
    Join Date
    Sep 2012
    Posts
    14
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    I'm having problems with a site that I have set up as a the main domain. Actually the problem is with the sub domains. I can't get to them with the .htaccess file that is create with CEON. If I don't use the .htaccess file I can get to them. Here is the file.

    Code:
    RewriteEngine On
    
    # 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} !^/adminghi [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite bmz_cache directory
    RewriteCond %{REQUEST_URI} !^/bmz_cache/ [NC]
    # Don't rewrite rayshookconstruction.com directory
    RewriteCond %{REQUEST_URI} !^/rayshookconstruction\.com/ [NC]
    # Don't rewrite cgi-bin directory
    RewriteCond %{REQUEST_URI} !^/cgi\-bin/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/logs/ [NC]
    # Don't rewrite b-goat.com directory
     RewriteCond %{REQUEST_URI} !^/b\-goat\.com/ [NC]
    # Don't rewrite sitemap directory
    RewriteCond %{REQUEST_URI} !^/sitemap/ [NC]
    # Don't rewrite temp.jaciscookies.com directory
    RewriteCond %{REQUEST_URI} !^/temp\.jaciscookies\.com/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]
    Not sure what I need to change. Help would be greatly appreciated.

    Billie

  7. #7
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by BGoat View Post
    I'm having problems with a site that I have set up as a the main domain. Actually the problem is with the sub domains. I can't get to them with the .htaccess file that is create with CEON. If I don't use the .htaccess file I can get to them. Here is the file.

    Code:
    RewriteEngine On
    
    # 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} !^/adminghi [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite bmz_cache directory
    RewriteCond %{REQUEST_URI} !^/bmz_cache/ [NC]
    # Don't rewrite rayshookconstruction.com directory
    RewriteCond %{REQUEST_URI} !^/rayshookconstruction\.com/ [NC]
    # Don't rewrite cgi-bin directory
    RewriteCond %{REQUEST_URI} !^/cgi\-bin/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/logs/ [NC]
    # Don't rewrite b-goat.com directory
     RewriteCond %{REQUEST_URI} !^/b\-goat\.com/ [NC]
    # Don't rewrite sitemap directory
    RewriteCond %{REQUEST_URI} !^/sitemap/ [NC]
    # Don't rewrite temp.jaciscookies.com directory
    RewriteCond %{REQUEST_URI} !^/temp\.jaciscookies\.com/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]
    Not sure what I need to change. Help would be greatly appreciated.

    Billie
    Well, one thing seems that you need to change your admin directory....

    The other issue seems to be related to having subdirectories that end with an extension. Though before acting on that, is there an .htaccess in each/any of the other store roots?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x

    Question is will the maintainers of this module (JS Webs) be submitting an update or is this gonna become one of those "orphaned" free modules because the maintainer is focusing on the commercial version only.. hmmmmmmmm
    Quote Originally Posted by picandnix View Post
    Apologies if this has been posted before, I'm just logging it quickly for others before I go off to work:

    error received (PHP 5.4)
    PHP Code:
    PHP Fatal errorAllowed memory size of 268435456 bytes exhausted (tried to allocate 2604203801 bytesin /includes/classes/class.CeonURIMappingHREFLinkBuilder.php on line 378 
    if the following isn't the appropriate fix then it certainly appears to do the trick.
    Taken from this thread https://www.zen-cart.com/showthread....xhausted/page6 as per Lat9 and DrByte on a similar issue:

    find includes/classes/class.CeonURIMappingHREFLinkBuilder.php approx 376 replace
    PHP Code:
    // Add the session ID when moving from different HTTP and HTTPS servers, or when SID is defined
                
    if ($add_session_id == true && $session_started == true && SESSION_FORCE_COOKIE_USE == 'False') {
                    if (
    defined('SID') && zen_not_null(SID)) {
                        
    $sid SID
    with
    PHP Code:
    // Add the session ID when moving from different HTTP and HTTPS servers, or when SID is defined
                
    if ($add_session_id == true && $session_started == true && SESSION_FORCE_COOKIE_USE == 'False') {
                    if (
    defined('SID') && zen_not_null(constant('SID'))) {
            
    $sid constant('SID'); 
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  9. #9
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by DivaVocals View Post
    Question is will the maintainers of this module (JS Webs) be submitting an update or is this gonna become one of those "orphaned" free modules because the maintainer is focusing on the commercial version only.. hmmmmmmmm
    Earlier today I thought exactly the same, and came close to doing it myself, purely to help other users and out of respect for Conor.
    Maybe in the future but for now I'll leave it to the JSWEB commercial guru's.

  10. #10
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by picandnix View Post
    Earlier today I thought exactly the same, and came close to doing it myself, purely to help other users and out of respect for Conor.
    Maybe in the future but for now I'll leave it to the JSWEB commercial guru's.
    **nods in agreement**
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

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

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