Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping v4.x

Ceon URI Mapping v4.x

Views: 452,162

Results 1,141 to 1,160 of 2,454
3 Apr 2013, 3:13 AM
#1141
chargin avatar

chargin

Zen Follower

Join Date:
Sep 2011
Posts:
136
Plugin Contributions:
0

Ceon URI Mapping v4.x

How do I keep http://mydomain.com in the address?
All my products show /category as the start of the URL

The problem Im having is I want to export the products as a csv for a product feed for nextag, nextag doesnt like my urls without the domain in front of course. I dont want to manually edit the excel file as I have a lot of products and some do and some dont have this issue depending on wether Ive edited them of course.

Ive tried a search but couldnt find the answer to this although Im sure it has come up before...

3 Apr 2013, 3:49 AM
#1142
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

Chargin:

How do I keep http://mydomain.com in the address?
All my products show /category as the start of the URL

The problem Im having is I want to export the products as a csv for a product feed for nextag, nextag doesnt like my urls without the domain in front of course. I dont want to manually edit the excel file as I have a lot of products and some do and some dont have this issue depending on wether Ive edited them of course.

Ive tried a search but couldnt find the answer to this although Im sure it has come up before...

This thread is not the right thread to address your question.. This add-on does not export URLs from your store..

3 Apr 2013, 3:53 AM
#1143
chargin avatar

chargin

Zen Follower

Join Date:
Sep 2011
Posts:
136
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

DivaVocals:

This thread is not the right thread to address your question.. This add-on does not export URLs from your store..

No I have a mod that does that, Easy populate.
But the URLs it now exports for any products that have a Ceon URI all start with /category.
Surely theres a setting or something to sort this out, like the way the htaccess file is setup?

3 Apr 2013, 4:07 AM
#1144
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

Chargin:

No I have a mod that does that, Easy populate.
But the URLs it now exports for any products that have a Ceon URI all start with /category.
Surely theres a setting or something to sort this out, like the way the htaccess file is setup?
You need to ask the folks on the EZ Populate thread.. (and BTW, if Conor was around he'd re-direct you there as well..:smile:)

6 Apr 2013, 8:12 AM
#1145
dh010010 avatar

dh010010

New Zenner

Join Date:
Aug 2012
Posts:
23
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I have a small problem with URI that are displayed in the sitemapXML module for ezpages. All other site maps are created with the correct ceon uri mappings however the ezpages are not, they are displayed as the standard zencart string.

Just to clarify general navigation round the site is a ok. All the URI's match the mapped ones from the ceon module, it is only when the sitemapxml module creates a sitemap for ezpages it does not displaye the correct mappings.

I posted on the sitemapxml support forum but with no sugestios for a fix, I was recommended to try here. :wacko:

Here is a link to the sitemap index, just incase it would be of any use to you;

https://www.wefixitonline.co.uk/sitemap.xml

Has anyone else experienced this problem or do you know of a way to rectify it?

Thanks in advance for any help you can provide :blush:

Tech Info:
Zencart Version - 1.5.1
Ceon URI Version - 4.4.1
SitemapXML Version - 2.1

6 Apr 2013, 9:08 AM
#1146
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

DH010010:

I have a small problem with URI that are displayed in the sitemapXML module for ezpages. All other site maps are created with the correct ceon uri mappings however the ezpages are not, they are displayed as the standard zencart string.

Just to clarify general navigation round the site is a ok. All the URI's match the mapped ones from the ceon module, it is only when the sitemapxml module creates a sitemap for ezpages it does not displaye the correct mappings.

I posted on the sitemapxml support forum but with no sugestios for a fix, I was recommended to try here. :wacko:

Here is a link to the sitemap index, just incase it would be of any use to you;

www.wefixitonline.co.uk/sitemap.xml

Has anyone else experienced this problem or do you know of a way to rectify it?

Thanks in advance for any help you can provide :blush:

Tech Info:
Zencart Version - 1.5.1
Ceon URI Version - 4.4.1
SitemapXML Version - 2.1

A search in this thread for "XML sitemap" turns up these threads:
http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1139779#post1139779
http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1155092#post1155092
[http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1190481#post1190481

](http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1190481#post1190481)

6 Apr 2013, 12:00 PM
#1147
dh010010 avatar

dh010010

New Zenner

Join Date:
Aug 2012
Posts:
23
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

DivaVocals:

A search in this thread for "XML sitemap" turns up these threads:
http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1139779#post1139779
http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1155092#post1155092
[http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1190481#post1190481

](http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1190481#post1190481)

I confirmed that this is not a ceon bug it was with sitemap xml - I found and posted a fix:

http://www.zen-cart.com/showthread.php?126810-SitemapXML-v-2/page127

Hope this helps someone :p

6 Apr 2013, 2:50 PM
#1148
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

DH010010:

I confirmed that this is not a ceon bug it was with sitemap xml - I found and posted a fix:

http://www.zen-cart.com/showthread.php?126810-SitemapXML-v-2/page127

Hope this helps someone :p

You rock, and THANKS for sharing your solution.. for the record last night I took a look at the XML sitemap files and made a pretty good GUESS as to where the problem was:laugh:. Though that's all I had because I certainly did NOT know how to fix it.. This is an old niggling issue and thanks to you it's FIXED!! Gonna repost your fix here in full..

6 Apr 2013, 2:59 PM
#1149
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

DH010010:

I confirmed that this is not a ceon bug it was with sitemap xml - I found and posted a fix:

http://www.zen-cart.com/showthread.php?126810-SitemapXML-v-2/page127

Hope this helps someone :p
Though you provided a link, I thought that I would take the liberty of posting the fix here as well..

To correct this you need to edit the following file:

/includes/modules/pages/sitemapxml/sitemapxml_ezpages.php

Find this on line 115:

      $link = FILENAME_EZPAGES;

Replace with this:

      $link = zen_href_link(FILENAME_EZPAGES, 'id=' . $page_query->fields['pages_id'] . ($page_query->fields['toc_chapter'] > 0 ? '&chapter=' . $page_query->fields['toc_chapter'] : ''), ($page_query->fields['page_is_ssl']=='0' ? 'NONSSL' : 'SSL'));

This will as Conor pointed out use the zen_href_link function to generate the EZ Pages URLs in the XML sitemap.

And so it's clear I have verified that as of today this fix applies to the following version of the XML Sitemap module.

SitemapXML

Version Date

v 3.2.6 17.06.2012

BIG thanks again to DH010010 for getting to the bottom of a very old issue.. Kudos to you!

9 Apr 2013, 9:49 PM
#1150
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

hi guys, just found this in my error log this evening, not sure if its anything to be concerned about? its the first and only one i've had. any idea what it could be?

[09-Apr-2013 21:26:39 UTC] PHP Fatal error: Call to a member function add() on a non-object in /home/site/public_html/includes/classes/class.CeonURIMappingHandlerBase.php on line 131

Thanks in advance.

15 Apr 2013, 3:09 PM
#1151
rudyg99 avatar

rudyg99

New Zenner

Join Date:
Apr 2012
Posts:
8
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hello All,

Needed some help on the .HTACCESS rewrites for the CEON Extension:

Got the entire extension installed properly, as verified on the installation checks. Also got the directives that were provided from the extension for the .htaccess file, but still can't get it to take effect.

Site is @ http://www.tiledart.com/shop2/

Here is the code provided from the extension for .htaccess:

BEGIN CEON URI MAPPING REWRITE RULE

RewriteEngine On

ONLY rewrite URIs beginning with /shop2/

RewriteCond %{REQUEST_URI} ^/shop2/ [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} !^/shop2/editors/ [NC]

Don't rewrite logs directory

RewriteCond %{REQUEST_URI} !^/shop2/logs/ [NC]

Don't rewrite images2 directory

RewriteCond %{REQUEST_URI} !^/shop2/images2/ [NC]

Don't rewrite tdart2 directory

Don't rewrite tmp directory

RewriteCond %{REQUEST_URI} !^/shop2/tmp/ [NC]

Handle all other URIs using Zen Cart (its index.php)

RewriteRule .* /shop2/index.php [QSA,L]

END CEON URI MAPPING REWRITE RULE

I have the extension activated on the admin panel, and rebooted the server to see if it would take effect, but no luck.

Can anyone offer a suggestion ????

Thanks,

Rudy

15 Apr 2013, 6:02 PM
#1152
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

Not sure what you mean by "to see if it would take effect, but no luck".. but here's a few questions:

  1. Is your .htaccess file located in the correct location?? (the root of your shop)
  2. Did you update all of your products, categories, and EZ Pages so that you create a URI for each one of these items?? (this is VERY EXPLICITLY stated is required in the readme file)

rudyg99:

Hello All,

Needed some help on the .HTACCESS rewrites for the CEON Extension:

Got the entire extension installed properly, as verified on the installation checks. Also got the directives that were provided from the extension for the .htaccess file, but still can't get it to take effect.

Site is @ http://www.tiledart.com/shop2/

Here is the code provided from the extension for .htaccess:

BEGIN CEON URI MAPPING REWRITE RULE

RewriteEngine On

ONLY rewrite URIs beginning with /shop2/

RewriteCond %{REQUEST_URI} ^/shop2/ [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} !^/shop2/editors/ [NC]

Don't rewrite logs directory

RewriteCond %{REQUEST_URI} !^/shop2/logs/ [NC]

Don't rewrite images2 directory

RewriteCond %{REQUEST_URI} !^/shop2/images2/ [NC]

Don't rewrite tdart2 directory

Don't rewrite tmp directory

RewriteCond %{REQUEST_URI} !^/shop2/tmp/ [NC]

Handle all other URIs using Zen Cart (its index.php)

RewriteRule .* /shop2/index.php [QSA,L]

END CEON URI MAPPING REWRITE RULE

I have the extension activated on the admin panel, and rebooted the server to see if it would take effect, but no luck.

Can anyone offer a suggestion ????

Thanks,

Rudy

21 Apr 2013, 1:45 PM
#1153
dave010880 avatar

dave010880

New Zenner

Join Date:
Mar 2008
Location:
UK
Posts:
26
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi All,

Hoping someone here ahs got the same problems and can help?

I've just installed this module on 1.3.8a, followed all the rules and mods as requested in the installation file. Everyething appeared to be working fine, I can add the URL's on products and categories however I appear to have a side affect.

I'm presuming this is related as I haven't done anything else to the site, these are my problems:

  1. If i try to edit a category meta tag, on saving it returns me to the admin home screen and doesn't update anything.
  • It allows me to create new meta tags without problem, only editing afterwards. This is true of recently created meta's and pre-module meta's.
  • Thsi doe snot appear to affcte product meta tags, only categories.
  1. I am no longer able to create new categories, it doe sthe same as aboe. I create the category, hit save and it takes me to admin home without creating it.
  • This does not appear to affect product creation.

Any help woudl be greatly appreciated, I'm suspecting it has something to do with the modded admin files but I am not a programmer so do not know where to begin.

Thanks, Dave

21 Apr 2013, 2:21 PM
#1154
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

dave010880:

I've just installed this module on 1.3.8a...Why are you using a version that was obsolete more than three years ago? I hope you have patched the worst of the security holes in that vintage installation!

dave010880:

I've ... followed all the rules and mods as requested in the installation file.I suspect that one of two things is causing your problems:

  1. The version of Zen Cart is so old that it is not supported by the addon. Sadly, Conor is no longer around to clarify that.

  2. You have not followed every step in the installation.

My suspicion is that 1. applies.

Your really do need to get it more up to date - to at least 1.3.9a, but preferably to 1.5.1, before spending time on adding things like URI mapping.

21 Apr 2013, 10:43 PM
#1155
dave010880 avatar

dave010880

New Zenner

Join Date:
Mar 2008
Location:
UK
Posts:
26
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

hairydog:

Why are you using a version that was obsolete more than three years ago? I hope you have patched the worst of the security holes in that vintage installation!

I suspect that one of two things is causing your problems:

  1. The version of Zen Cart is so old that it is not supported by the addon. Sadly, Conor is no longer around to clarify that.

  2. You have not followed every step in the installation.

My suspicion is that 1. applies.

Your really do need to get it more up to date - to at least 1.3.9a, but preferably to 1.5.1, before spending time on adding things like URI mapping.

I expected as much of a response... I am only one person trying to run a business in my spare time. Unfortunately I just do not have the time to upgrade, I need to earn money to eventually pay someone to do all this for me. I could go on with many more reasons for sticking with 1.3.8a but I wont for now.

As far as the add-on not being supported it has instructions stating for use with 1.3.8a, I had to modify some core files as per the instructions and I am guessing that is the most likely culprit. I am not great at programming but I'm pretty good at figuring stuff out if I'm given a starting point, maybe knowing what file(s) that had to be changed that could relate to the categories & meta information?

To come back to your comment about patches... I don't recall downloading/installing any for a long time. Is there anything specific that I should be looking for to install?

21 Apr 2013, 10:53 PM
#1156
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I've no idea what the problem might be - it would take too long to be worth finding out - and at the end you would still have a six-year-old setup.

You say that you could go in with the reasons not to upgrade: don't bother - just upgrade.

You should upgrade to 1.3.9a at least. Doing the patches would take just as long.

You say that you don't have the time: it is the work of one evening. Recovering from a hack let in by not doing it will take far longer.

21 Apr 2013, 11:12 PM
#1157
dave010880 avatar

dave010880

New Zenner

Join Date:
Mar 2008
Location:
UK
Posts:
26
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Unfortunately so... when I first started I knew nothing about php, zencart only basic html. A freind installed the site then left me to it, I bludgened my way through modifying files to create the look I wanted for the site. Unfortunately I did not know or understand the template system so I modified all the core files. I did setup a local copy of the later version to test with intention of upgrading (which took forever to do) and found it wiped out the entirity of my work. If I upgrade the live site it will completely turn it on it's head. There is alot more than 1 evenings work for me to do that, at my rate I would say weeks, possibly a month+... bearing in mind I have forgotten and have no clue at half the things I did to get it to where it is today!! My plan once in a better position is to revamp the whole website with a fresher look, but again I can't afford to be spending my time doing that right now. :(

Hopefully someone else will have experienced this to know a fix!?

BTW I have looked up the patches for zencart, I had done all but 1 that I could see which I have now resolved.

21 Apr 2013, 11:30 PM
#1158
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

dave010880:

Unfortunately so... when I first started I knew nothing about php, zencart only basic html. A freind installed the site then left me to it, I bludgened my way through modifying files to create the look I wanted for the site. Unfortunately I did not know or understand the template system so I modified all the core files. I did setup a local copy of the later version to test with intention of upgrading (which took forever to do) and found it wiped out the entirity of my work. If I upgrade the live site it will completely turn it on it's head. There is alot more than 1 evenings work for me to do that, at my rate I would say weeks, possibly a month+... bearing in mind I have forgotten and have no clue at half the things I did to get it to where it is today!! My plan once in a better position is to revamp the whole website with a fresher look, but again I can't afford to be spending my time doing that right now. :(

Hopefully someone else will have experienced this to know a fix!?

BTW I have looked up the patches for zencart, I had done all but 1 that I could see which I have now resolved.

Bottomline is that it's not a matter of IF you will get hacked running Zen Cart v1.3.8, it's WHEN.. That said, this thread is unfortunately not the place to have an ongoing discussion on the merits of upgrading Zen Cart. If you wish to continue that discussion you should start a new thread or read through the upgrade forum.

In the meantime, most install issues can be traced directly back to an incorrect install.. I strongly suggest starting with making sure all the core module files are in place, and then using a file comparison program review VERY carefully each one of the core override files to make sure that you have all the Ceon URI code in place and in the correct places.. Unfortunately my time is short so I cannot troll though all the files from a 6 year old version of Zen Cart to find the ones that might affect meta tags.. but offhand it's probably any of the admin side product or category files..

22 Apr 2013, 12:34 AM
#1159
dave010880 avatar

dave010880

New Zenner

Join Date:
Mar 2008
Location:
UK
Posts:
26
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I have been tinklering around and I believe I have found the offending article... I have been restoring each original file from my backup one by one. If it made no difference I kept the modified version. When I came to the html_output.php changing back to original cured the problem. I have re-installed the additional code manually and now it won't let me in to admin at all, flags the following error.

Warning: require_once(includes/classes/class.CeonURIMappingHREFLinkBuilder.php): failed to open stream: No such file or directory in /customers/3/f/2/wickedstyling.com/httpd.www/#####/includes/functions/html_output.php on line 38 Fatal error: require_once(): Failed opening required 'includes/classes/class.CeonURIMappingHREFLinkBuilder.php' (include_path='.:/usr/share/php') in /customers/3/f/2/wickedstyling.com/httpd.www/#####/includes/functions/html_output.php on line 38

I have blotted out my admin directory so not to announce it's location.

I have checked and the 'class.CeonURIMappingHREFLinkBuilder.php' file is located in the main directory and not in the admin/includes as per the instructions. I am presuming if it cannot find the file that it might be looking in the wrong place, possibly the admin? Does that sound like an acceptable conclusion or am I reading this error message wrong! If so any ideas how I can point the file to the correct place?

For reference this is the code that is required to be inserted:

// BEGIN CEON URI MAPPING 1 of 1
if (defined('CEON_URI_MAPPING_ENABLED') && CEON_URI_MAPPING_ENABLED == 1 && $static == false) {
  if (!isset($ceon_uri_mapping_href_link_builder)) {
    static $ceon_uri_mapping_href_link_builder;
    
    require_once(DIR_WS_CLASSES . 'class.CeonURIMappingHREFLinkBuilder.php');
    
    $ceon_uri_mapping_href_link_builder = new CeonURIMappingHREFLinkBuilder();
  }
  
  if ($ceon_uri_mapping_href_link_builder->buildHREFLink($link, $page, $parameters, $connection,
      $add_session_id)) {
    return $ceon_uri_mapping_href_link_builder->getHREFLink();
  }
}
// END CEON URI MAPPING 1 of 1

Hopefully this is a resolvable problem, I know at the start it was a bit wide open!! :)

22 Apr 2013, 4:05 PM
#1160
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

dave010880:

Unfortunately I did not know or understand the template system so I modified all the core files.Ah, someone who doesn't read the instructions! Too much in a rush to do the job the quick and easy way.

This is not the place to discuss this, but there is a simple way to sort this out. Identify all the core files you modified (hopefully by comparing file times, or by winmerge comparisons) and make them your override files by copying them to the relevant template folder. Then restore the original core files a few at a time to make sure it still works. What that's done, you're good to go with an upgrade. Do it this week. Really.