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

Ceon URI Mapping v4.x

Views: 452,106

Results 1,401 to 1,420 of 2,454
3 Dec 2013, 11:25 PM
#1401
divavocals avatar

divavocals

Totally Zenned

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

Ceon URI Mapping v4.x

WordPress as the main site, Zen Cart in a sub-directory..

I've done nothing and changed nothing.. Here's the contents of the .htaccess file (and yes it's in the ROOT of the site):

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

## BEGIN CEON URI MAPPING REWRITE RULE

RewriteEngine On

# ONLY rewrite URIs beginning with /shop/
RewriteCond %{REQUEST_URI} ^/shop/ [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 admin directory
RewriteCond %{REQUEST_URI} !^/shop/my_admin [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/shop/editors/ [NC]
# Don't rewrite bmz_cache directory
RewriteCond %{REQUEST_URI} !^/shop/bmz_cache/ [NC]
# Don't rewrite downloads_free directory
RewriteCond %{REQUEST_URI} !^/shop/downloads_free/ [NC]
# Don't rewrite logs directory
RewriteCond %{REQUEST_URI} !^/shop/logs/ [NC]
# Don't rewrite downloads directory
RewriteCond %{REQUEST_URI} !^/shop/downloads/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* shop/index.php [QSA,L]

## END CEON URI MAPPING REWRITE RULE

The URIs today direct to a 404 page.. Until today all was working just fine..

20 Dec 2013, 2:59 PM
#1402
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Ceon URI Mapping v4.x

philip937:

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.

dave010880:

I have an update on this if anyone else comes across it, this particular problem was self made. I had simply copied the code from the includes/functions/html_output.php and incorrectly put that into the admin/includes.. etc. Using eth correct modified code has removed this error.

Unfortunately I till have the original problem of no category cration and meta's not working :(

This problem still exits. I know one said that he had the problem because he had incorrectly put the includes/functions/html_output.php file into admin/includes/functions/html_output.php and it created this problem That's not the case for me. I can confirm that both html_output.php files are in there correct place with the right code inside them and the error is still being created.

Diva any suggestions thank you

10 Jan 2014, 1:03 AM
#1403
danielosko avatar

danielosko

Zen Follower

Join Date:
Dec 2008
Location:
Hanover Township PA, USA
Posts:
122
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Why is my "Who's Online" information showing the "zenid=xxxxxx" information?

I am using:
Zencart 1.50
4.4.1 UMM Edition Configuration
Version: 1.4.1 Mappings Manager
http://www.oskopoolnspa.com

I think this is effecting my Google, Yahoo and Bing listings.

Any Thoughts?

Thanks All,
Danny

10 Jan 2014, 2:59 AM
#1404
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping v4.x

danielosko:

Why is my "Who's Online" information showing the "zenid=xxxxxx" information?

I am using:
Zencart 1.50
4.4.1 UMM Edition Configuration
Version: 1.4.1 Mappings Manager
http://www.oskopoolnspa.com

I think this is effecting my Google, Yahoo and Bing listings.

Any Thoughts?

Thanks All,
Danny

I'll probably get my hand slapped for responding here, but couple of things:

  1. The list of plugins, while it contains CEON URI Mapping manager, I thought that was the paid for version of this plugin, so not exactly related to this plugin. 2) There has not been anything posted that would indicate this plugin is the cause as compared to anything else involved. 3) others are not reporting the same issue with this plugin. Perhaps a few others could be listed.

Recommendation is to start a new thread where someone may be able to help troubleshoot what is probably either a template, sessions, or cookie issue. Although having followed the link, system seems to respond as expected.

10 Jan 2014, 3:10 AM
#1405
serious avatar

serious

Totally Zenned

Join Date:
Feb 2011
Posts:
686
Plugin Contributions:
0
10 Jan 2014, 3:18 AM
#1406
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping v4.x

Serious:

So why do some of my links look like this:
http://www.seriousoffroadproducts.com/Axle-DriveTrain/AlloyUSA-Axle-Shafts/Rear-Axle-Kit-4140

But others like this:
http://www.seriousoffroadproducts.com/Suspension-Lift-Kits/Rubicon-Express-Suspension/Components/Suspension-Components/Sway-Bar-Disconnects/Rubicon-Express/GEN-II-LONG-LINK-ASSEMBLY-RE1185?cPath=419_1551_2141&

If not mistaken, and please don't quote this because I forget some of the subtleties of the functionality, but isn't the second product a linked product? I know there is/was a reason that the category path would remain, but I forget the various causes of it. This is a different condition than the zenid "always" appearing in the URI.

10 Jan 2014, 3:23 PM
#1407
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

danielosko:

Why is my "Who's Online" information showing the "zenid=xxxxxx" information?zenid had been discussed to death here.. but short answer it is that the zenid is attached to the URL for first time visitors..

danielosko:

I think this is effecting my Google, Yahoo and Bing listings.It wouldn't.. why do you THINK it does?

10 Jan 2014, 3:23 PM
#1408
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3
10 Jan 2014, 3:43 PM
#1409
lhungil avatar

lhungil

Totally Zenned

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

Re: Ceon URI Mapping v4.x

DarkAngel:

... I can't seem to get the links for the navigation header (some are entered manually in the mega file) nor the ezpages part to behave.

I have auto generate turned on and when I enter the url: http://www.designerperfumesnob.com/specials <---this is preferred style
or http://designerperfumesnob.com/shop_our_sale <---this is the one aut generated by mod

I get the page with the entire page showing but no products...
In Zen Cart <= 1.5.2, requests for an EZ-Page which does not exist simply display a blank page. Can you verify the page you are trying to change the URL for is actually an EZ-Page (part in red indicates EZ-Page)?
"/index.php?main_page=page&id=11"

If you wanted to redirect the Zen Cart "specials" page (part in red indicates specials page), section 10 (method 1) of the CEON URI readme covers this subject.
"/index.php?main_page=specials"

10 Jan 2014, 4:11 PM
#1410
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:

[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

> 
> This problem still exits. ...
Took a "quick" look at this today. It appears in version 4.4.1, this code can be called before the "message stack" is initialized. (load points: message stack is at 130 and CEON URI is at 99).

However this code is only called if the "REQUEST_URI" cannot be found. This PHP variable is needed to determine what URI was requested (and will normally be populated by your web server). If this variable is not found, the CEON code attempts to preform some workarounds (and manually determine / build the variable).

Some questions:
1. What web server software is on the site displaying this error?
2. Is the server using mod_php? suPHP? FastCGI? Something else?
13 Jan 2014, 1:08 PM
#1411
philip937 avatar

philip937

Totally Zenned

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

Re: Ceon URI Mapping v4.x

lhungil:

Took a "quick" look at this today. It appears in version 4.4.1, this code can be called before the "message stack" is initialized. (load points: message stack is at 130 and CEON URI is at 99).

However this code is only called if the "REQUEST_URI" cannot be found. This PHP variable is needed to determine what URI was requested (and will normally be populated by your web server). If this variable is not found, the CEON code attempts to preform some workarounds (and manually determine / build the variable).

Some questions:

  1. What web server software is on the site displaying this error?
  1. Is the server using mod_php? suPHP? FastCGI? Something else?

Looks like there has been discussion on this since I first posted about this. I am yet to be able to replicate the problem on my site all I do know is that it does happen occassionally. However putting things into perspective my site has around 600-1000 visits a day and I only get about 10 of these errors a month.

If I ever work out under what conditions the error occurs then I will come back and post more info.

With what you have determined from the code it sounds like just once every blue moon the server fails to execute the request uri perhaps?

17 Jan 2014, 4:16 PM
#1412
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

im getting the follow error in my debug log.... any ideas??

[15-Jan-2014 16:19:27 Europe/London] PHP Fatal error: Call to a member function add() on a non-object in /home/public_html/includes/classes/class.CeonURIMappingHandlerBase.php on line 131

17 Jan 2014, 4:30 PM
#1413
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

also [13-Jan-2014 13:04:58 Europe/London] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant FILENAME_TELL_A_FRIEND in /home/public_html/elogin2/includes/classes/class.CeonURIMappingAdminProductPages.php on line 788

17 Jan 2014, 5:08 PM
#1414
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

Did you look at the posts JUST above yours???

21 Jan 2014, 12:30 PM
#1415
webimax avatar

webimax

New Zenner

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

Re: Ceon URI Mapping v4.x

Hi,

Zencart 1.3.9.h. Existing module version: Module Version: 3.6.2. Manually upgraded to latest version 4.4.1. After completing the installation, the admin was not accessible. I restored from a backup. Admin still wasn't accessible. A removal of the new files that had been added in version 4.4.1 fixed the issue. The files which seemed to cause the issue were in admin/includes/extra_datafiles/, but removing admin/includes/extra_datafiles/ceon_uri_mapping_product_pages.php seemed to be the one that brought the admin back to life. I'd love to get this installed. Is there something else that needs to be done to get this working? Are any of those files optional?

Thanks.

Jen

21 Jan 2014, 2:22 PM
#1416
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping v4.x

webimax:

Hi,

Zencart 1.3.9.h. Existing module version: Module Version: 3.6.2. Manually upgraded to latest version 4.4.1. After completing the installation, the admin was not accessible. I restored from a backup. Admin still wasn't accessible. A removal of the new files that had been added in version 4.4.1 fixed the issue. The files which seemed to cause the issue were in admin/includes/extra_datafiles/, but removing admin/includes/extra_datafiles/ceon_uri_mapping_product_pages.php seemed to be the one that brought the admin back to life. I'd love to get this installed. Is there something else that needs to be done to get this working? Are any of those files optional?

Thanks.

Jen

Sure that followed the installation instructions fully? Thought an upgrade like that required removal of some files. Btw, forgot at least one of the things that helps us help you. Error log files? Not working is not very descriptive. Be sure that if including them that you modify the actual admin path name if present.

21 Jan 2014, 11:03 PM
#1417
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Ceon URI Mapping v4.x

lhungil:

Took a "quick" look at this today. It appears in version 4.4.1, this code can be called before the "message stack" is initialized. (load points: message stack is at 130 and CEON URI is at 99).

However this code is only called if the "REQUEST_URI" cannot be found. This PHP variable is needed to determine what URI was requested (and will normally be populated by your web server). If this variable is not found, the CEON code attempts to preform some workarounds (and manually determine / build the variable).

Some questions:

  1. What web server software is on the site displaying this error?
  1. Is the server using mod_php? suPHP? FastCGI? Something else?

What web server software is on the site displaying this error?

I'm using PHP Version: 5.4.24 (Zend: 2.4.0) and

Database: MySQL 5.1.72-cll

Is the server using mod_php? suPHP? FastCGI? Something else?

No to the question above.

21 Jan 2014, 11:20 PM
#1418
lhungil avatar

lhungil

Totally Zenned

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

Re: Ceon URI Mapping v4.x

philip937:

... With what you have determined from the code it sounds like just once every blue moon the server fails to execute the request uri perhaps?
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...

countrycharm:

... I'm using:
PHP Version: 5.4.24 (Zend: 2.4.0)
Database: MySQL 5.1.72-cll
...
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.

24 Jan 2014, 2:54 PM
#1419
webimax avatar

webimax

New Zenner

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

Re: Ceon URI Mapping v4.x

Hi Totally Zenned. Looks like the /cache folder was not writeable, so the log files were not generated. I'd like to try this again to get some debugging information, but finding the manual upgrade instructions (not fresh install instructions) is like finding a needle in a haystack. Do you have a link by any chance?

Thanks,

Jen

24 Jan 2014, 4:40 PM
#1420
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

Yeah.. the readme file...> webimax:

Hi Totally Zenned. Looks like the /cache folder was not writeable, so the log files were not generated. I'd like to try this again to get some debugging information, but finding the manual upgrade instructions (not fresh install instructions) is like finding a needle in a haystack. Do you have a link by any chance?

Thanks,

Jen