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

Ceon URI Mapping v4.x

Views: 452,161

Results 1,201 to 1,220 of 2,454
31 May 2013, 4:29 AM
#1201
lisab avatar

lisab

New Zenner

Join Date:
May 2013
Location:
Brisbane, Queensland, Australia, Australia
Posts:
7
Plugin Contributions:
0

Ceon URI Mapping v4.x

Requesting help again.

404 errors when I enable this plug in. I have tried the rewrite rule with and without the '/' in the last line of code.

May be related to this message that I receive when I get the rewrite code:

If using a .htaccess file

The path to the .htaccess file can't be constructed as there appears to be a problem with the paths in the store's configure.php file. The catalog folder, /onlineshop/, is not the end part of the path to the store: D:\Hosting\10875245\html\onlineshop/.

The values for DIR_WS_CATALOG and DIR_FS_CATALOG should be checked and fixed.

Fixed to what?
website is ljandeb.com
zen is at ljandeb.com/onlineshop

Webhosting uses IIS 7.0 and the rewrites work well with the WordPress but not with zen?

Thanks in advance.

3 Jun 2013, 3:06 PM
#1202
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

LisaB:

The path to the .htaccess file can't be constructed as there appears to be a problem with the paths in the store's configure.php file. The catalog folder, /onlineshop/, is not the end part of the path to the store: D:\Hosting\10875245\html\onlineshop/.

The values for DIR_WS_CATALOG and DIR_FS_CATALOG should be checked and fixed.

> Fixed to what? 
> website is ljandeb.com
> zen is at ljandeb.com/onlineshop
> 
> Webhosting uses IIS 7.0 and the rewrites work well with the WordPress but not with zen?
> 
> ...
I'm going to guess the installer's "auto-detection" of server type failed (can happen for a few different reasons...). When this happens the installer reverts to assuming you are running Apache (and attempts to build rewrite rules specifically for Apache).

Question? Is your IIS Server configured for [URL Rewrite](http://www.iis.net/downloads/microsoft/url-rewrite)? Or for [ISAPI Rewrite](http://www.helicontech.com/isapi_rewrite/)?
5 Jun 2013, 2:00 PM
#1203
dannyvarley avatar

dannyvarley

Zen Follower

Join Date:
Dec 2011
Posts:
287
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I think connor was planning on adding an option to always default to adding a trailing slash or not. I think this has to do with the href function but I can't figure out for the life of me what to do.

Can anyone help?

5 Jun 2013, 3:38 PM
#1204
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

DannyVarley:

I think connor was planning on adding an option to always default to adding a trailing slash or not. I think this has to do with the href function but I can't figure out for the life of me what to do.

Can anyone help?
I don't recall Conor saying he'd be adding any feature like this. Given that the addition of the trailing slash adds no real value to the URL as per the purpose of this module I can't see why he'd put in the effort..

6 Jun 2013, 8:38 AM
#1205
dannyvarley avatar

dannyvarley

Zen Follower

Join Date:
Dec 2011
Posts:
287
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi Diva! :D

In this thread: http://www.zen-cart.com/showthread.php?157568-Ceon-URI-Mapping-4-0-0-Changes-Input-Feedback-requested

He said:

I'm thinking that the first enhancement I'll make is to add an option "Store sometimes/always uses slashes at the end of URIs other than the home page's URI".

Which is exactly what I want it to do :)
Thanks,
Daniel

6 Jun 2013, 12:42 PM
#1206
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

DannyVarley:

Hi Diva! :D

In this thread: http://www.zen-cart.com/showthread.php?157568-Ceon-URI-Mapping-4-0-0-Changes-Input-Feedback-requested

He said:

Which is exactly what I want it to do :)
Thanks,
DanielYou'll now have to ask JSWeb if they intend to make this modification.. Otherwise, it's not required and adds no real value to the URL.. Your site does not NEED/REQUIRE this this.. (ie: see Amazon and other major online retailers.. see this forums URLs too..)

6 Jun 2013, 12:53 PM
#1207
barricades avatar

barricades

Inactive

Join Date:
May 2007
Posts:
150
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

This file:
includes\classes\class.CeonURIMappingAdminCategoriesProducts.php

This function:
autogenCategoryOrProductURIMapping

just before the very last line in that function add:
$uri = $uri.'/';

then the next line should return the uri with a slash on the end.
return $uri;

Haven't tested it tho!

DannyVarley:

Hi Diva! :D

In this thread: http://www.zen-cart.com/showthread.php?157568-Ceon-URI-Mapping-4-0-0-Changes-Input-Feedback-requested

He said:

Which is exactly what I want it to do :)
Thanks,
Daniel

6 Jun 2013, 1:56 PM
#1208
dannyvarley avatar

dannyvarley

Zen Follower

Join Date:
Dec 2011
Posts:
287
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi Barricades! Thanks for helping me :bigups:

I can't actually find where to put it in includes\classes\class.CeonURIMappingAdminCategoriesProducts.php

There doesnt even seem to be a autogenCategoryOrProductURIMapping function,

What line is it on?

Danny

6 Jun 2013, 2:03 PM
#1209
barricades avatar

barricades

Inactive

Join Date:
May 2007
Posts:
150
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Are you sure you're not looking in STORE/ADMIN/includes/classes for the file - you should be just looking in STORE/includes/classes

6 Jun 2013, 2:24 PM
#1210
dannyvarley avatar

dannyvarley

Zen Follower

Join Date:
Dec 2011
Posts:
287
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Yeah im just looking in the includes\classes\class.CeonURIMappingAdminCategoriesProducts.php not admin/includes...

The only functions I have are:

Line 59: CeonURIMappingAdminCategoriesProducts
Line 80: getCategoryOrProductPath
Line 180: getCategoriesOrProductsURIMappingTemplate

Danny

6 Jun 2013, 2:33 PM
#1211
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

So what happens if the URL in the database already ends with a "/"?

6 Jun 2013, 2:34 PM
#1212
dannyvarley avatar

dannyvarley

Zen Follower

Join Date:
Dec 2011
Posts:
287
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Oh I just realised, I have the UMM edition now. I just checked either file and that function isn't actually in the UMM edition but it is in the standard edition. It must be located somewhere else!

6 Jun 2013, 2:38 PM
#1213
dannyvarley avatar

dannyvarley

Zen Follower

Join Date:
Dec 2011
Posts:
287
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

lhungil:

So what happens if the URL in the database already ends with a "/"?

Theres code that strips of the "/" at the end of the url when you specify it so there shouldn't be any uri's ending with / in the database.

6 Jun 2013, 3:16 PM
#1214
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

DannyVarley:

There's code that strips of the "/" at the end of the url when you specify it so there shouldn't be any uri's ending with / in the database.
Interesting. You probably will also want to add some additional handling to create a 301 when the URL is entered without the trailing "/" (to act similiar to how Apache acts when encountering a folder).

6 Jun 2013, 3:18 PM
#1215
barricades avatar

barricades

Inactive

Join Date:
May 2007
Posts:
150
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

DannyVarley:

Theres code that strips of the "/" at the end of the url when you specify it so there shouldn't be any uri's ending with / in the database.

That could be a problem :) This is only meant to be a very rough and ready, does the job but might break stuff, sorta solution BTW

6 Jun 2013, 5:13 PM
#1216
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

and at the risk of beating the proverbial dead horse here..

I'm going to ask again WHY is the addition of the trailing slash thought to be NECESSARY?? is there a business reason?? there's a lot of effort being put into figuring out how to add functionality and it's not clear what is thought to be the GAIN..

Native Zen Cart URLs do not have a trailing slash, major retailers URLs do not have a trailing slash, the Zen Cart FORUM URLs do not end with a trailing slash.. So WHY is this such a "must have"???

Lastly the UMM version of Ceon URI is a commercial module and therefore support for it is not allowed on this forum per the forum rules.. Conor himself when he was alive NEVER supported the UMM version here either..

So as I stated earlier if Danny REALLY NEEDS this he needs to go back to JSWeb for the answer/solution.. alternatively, he can discuss with whomever wants to assist via PM..

9 Jul 2013, 9:42 AM
#1217
chargin avatar

chargin

Zen Follower

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

Re: Ceon URI Mapping v4.x

Now that conor is deceased how can we buy the "pro" version of this plugin? I want all my url's generated automatically.

Im also interested in his "Ceon Product Variants", does he have a business partner somewhere or something? Id like to buy that too.

9 Jul 2013, 10:22 AM
#1218
chargin avatar

chargin

Zen Follower

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

Re: Ceon URI Mapping v4.x

After a bit of digging I found

This module was originally being developed by Conor @ CEON - unfortuantely he unexpectantly pasted away in Dec 2012 just before it was released.
JSWeb, who have worked with Conor for a good number of years, have been asked to continue the distribution of CEON modules and one that we are very keen finished is the CEON Product Variants.

9 Jul 2013, 1:29 PM
#1219
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:

After a bit of digging I found

This module was originally being developed by Conor @ CEON - unfortuantely he unexpectantly pasted away in Dec 2012 just before it was released.
JSWeb, who have worked with Conor for a good number of years, have been asked to continue the distribution of CEON modules and one that we are very keen finished is the CEON Product Variants.

and not to be a nag, but any discussions regarding the CEON commercial products and the Product Variants module in particular is off topic for this support thread.. Suggest you contact JSWeb directly..

9 Jul 2013, 1:33 PM
#1220
chargin avatar

chargin

Zen Follower

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

Re: Ceon URI Mapping v4.x

Well without accidentally finding the information I did, Im wasnt sure where else to ask about the mod...