Results 1 to 10 of 2445

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Using Ceon URI Mapping v4.x with the XML Sitemap add-on

    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.
    Phil Rogers
    A problem shared is a problem solved.

  2. #2
    Join Date
    Mar 2008
    Location
    UK
    Posts
    26
    Plugin Contributions
    0

    Default Re: Using Ceon URI Mapping v4.x with the XML Sitemap add-on

    Quote Originally Posted by philip937 View Post
    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.

    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
    Zen Newbie: www.wickedstyling.com]. Thanks All.

  3. #3
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Using Ceon URI Mapping v4.x with the XML Sitemap add-on

    Quote Originally Posted by philip937 View Post
    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.

    Quote Originally Posted by dave010880 View Post
    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
    Last edited by countrycharm; 20 Dec 2013 at 04:04 PM.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  4. #4
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Using Ceon URI Mapping v4.x with the XML Sitemap add-on

    Quote Originally Posted by countrycharm View Post
    Code:
    [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?
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  5. #5
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Using Ceon URI Mapping v4.x with the XML Sitemap add-on

    Quote Originally Posted by lhungil View Post
    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?
    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?
    Phil Rogers
    A problem shared is a problem solved.

  6. #6
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Using Ceon URI Mapping v4.x with the XML Sitemap add-on

    Quote Originally Posted by lhungil View Post
    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?
    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.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  7. #7
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Using Ceon URI Mapping v4.x with the XML Sitemap add-on

    Quote Originally Posted by philip937 View Post
    ... 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...

    Quote Originally Posted by countrycharm View Post
    ... 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.
    Last edited by lhungil; 22 Jan 2014 at 12:24 AM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  8. #8
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Using Ceon URI Mapping v4.x with the XML Sitemap add-on

    Quote Originally Posted by lhungil View Post
    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.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  9. #9
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Using Ceon URI Mapping v4.x with the XML Sitemap add-on

    Quote Originally Posted by countrycharm View Post
    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.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 

Similar Threads

  1. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  2. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  3. Ceon URI Mapping (SEO)
    By conor in forum All Other Contributions/Addons
    Replies: 2906
    Last Post: 9 Sep 2011, 08:31 AM
  4. Ceon URI Mapping v4
    By conor in forum All Other Contributions/Addons
    Replies: 110
    Last Post: 14 Aug 2011, 02:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg