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
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 error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2604203801 bytes) in /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');
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
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.
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
picandnix
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**:yes:
Re: Ceon URI Mapping v4.x
I've installed this and followed all of the directions. Ive spent many hours researching and I just cant get it. There seems to be some kind of problem on GoDaddy servers but I can never find the solution
Here is the site - http://thehockeyjersey.co/store/
I've started using it on the Gift Certificates Category link. You can see it works but it displays the 404 error.
Its a Linux server on GoDaddy and I created the .htaccess file directly from the software in the admin section. I also tried adding the extra / for the RewriteRule but it doesnt work either way.
It seems so close, just one small thing missing. Thank you!
Re: Ceon URI Mapping v4.x
Just as an update, Im turning this off for the time being. The new url I have defined as http://thehockeyjersey.co/store/giftcertificates but it comes up as a 404 and doesnt redirect to the original url.
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
THJCO
I've installed this and followed all of the directions. Ive spent many hours researching and I just cant get it. There seems to be some kind of problem on GoDaddy servers but I can never find the solution
Here is the site -
http://thehockeyjersey.co/store/
I've started using it on the Gift Certificates Category link. You can see it works but it displays the 404 error.
Its a Linux server on GoDaddy and I created the .htaccess file directly from the software in the admin section. I also tried adding the extra / for the RewriteRule but it doesnt work either way.
It seems so close, just one small thing missing. Thank you!
would help folks help you if you'd post the content of your .htaccess file.
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
would help folks help you if you'd post the content of your .htaccess file.
Of course, thank you! I also turned it back on, so you can see the gift certs category not working. I have the .htaccess file in my root directory.
Code:
## BEGIN CEON URI MAPPING REWRITE RULE
RewriteEngine On
# ONLY rewrite URIs beginning with /store/
RewriteCond %{REQUEST_URI} ^/store/ [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 editors directory
RewriteCond %{REQUEST_URI} !^/store/editors/ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/store/admin/ [NC]
# Don't rewrite logs directory
RewriteCond %{REQUEST_URI} !^/store/logs/ [NC]
# Don't rewrite cron directory
RewriteCond %{REQUEST_URI} !^/store/cron/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* /store/index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
Re: Ceon URI Mapping v4.x
did you write the url yourself --- in the area to write the url wanted. Or did you just tic the auto-generated box and let the module create the url?
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DarkAngel
did you write the url yourself --- in the area to write the url wanted. Or did you just tic the auto-generated box and let the module create the url?
In my example one, yes I wrote it myself. I also tried the auto box.
Re: Ceon URI Mapping v4.x
Thanks, I had gotten the same thing when I first installed it but after using only the auto feature it started behaving. If the gift certificates are in a category of their own don't forget to add the category name in the url....and set the auto gen in that category too.
Right now mine is behaving as I said, however occasionally the urls are folloed with the ? and cpath too. I get members that send me a link with a question about the product and the url is as I mentioned with the partial cpath.