Re: Ceon URI Mapping v4.x
...continuing my monologue...the above code is not correct.
I decided to get into 2016 and used the available notifier instead
Quote:
$zco_notifier->notify('NOTIFY_SEFU_INTERCEPT_ADMCATHREF', array(), $link, $page, $parameters, $connection);
https://www.zen-cart.com/showthread....alog_href_link
So now no modifications are necessary to html_output (catalog/admin).
These changes have been added to my Github.
Re: Ceon URI Mapping v4.x
Hi, I am hoping some one would be able to help me.
I'm not aware of any changes to my site, but all of a sudden I was getting 404 errors on all of my product pages.
I ran the Ceon URI Mapping Installation check it came back with an error:
Quote:
A file requires 2 modifications to be made for it but none of the modifications have been made.
The file it is talking about is includes/functions/general.php, but all it says it make the modifications and doesn't tell me what is wrong or what the modifications are.
Does anyone have any idea?
Thanks!
Re: Ceon URI Mapping v4.x
Download the original mod zip file and go through the readme/install instructions.
Has your PHP version been updated perhaps?
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
picandnix
Download the original mod zip file and go through the readme/install instructions.
Has your PHP version been updated perhaps?
Hi Thanks, for your help.
I did this and updated the general.php file, ran the installation check again and it came back saying everything was now fine.
I then thought I would test what happens if I create a new page.
If I create a new category page then it adds this to my navigation, the URI mapping creates a URI for the page, but going to it on the website provides a 404.
I tried to do the same with an EZ-page and it creates the page, with some content on it, but if I try to enable a header or footer or specify an URI for that page it doesn't save the changes.
Does this sound like a wider issue?
I don't think my PHP has been updated, I checked and I am running version 5.3.29
Thanks
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
richmandoo
Hi Thanks, for your help.
I did this and updated the general.php file, ran the installation check again and it came back saying everything was now fine.
I then thought I would test what happens if I create a new page.
If I create a new category page then it adds this to my navigation, the URI mapping creates a URI for the page, but going to it on the website provides a 404.
I tried to do the same with an EZ-page and it creates the page, with some content on it, but if I try to enable a header or footer or specify an URI for that page it doesn't save the changes.
Does this sound like a wider issue?
I don't think my PHP has been updated, I checked and I am running version 5.3.29
Thanks
Did you follow the instructions to create .htaccess file?
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
picandnix
Did you follow the instructions to create .htaccess file?
I did, yes and tried adding a / before index.php, but didn't make any difference
Re: Ceon URI Mapping v4.x
What content is in your htaccess file? (obscure the reference to your admin directory) and be sure to include all of the content of the htaccess file not just what needs to be added to support this plugin.
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
What content is in your htaccess file? (obscure the reference to your admin directory) and be sure to include all of the content of the htaccess file not just what needs to be added to support this plugin.
Hi Thanks,
Code:
AddHandler php-stable .php
## BEGIN CEON URI MAPPING REWRITE RULE
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} !^/XXX [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors/ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
Re: Ceon URI Mapping v4.x
Hi, I'm still not getting anywhere with this.
I have noticed that the Ceon site is down for maintenance, I'd like to think it wouldn't have any impact on the functionality, but can I just rule this out?
Any other help would be greatly appreciated too.
Thanks
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
richmandoo
Hi, I'm still not getting anywhere with this.
I have noticed that the Ceon site is down for maintenance, I'd like to think it wouldn't have any impact on the functionality, but can I just rule this out?
Any other help would be greatly appreciated too.
Thanks
It has no impact on functionality of this plugin as provided on this forum and was only provided to potentially identify an updated version being available through a sort of one way pull, get the current information data from the site, analyze locally what needs to be done if anything and take appropriate action.
As to your issues, it's concerning that it had been "installed", but that one file had not been edited or if it had it may have been replaced without the necessary edits. While the install test is supposed to identify if all of the files have been edited properly, that doesn't necessarily mean that there isn't something extra done... Or something else that has gotten modified away from the default/standard install.
Is the site in a web-facing sub-directory of any kind? (ie. htt p : / / my site . com / zencart)
This is what I use as the RewriteRule portion of the htaccess modifications that works on the site its needed:
Code:
RewriteRule ^(.*)$ /index.php [QSA,L]
I have omitted all of the RewriteCond lines from the above as in principle they are the same as what is provided previously.