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

Ceon URI Mapping v4.x

Views: 452,147

Results 941 to 960 of 2,454
7 Dec 2012, 7:54 PM
#941
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Ceon URI Mapping v4.x

@ Imdeif...
please read 2 posts above yours. Sadly the author of this excellent mod has passed away. I'm sure someone at Ceon will contact you but maybe not just yet. Although as this isn't a commercial mod you can't expect to be a priority.
This mod is painfully simple to install, but I'm no expert so I can't help with you error other than to suggest you try again yourself to install.

7 Dec 2012, 10:55 PM
#942
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

lmdief:

Hello,

I had sent email to the email address on CEON website but have not received any reply. I ask Hostgator to installed Ceon Uri Mapping and they received the following errors and wanted me to contact the programmer of this module. Here is the email from Host Gator:

Is there anyone who can help me? Thx

Hi Lila, I apologize for the delay in getting back to you on this. I installed the CEON module, but there were issues with the isntallatioin to the point where I had to spend a considerable amount of time debugging the Zen-Cart installation. In the end, I had to disable the module to get your site's front-end to load properly again as spending more time debugging the issue would extend the downtime. Here's the error that I'm seeing: [05-Dec-2012 13:21:23] PHP Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/lmdief/public_html/includes/classes/class.CeonURIMappingHREFLinkBuilder.php on line 230 [05-Dec-2012 13:21:23] PHP Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/lmdief/public_html/includes/classes/class.CeonURIMappingHREFLinkBuilder.php on line 231 I didn't bill you for the install as it was not successful. At this juncture, I would recommend contacting the module provider regarding the above error. I have left the ceon files in place so that they can see how we set it up. Although I do also have the pre-installation backup that I made if you would prefer that I restore the files from there. ---------------------------------------------- Thank you for allowing me to help you. Sincerely, Ricardo C. Linux Systems Administrator II HostGator.com, LLC http://support.hostgator.com

picandnix:

@ Imdeif...
please read 2 posts above yours. Sadly the author of this excellent mod has passed away. I'm sure someone at Ceon will contact you but maybe not just yet. Although as this isn't a commercial mod you can't expect to be a priority.
This mod is painfully simple to install, but I'm no expert so I can't help with you error other than to suggest you try again yourself to install.

And to add to this...
the most COMMON cause of issues with installing this (or most add-ons for that matter) is simply install errors. (the install was not performed correctly)

Suggest rolling back to the state your site was before you installed this mod, going through the well written readme file Conor provided and then starting over with your install..

and yeah it helps to read the support thread BEFORE posting too..

11 Dec 2012, 11:05 AM
#943
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,867
Plugin Contributions:
7

Re: Ceon URI Mapping v4.x

Hi,
I've just found that the link to the order in the customers order status email is not fully built
eg: /tienda/my-account/history/order-information?order_id=20120610
instead of https://www.MYDOMAIN.com/tienda/my-account/history/order-information?order_id=20120610

The order confirmation email has the order link correct: but this is built on the catalog side.

The issue is down to the CEON code added to function/html_output.php for the link generation function, its different in the admin version of the function and as far as I can see cannot work correctly.

While I have made the admin version the same as the catalog version..and it does correct the problem, it may have other ramifications.

I would like to know of anyone else has this issue..click on the order link in an order status-change email and see where it takes you, and then hover over the link in the email to see what it actually is!

There has to be a reason why these functions are different and unfortunately Conor is now not around to help us anymore.:(

11 Dec 2012, 10:04 PM
#944
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,867
Plugin Contributions:
7

Re: Ceon URI Mapping v4.x

I have just noticed the additional CEON code in admin/includes/functions/html_output.php which is responsible for this incomplete url issue is only present in the CEON URI Mapping UMM edition.
This is the CEON-modified version of the "free" URI Mapping fileset available in the plugins section, necessary to work in conjunction with the (not-free) CEON URI Mappings Manager, so it will only apply to those who bought the URI Mappings Manager.
There must be more than one of us out there?

12 Dec 2012, 8:13 PM
#945
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

torvista:

I have just noticed the additional CEON code in admin/includes/functions/html_output.php which is responsible for this incomplete url issue is only present in the CEON URI Mapping UMM edition.
This is the CEON-modified version of the "free" URI Mapping fileset available in the plugins section, necessary to work in conjunction with the (not-free) CEON URI Mappings Manager, so it will only apply to those who bought the URI Mappings Manager.
There must be more than one of us out there?

My order status updates have the following link:

https://www.MYDOMAIN.com/index.php?main_page=order_status&order_id=1382

Clicking on the link brings me to that page/url.

I am running the UMM revision just before the 'latest' version, in addition to COWOA and Super Orders. Not sure if that makes a difference or not.

12 Dec 2012, 9:47 PM
#946
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,867
Plugin Contributions:
7

Re: Ceon URI Mapping v4.x

I am running the UMM revision just before the 'latest' version,
You are right. The code I am dubious about..that is causing the problem...was added in 4.4.0. (current version 4.4.1).
I think I'll just take it out...in a mafia sense.

12 Dec 2012, 10:04 PM
#947
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

torvista:

You are right. The code I am dubious about..that is causing the problem...was added in 4.4.0. (current version 4.4.1).
I think I'll just take it out...in a mafia sense.
Or.. go grab the upgrade and see if Conor cought it in the last release.. (if you paid for it you should have access to the latest version)

12 Dec 2012, 10:28 PM
#948
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I'm actually using UMM 4.0.8 (latest is 4.4.1) and URI rewrite 1.2.0 (latest is 1.4.1)

13 Dec 2012, 9:03 AM
#949
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,867
Plugin Contributions:
7

Re: Ceon URI Mapping v4.x

Just to clarify, the offending code was added to the core changes for admin/includes/functions/html_output.php in UMM 4.4.0 and is the same in the current version 4.4.1. Its to generate a static uri when an admin-generated event like the order status email creates something using a uri that references a catalog address like the clients order details in their account.

6 Jan 2013, 7:17 AM
#950
cindy2010 avatar

cindy2010

Zen Follower

Join Date:
Apr 2010
Posts:
100
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Does anyone happen to know how to map the links for things like:

mysite.com/index.php?main_page=xyz

To be exact, I have a few pages like:
mysite.com/index.php?main_page=xyz&id=abc
mysite.com/index.php?main_page=xyz&id=def
mysite.com/index.php?main_page=xyz&id=hij

and I want to map them to things like:
mysite.com/xyz/abc
mysite.com/xyz/def
mysite.com/xyz/hij

Thanks!
(my zen cart is 1.3.9h, and I don't know the exact version of the CEON, but it was installed near middle of 2010)

6 Jan 2013, 7:40 AM
#951
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

Cindy2010:

Does anyone happen to know how to map the links for things like:

mysite.com/index.php?main_page=xyz

To be exact, I have a few pages like:
mysite.com/index.php?main_page=xyz&id=abc
mysite.com/index.php?main_page=xyz&id=def
mysite.com/index.php?main_page=xyz&id=hij

and I want to map them to things like:
mysite.com/xyz/abc
mysite.com/xyz/def
mysite.com/xyz/hij

Thanks!
(my zen cart is 1.3.9h, and I don't know the exact version of the CEON, but it was installed near middle of 2010)

Can you post a link to pages you would like to change? Have you actually gone into catalog-products and ticked the box to have the url rewritten?
To find your version just look in the settings area for this mod. It's well worth upgrading it too as Conor r.i.p did some great development work on this mod.

6 Jan 2013, 5:01 PM
#952
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi,

I'm having the same issue that torvista described here. I'm using Ceon URI Mapping - UMM Edition v4.4.1 with Ceon URI Mappings Manager 1.4.1

Has anyone managed to find a fix for this yet?

Thanks :smile:

7 Jan 2013, 4:57 PM
#953
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi, I am using version 4.4.1 w/ zen 1.3.9h.
When I click on a category tree link I get the following message:

Not Found

The requested URL /Classic-Formulas was not found on this server.
Apache Server at https://www.sourceforherbs.com Port 80

The url in the address bar is "http://www.sourceforherbs.com/Classic-Formulas"

What's my problem???

7 Jan 2013, 6:38 PM
#954
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

marvin:

Hi, I am using version 4.4.1 w/ zen 1.3.9h.
When I click on a category tree link I get the following message:

Not Found

The requested URL /Classic-Formulas was not found on this server.
Apache Server at https://www.sourceforherbs.com Port 80

The url in the address bar is "http://www.sourceforherbs.com/Classic-Formulas"

What's my problem???

Starting with the most obvious, have you ticked the box within each category to have the url rewritten?

7 Jan 2013, 10:10 PM
#955
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

marvin:

Hi, I am using version 4.4.1 w/ zen 1.3.9h.
When I click on a category tree link I get the following message:

Not Found

The requested URL /Classic-Formulas was not found on this server.
Apache Server at www.sourceforherbs.com Port 80

The url in the address bar is "http://www.sourceforherbs.com/Classic-Formulas"

What's my problem???Most common reasons could be one of two things:

  1. You've not followed all of the installation instructions (did you install ALL of the required files for this add-on to work properly?)
  2. Your .htaccess file is missing or configured incorrectly
8 Jan 2013, 2:38 PM
#956
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I did tick off and save the static urls in my categories, mfg, ezpages, products.
I believe I did install all the files since I ran the two checks in the Config./modules and they found no problems.
I copied the htacces rewrite rules to my .htaccess file - see below.
Here is the htaccess file

@copyright Copyright 2003-2010 Zen Cart Development Team

@license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

@version $Id: .htaccess 16111 2010-04-29 22:39:02Z drbyte $

the following line is needed to allow Download-By-Redirect to work

Options +FollowSymLinks

This is used with Apache WebServers

The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions

It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.

Will also prevent people from seeing what is in the dir. and any sub-directories

For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.

Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.

Example:

#<Directory "/usr/local/apache/htdocs">

AllowOverride Limit Options Indexes

#</Directory>
###############################

deny everything

<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>

but now allow just certain necessary files:

<FilesMatch ".*.(zip|ZIP|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV)$">
Order Allow,Deny
Allow from all

tell all downloads to automatically be treated as "save as" instead of launching in an application directly

(just uncomment the next 2 lines by removing the '#'):

ForceType application/octet-stream

Header set Content-Disposition attachment

</FilesMatch>

IndexIgnore /

NOTE: If you want even greater security to prevent hackers from running scripts in this folder, uncomment the following line (if your hosting company will allow you to use OPTIONS):

OPTIONS -Indexes -ExecCGI

##BEGIN CEON REWRITE

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} !^/workhere [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/editors/ [NC]

Don't rewrite optional_fields directory

RewriteCond %{REQUEST_URI} !^/optional_fields/ [NC]

Don't rewrite classes directory

RewriteCond %{REQUEST_URI} !^/classes/ [NC]

Don't rewrite feed directory

RewriteCond %{REQUEST_URI} !^/feed/ [NC]

Don't rewrite plesk-stat directory

RewriteCond %{REQUEST_URI} !^/plesk-stat/ [NC]

Don't rewrite checkout_by_amazon directory

RewriteCond %{REQUEST_URI} !^/checkout_by_amazon/ [NC]

Don't rewrite _docs directory

RewriteCond %{REQUEST_URI} !^/_docs/ [NC]

Don't rewrite picture_library directory

RewriteCond %{REQUEST_URI} !^/picture_library/ [NC]

Don't rewrite sql updates directory

RewriteCond %{REQUEST_URI} !^/sql\ updates/ [NC]

Don't rewrite extra_datafiles directory

RewriteCond %{REQUEST_URI} !^/extra_datafiles/ [NC]

Don't rewrite auto_loaders directory

RewriteCond %{REQUEST_URI} !^/auto_loaders/ [NC]

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

RewriteRule .* index.php [QSA,L]

END CEON URI MAPPING REWRITE RULE

9 Jan 2013, 4:07 AM
#957
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I'm using CEON URI mapping, and installed Word Press into a sub-directory of my site. Whe I activated Permalinks in Word Press it immiediately crashed. I have since found that If I deactivate the .htaccess file I am using to make CEON URI work, then my blog comes up. But of course at that point, my main site goes down. :(

Is there something I could add to the main site's .htaccess to make it not affect the Word Press sub-directory?

9 Jan 2013, 9:49 PM
#958
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Can someone please help???

marvin:

I did tick off and save the static urls in my categories, mfg, ezpages, products.
I believe I did install all the files since I ran the two checks in the Config./modules and they found no problems.
I copied the htacces rewrite rules to my .htaccess file - see below.
Here is the htaccess file

@copyright Copyright 2003-2010 Zen Cart Development Team

@license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

@version $Id: .htaccess 16111 2010-04-29 22:39:02Z drbyte $

the following line is needed to allow Download-By-Redirect to work

Options +FollowSymLinks

This is used with Apache WebServers

The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions

It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.

Will also prevent people from seeing what is in the dir. and any sub-directories

For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.

Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.

Example:

#<Directory "/usr/local/apache/htdocs">

AllowOverride Limit Options Indexes

#</Directory>
###############################

deny everything

<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>

but now allow just certain necessary files:

<FilesMatch ".*.(zip|ZIP|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV)$">
Order Allow,Deny
Allow from all

tell all downloads to automatically be treated as "save as" instead of launching in an application directly

(just uncomment the next 2 lines by removing the '#'):

ForceType application/octet-stream

Header set Content-Disposition attachment

</FilesMatch>

IndexIgnore /

NOTE: If you want even greater security to prevent hackers from running scripts in this folder, uncomment the following line (if your hosting company will allow you to use OPTIONS):

OPTIONS -Indexes -ExecCGI

##BEGIN CEON REWRITE

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} !^/workhere [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/editors/ [NC]

Don't rewrite optional_fields directory

RewriteCond %{REQUEST_URI} !^/optional_fields/ [NC]

Don't rewrite classes directory

RewriteCond %{REQUEST_URI} !^/classes/ [NC]

Don't rewrite feed directory

RewriteCond %{REQUEST_URI} !^/feed/ [NC]

Don't rewrite plesk-stat directory

RewriteCond %{REQUEST_URI} !^/plesk-stat/ [NC]

Don't rewrite checkout_by_amazon directory

RewriteCond %{REQUEST_URI} !^/checkout_by_amazon/ [NC]

Don't rewrite _docs directory

RewriteCond %{REQUEST_URI} !^/_docs/ [NC]

Don't rewrite picture_library directory

RewriteCond %{REQUEST_URI} !^/picture_library/ [NC]

Don't rewrite sql updates directory

RewriteCond %{REQUEST_URI} !^/sql\ updates/ [NC]

Don't rewrite extra_datafiles directory

RewriteCond %{REQUEST_URI} !^/extra_datafiles/ [NC]

Don't rewrite auto_loaders directory

RewriteCond %{REQUEST_URI} !^/auto_loaders/ [NC]

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

RewriteRule .* index.php [QSA,L]

END CEON URI MAPPING REWRITE RULE

9 Jan 2013, 10:47 PM
#959
lhungil avatar

lhungil

Totally Zenned

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

Re: Ceon URI Mapping v4.x

masterrusty:

Is there something I could add to the main site's .htaccess to make it not affect the Word Press sub-directory?
Yes, you can add a RewriteCond to exclude the WordPress folder from triggering the main RewriteRule.

10 Jan 2013, 4:02 PM
#960
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hey Diva Vocals or anyone can you help, please, with my above posted problem???
Thanks