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

Ceon URI Mapping v4.x

Views: 452,090

Results 1,421 to 1,440 of 2,454
24 Jan 2014, 5:53 PM
#1421
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Ceon URI Mapping v4.x

lhungil:

Most likely. You may want to comment out line 131, use error_log(), or adjust the code to send the customer to your homepage / error page when this occurs...

Could possibly be something with PHP 5.4 / Zen Cart 1.5... Although I am running a heavily modified version of 1.5.1 on PHP 5.4 without seeing this error (although I am using a different alternative URL generator on that site).

Webserver Software and Version? (EX: Apache 2.2.26, Apache 2.4.7, IIS 8.5, nginx 1.5.8, etc)
Connector from Webserver Software to PHP? (EX: suphp, mod_php, fastcgi, etc)
Security Options? (such as mod_security, suhosin, etc)

I ask because most likely the connector (or some security module / setting) is the cause of REQUEST_URI not being populated. I'm running Zen Cart under both mod_php and suphp without encountering a missing REQUEST_URI.

Note: I do not know when / if I will be able to do futher testing on this subject, as I have been spending most of my time working with Zen Cart 1.5.2 RC2 / 1.6.0 under PHP 5.5 lately.

I ask because most likely the connector (or some security module / setting) is the cause of REQUEST_URI not being populated. I'm running Zen Cart under both mod_php and suphp without encountering a missing REQUEST_URI.
Thanks for your help on this. It's not throwing the error all the time, just sometimes. I will check further in what you suggested. Thanks again.

24 Jan 2014, 10:27 PM
#1422
lhungil avatar

lhungil

Totally Zenned

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

Re: Ceon URI Mapping v4.x

countrycharm:

Thanks for your help on this. It's not throwing the error all the time, just sometimes. I will check further in what you suggested. Thanks again.
No problem and I really hope the root cause (of REQUEST_URI not being populated) is eventually found. If you find out I would love to know the exact cause. At the least it would give us all an idea of where best to send the request if the REQUEST_URI is missing.

27 Jan 2014, 9:59 PM
#1423
webimax avatar

webimax

New Zenner

Join Date:
Jan 2014
Location:
Peters
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi MC12345678.
Thanks,
I have reached out to Ceon for instructions on manually upgrading from one version to the next.
Jen

27 Jan 2014, 10:11 PM
#1424
webimax avatar

webimax

New Zenner

Join Date:
Jan 2014
Location:
Peters
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

:o) Thanks - It's in the "Upgrading" menu item in the docs.

4 Feb 2014, 4:49 PM
#1425
webimax avatar

webimax

New Zenner

Join Date:
Jan 2014
Location:
Peters
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hello,
I finally got URI Mapping installed - 4.4.1 with ZC 1.3.9h and it works great. I was hoping to install the URI Mappings Manager, but it says it's compatible with Zen Cart 1.5. Does anyone know if it is compatible with 1.3.9h?

Thanks,

Jennifer

4 Feb 2014, 6:45 PM
#1426
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

webimax:

Hello,
I finally got URI Mapping installed - 4.4.1 with ZC 1.3.9h and it works great. I was hoping to install the URI Mappings Manager, but it says it's compatible with Zen Cart 1.5. Does anyone know if it is compatible with 1.3.9h?

Thanks,

Jennifer

You will have to contact JS Webs as this is a COMMERCIAL product..

4 Feb 2014, 9:43 PM
#1427
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

Hi all, I'm installing CEON Commercial product and noticed base eval scripts in the module. Has anyone else noticed the same thing, and is it cause for concern?

4 Feb 2014, 10:09 PM
#1428
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

jackie.taferner:

Hi all, I'm installing CEON Commercial product and noticed base eval scripts in the module. Has anyone else noticed the same thing, and is it cause for concern?

base eval scripts by themselves aren't bad.. they are just often used by hackers to do bad things.. a quick scan of my Ceon modules doesn't contain this kind of code. You should speak to JS Webs.. Perhaps they have altered the code since taking over Conor's modules.. They've not provided any support of the free Ceon modules since taking over.. So I don't expect they'll answer your question here.. They seem to be more concerned about the revenue generating mods.. The admins do not allow prolonged discussions about ANY commercial mod.. JS Webs would be better equipped to answer your question..

4 Feb 2014, 10:14 PM
#1429
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

Agreed, I will contact JS Webs. You said you don't have base eval scripts in your module- is that the commercial version?

4 Feb 2014, 10:19 PM
#1430
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

jackie.taferner:

Agreed, I will contact JS Webs. You said you don't have base eval scripts in your module- is that the commercial version?

Yep.. v4.4.1 ..

The only code I found similar was this:

    eval("\$address = \"$fmt\";");

it has been commented out..

5 Feb 2014, 12:48 PM
#1431
picandnix avatar

picandnix

Totally Zenned

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

Re: Ceon URI Mapping v4.x

DivaVocals:

base eval scripts by themselves aren't bad.. they are just often used by hackers to do bad things.. a quick scan of my Ceon modules doesn't contain this kind of code. You should speak to JS Webs.. Perhaps they have altered the code since taking over Conor's modules.. They've not provided any support of the free Ceon modules since taking over.. So I don't expect they'll answer your question here.. They seem to be more concerned about the revenue generating mods.. The admins do not allow prolonged discussions about ANY commercial mod.. JS Webs would be better equipped to answer your question..

In support of Diva's suggestion, yes my original copy too is free of this threat/code, it appears to have been added since Conor's passing.

9 Feb 2014, 10:50 PM
#1432
stitcher avatar

stitcher

New Zenner

Join Date:
Feb 2014
Location:
Indianapolis
Posts:
14
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Just curious. I've just installed uri mapping and was wondering about creating a sitemap. Reading through the docs that come with the plugin, it doesn't really recommend or talk about it too much. Is there a recommended Sitemap program to use? My site is hosted with Godaddy, can I use the sitemap generator in there hosting tools (although I'm not sure I like it)? What are your recommendations?

9 Feb 2014, 11:08 PM
#1433
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

Stitcher:

Just curious. I've just installed uri mapping and was wondering about creating a sitemap. Reading through the docs that come with the plugin, it doesn't really recommend or talk about it too much. Is there a recommended Sitemap program to use? My site is hosted with Godaddy, can I use the sitemap generator in there hosting tools (although I'm not sure I like it)? What are your recommendations?

Not the place to ask this question.. You need to start a new thread to ask about sitemaps..

19 Feb 2014, 2:07 PM
#1434
kitten091182 avatar

kitten091182

Zen Follower

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

Re: Ceon URI Mapping v4.x

I have entered a new uri mapping directly into the database table so that my "page_2" is "get-boosted" in the address bar. Now I need to change it so it reads "ways_to_pay", however I cannot edit or delete tables directly without using a SQL query, as it says in phpmyadmin " This table does not contain a unique column. Grid edit, checkbox, Edit, Copy and Delete features are not available."
Does anybody know what query I would have to run to delete it, so I can add it again as ways_to_pay?
The uri is /page_2, language_id and current_uri are 1, main_page is get-boosted, query_string_parameters, associated_db_id and alternate_uri are null, redirection_type_code is 301

Thanks

19 Feb 2014, 2:11 PM
#1435
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

kitten091182:

I have entered a new uri mapping directly into the database table so that my "page_2" is "get-boosted" in the address bar. Now I need to change it so it reads "ways_to_pay", however I cannot edit or delete tables directly without using a SQL query, as it says in phpmyadmin " This table does not contain a unique column. Grid edit, checkbox, Edit, Copy and Delete features are not available."
Does anybody know what query I would have to run to delete it, so I can add it again as ways_to_pay?
The uri is /page_2, language_id and current_uri are 1, main_page is get-boosted, query_string_parameters, associated_db_id and alternate_uri are null, redirection_type_code is 301

Thanks

and WHY are you trying to delete the WHOLE table if all you want to do is CHANGE a URI???

19 Feb 2014, 2:28 PM
#1436
kitten091182 avatar

kitten091182

Zen Follower

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

Re: Ceon URI Mapping v4.x

DivaVocals:

and WHY are you trying to delete the WHOLE table if all you want to do is CHANGE a URI??? Hi, I would prefer to just change it if you know how please?
Thanks

19 Feb 2014, 2:37 PM
#1437
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

kitten091182:

Hi, I would prefer to just change it if you know how please?
Thanks

Fyi, and keeping with the intent of the uri rewriter/mapping, you would want to change that one to current 0 and create a new one that is current 1. That way, if anyone has already "seen" the rewritten uri and possibly bookmarked it, they will still be able to get to you're newly named page, but be shown the new name when done. As for specific query, well, start with a select query to retrieve the one (or more) entries you want to modify. Once that is successful, change the select to an update and identify the new value(s) you want to have in their place.

19 Feb 2014, 2:45 PM
#1438
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

mc12345678:

Fyi, and keeping with the intent of the uri rewriter/mapping, you would want to change that one to current 0 and create a new one that is current 1. That way, if anyone has already "seen" the rewritten uri and possibly bookmarked it, they will still be able to get to you're newly named page, but be shown the new name when done. As for specific query, well, start with a select query to retrieve the one (or more) entries you want to modify. Once that is successful, change the select to an update and identify the new value(s) you want to have in their place.

If still have an error with that, temporarily create a new field that is autonumber/unique so that phpmyadmin can play with it, then I suggest deleting that column. This is something I have done to make a "quick/bulk" change. (Lazily)

19 Feb 2014, 3:10 PM
#1439
kitten091182 avatar

kitten091182

Zen Follower

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

Re: Ceon URI Mapping v4.x

mc12345678:

If still have an error with that, temporarily create a new field that is autonumber/unique so that phpmyadmin can play with it, then I suggest deleting that column. This is something I have done to make a "quick/bulk" change. (Lazily)
To be honest with you, all of that just went way over my head! I'm not too good when it comes to SQL. It doesn't really matter if somebody has bookmarked the page, it wasn't up for long so I'm not sure that anybody would have done anyway. I just need to change get-boosted to ways_to_pay. I'll backup my database and have a play.
Thanks

19 Feb 2014, 3:44 PM
#1440
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

kitten091182:

To be honest with you, all of that just went way over my head! I'm not too good when it comes to SQL. It doesn't really matter if somebody has bookmarked the page, it wasn't up for long so I'm not sure that anybody would have done anyway. I just need to change get-boosted to ways_to_pay. I'll backup my database and have a play.
Thanks

Well, so much for trying to teach to fish.
In the ZC admin SQL patch tools option, copy and paste the following:

This assumes that your store is at your root directory and only does an update of your existing uri, less than ideal as described, but if this is what is desired, then here it is: otherwise could change the uri= statement to current_uri=0 and then insert a new entry with your desired information for the uri.

Update ceon_uri_mappings set uri=/ways_to_pay where main_page=page_2;