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

Ceon URI Mapping v4.x

Views: 452,064

Results 1,561 to 1,580 of 2,454
20 Jun 2014, 11:16 PM
#1561
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

diytools:

after installation can't login admin

Need something more descriptive than that.. does the admin page not display (blank page), are you seeing the page but can't login?? What happens in DETAILS will help the community help you..

20 Jun 2014, 11:31 PM
#1562
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Ceon URI Mapping v4.x

@diytools

You contacted JSWeb 3 minutes later with exactly the same message - I concur with DivaVocals here and we need far more detail before anyone can really help.

However, you need to check your installation very carefully to ensure that you've not missed any steps - and did the login problem appear before or after you set up the htaccess file?

28 Jun 2014, 9:20 AM
#1563
kitcorsa avatar

kitcorsa

Totally Zenned

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

Re: Ceon URI Mapping v4.x

PHP Fatal error: 2008:MySQL client ran out of memory ::

I get nthis error when building site maps for my site.... you may say what has this got to do with this mod... but if i turn this mod off and do rebuild of sitemaps i get no errors.

I have a VPS with 4gb of useable free ram and my php config momory limit is set to -1 to allow all memory to be used as required, but still get this issue. Anyone have any ideas??

[27-Jun-2014 16:11:04 Europe/London] PHP Fatal error: 2008:MySQL client ran out of memory ::
SELECT
uri
FROM
ceon_uri_mappings
WHERE
main_page = 'product_info'
AND
associated_db_id = '4617'
AND
language_id = '1'
AND
current_uri = '1'

LIMIT 1; in /home//public_html/includes/classes/db/mysql/query_factory.php on line 120
[27-Jun-2014 16:11:04 Europe/London] PHP Fatal error: 2013:Lost connection to MySQL server during query :: select count(
) as total
from sessions
where sesskey = 'a21e966c4fea93934404bd9335450509' in /home/
*/public_html/includes/classes/db/mysql/query_factory.php on line 120

28 Jun 2014, 1:00 PM
#1564
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: Ceon URI Mapping v4.x

Although it's a different out-of-memory error, if the site is running PHP 5.4.20+ the change that picandnix suggested in post#1519 might help.

28 Jun 2014, 1:10 PM
#1565
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

kitcorsa:

I have a VPS with 4gb of useable free ram and my php config momory limit is set to -1 to allow all memory to be used as required, but still get this issue. Anyone have any ideas??
lat9 is right about the possible solution.. but I wanted to comment on this..

having a VPS is NO GUARANTEE against memory leak errors (which is what this most likely is -- and why the fix lat9 suggested is the fix)

29 Jun 2014, 1:43 PM
#1566
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

periodically getting this in the error log:

[28-Jun-2014 13:39:35 America/Denver] PHP Fatal error: Call to a member function add() on a non-object in /home/XXXXXX/public_html/includes/classes/class.CeonURIMappingHandlerBase.php on line 131

Seems that this error rears it's ugly head every now and then, and I'm not seeing a solution..

http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1197519#post1197519
http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1232675#post1232675

The entire block that includes the offending code is:

        if (!$this->_request_uri_value_identified) {
            // Essential information isn't available, can't proceed with attempt to map URIs, warn user!
            $messageStack->add(
                'Ceon URI Mapping cannot find a usable value for the REQUEST_URI server variable!', 'error');
            
            return;
        }

Any ideas.. Seems to be a fairly harmless error.. (harmless = not preventing folks from shopping)

29 Jun 2014, 3:03 PM
#1567
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Ceon URI Mapping v4.x

DivaVocals:

periodically getting this in the error log:

Seems that this error rears it's ugly head every now and then, and I'm not seeing a solution..

http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1197519#post1197519
http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1232675#post1232675

The entire block that includes the offending code is:

    if (!$this->_request_uri_value_identified) {
        // Essential information isn't available, can't proceed with attempt to map URIs, warn user!
        $messageStack->add(
            'Ceon URI Mapping cannot find a usable value for the REQUEST_URI server variable!', 'error');
        
        return;
    }
> 
> Any ideas.. Seems to be a fairly harmless error.. (harmless = not preventing folks from shopping)

Been looking for a solution for a while now. I was beginning to think a couple of us was the only one crazy..... :) Nope doesn't happen but every now and then like you said.
29 Jun 2014, 4:44 PM
#1568
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: Ceon URI Mapping v4.x

countrycharm:

Been looking for a solution for a while now. I was beginning to think a couple of us was the only one crazy..... :) Nope doesn't happen but every now and then like you said.
I don't use this plugin, so don't know why the code's going down that path, but the debug-log file is being generated because the plugin auto-loads at breakpoint 99 but the $messageStack isn't instantiated until breakpoint 130 (so there's no $messageStack available at the time of the execution). Following is the section of the ZC 1.5.1 config.core.php that is run between breakpoints 99 and 130; I've no idea why Conor chose breakpoint 99 as the loading point:

/**
 * Breakpoint 100.
 *
 * require('includes/init_includes/init_sanitize.php');
 * $template = new template_func();
 *
 */
  $autoLoadConfig[100][] = array('autoType'=>'classInstantiate',
                                 'className'=>'template_func',
                                 'objectName'=>'template');
  $autoLoadConfig[100][] = array('autoType'=>'init_script',
                                 'loadFile'=> 'init_sanitize.php');
/**
 * Breakpoint 110.
 *
 * require('includes/init_includes/init_languages.php');
 * require('includes/init_includes/init_templates.php');
 *
 */
  $autoLoadConfig[110][] = array('autoType'=>'init_script',
                                 'loadFile'=> 'init_languages.php');
  $autoLoadConfig[110][] = array('autoType'=>'init_script',
                                 'loadFile'=> 'init_templates.php');
/**
 * Breakpoint 120.
 *
 * $_SESSION['navigation']->add_current_page();
 * require('includes/init_includes/init_currencies.php');
 *
 */
  $autoLoadConfig[120][] = array('autoType'=>'objectMethod',
                                'objectName'=>'navigation',
                                'methodName' => 'add_current_page');
  $autoLoadConfig[120][] = array('autoType'=>'init_script',
                                 'loadFile'=> 'init_currencies.php');
29 Jun 2014, 6:07 PM
#1569
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

Sure this (kinda) makes sense..:laugh::dontgetit:wacko::unsure:

J/K.. I get it.. just don't know how to address it..

lat9:

I don't use this plugin, so don't know why the code's going down that path, but the debug-log file is being generated because the plugin auto-loads at breakpoint 99 but the $messageStack isn't instantiated until breakpoint 130 (so there's no $messageStack available at the time of the execution). Following is the section of the ZC 1.5.1 config.core.php that is run between breakpoints 99 and 130; I've no idea why Conor chose breakpoint 99 as the loading point:

/**

  • Breakpoint 100.
  • require('includes/init_includes/init_sanitize.php');
  • $template = new template_func();

/
$autoLoadConfig[100][] = array('autoType'=>'classInstantiate',
'className'=>'template_func',
'objectName'=>'template');
$autoLoadConfig[100][] = array('autoType'=>'init_script',
'loadFile'=> 'init_sanitize.php');
/
*

  • Breakpoint 110.
  • require('includes/init_includes/init_languages.php');
  • require('includes/init_includes/init_templates.php');

/
$autoLoadConfig[110][] = array('autoType'=>'init_script',
'loadFile'=> 'init_languages.php');
$autoLoadConfig[110][] = array('autoType'=>'init_script',
'loadFile'=> 'init_templates.php');
/
*

  • Breakpoint 120.
  • $_SESSION['navigation']->add_current_page();
  • require('includes/init_includes/init_currencies.php');

*/
$autoLoadConfig[120][] = array('autoType'=>'objectMethod',
'objectName'=>'navigation',
'methodName' => 'add_current_page');
$autoLoadConfig[120][] = array('autoType'=>'init_script',
'loadFile'=> 'init_currencies.php');


I guess that those of us continuing to use this module could hold our breath  and wait for the current maintainers to step in with a solution.. 

In  the meantime, I'll continue to monitor my error logs and make  preparations to transition the clients who use this module away from  this module altogether.. yep.. Sadly, I'm tapping out.. while I use  other modules which have been solely community supported on client  sites, IMHO this module is not in a class of modules that I am  comfortable continuing to use for clients based SOLELY on community  support.. too many things can go wrong that I cannot troubleshoot on my  own.. there is just not enough author/maintainer support here to give me  confidence in this module anymore..
30 Jun 2014, 11:49 AM
#1570
kitcorsa avatar

kitcorsa

Totally Zenned

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

Re: Ceon URI Mapping v4.x

thanks for the replies to my memory issues.

The fix suggested didn't fix the error unfortunately this didn't fix my error :-( ive also up'd the memory allowed for mysql in the my.cnf file but still no joy :-(

30 Jun 2014, 12:58 PM
#1571
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

kitcorsa:

thanks for the replies to my memory issues.

The fix suggested didn't fix the error unfortunately this didn't fix my error :-( ive also up'd the memory allowed for mysql in the my.cnf file but still no joy :-(

These appear to be memory leak errors which has ABSOLUTELY NOTHING to do with the PHYSICAL MEMORY on your server.. there is no SERVER SETTING to fix a MEMORY LEAK issue.. (Google "memory leak" to understand why)

The fix applied may not fix this one error, but it still sounds like a memory leak error nonetheless..

30 Jun 2014, 5:37 PM
#1572
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:

Been looking for a solution for a while now. I was beginning to think a couple of us was the only one crazy..... :) Nope doesn't happen but every now and then like you said.
Nope you are not crazy. Personally I suspect there is some "security" flag being triggered or a Webserver <--> PHP communication breakdown when the server is stressed. Have any of the hosting providers (for those experiencing issues) been able to explain why "REQUEST_URI" is not always populated in $_SERVER for PHP scripts running on their servers?

Usually, the connector software (suPHP, fastcgi, mod_php, etc) populates $_SERVER including "REQUEST_URI". Additional security modules loaded before or after the PHP connector software could also be a potential issue (by altering what data is available).

30 Jun 2014, 6:04 PM
#1573
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

lhungil:

Nope you are not crazy. Personally I suspect there is some "security" flag being triggered or a Webserver <--> PHP communication breakdown when the server is stressed. Have any of the hosting providers (for those experiencing issues) been able to explain why "REQUEST_URI" is not always populated in $_SERVER for PHP scripts running on their servers?

Usually, the connector software (suPHP, fastcgi, mod_php, etc) populates $_SERVER including "REQUEST_URI". Additional security modules loaded before or after the PHP connector software could also be a potential issue (by altering what data is available).

Yeah I'll hold my breath on HostMonster, Host Gator, BlueHost or any other hosting companies owned by the Endurance International Group being able to answer that question.. :laugh: They will tell us that it's a Zen Cart issue and they can't help..

30 Jun 2014, 6:39 PM
#1574
uswebworx avatar

uswebworx

Zen Follower

Join Date:
Sep 2006
Location:
USA
Posts:
297
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

DivaVocals:

Yeah I'll hold my breath on HostMonster, Host Gator, BlueHost or any other hosting companies owned by the Endurance International Group being able to answer that question.. :laugh: They will tell us that it's a Zen Cart issue and they can't help..
That's why I love LiquidWeb!

2 Jul 2014, 5:40 PM
#1575
eranariel avatar

eranariel

Zen Follower

Join Date:
Dec 2010
Location:
NYC
Posts:
104
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

I am having issues in applying hebrew... If I add Hebrew characters into the URI Mapping text box for a category, the text box remains empty after saving... Within MySql, I manually attempted to insert the hebrew text, however, the result is saved as "question marks: ?????". My site collation is UTF-8, and accordingly, all of the settings are working fine... Question is whether the issue may have to to with the "type" definition, which is "text" within the CEON_URI_MAPPINGS table. categories_name type, for example, is varchar(32) ...

Please advise...

A.

6 Jul 2014, 5:13 PM
#1576
kitcorsa avatar

kitcorsa

Totally Zenned

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

Re: Ceon URI Mapping v4.x

my memory issue is now solved. Noticed i was using version 4.4.1 and noted there was a 4.4.2 in the download which solved the issue

6 Jul 2014, 7:57 PM
#1577
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

kitcorsa:

my memory issue is now solved. Noticed i was using version 4.4.1 and noted there was a 4.4.2 in the download which solved the issue

Except the issue you reported ARE memory leak errors which TRULY have NOTHING to do with ANYTHING related to sever configuration and such.. (Google "memory Leak" to understand what memory leak errors are all about) But I am glad you resolved your issues..

8 Jul 2014, 9:50 AM
#1578
kitcorsa avatar

kitcorsa

Totally Zenned

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

Re: Ceon URI Mapping v4.x

yeah the download of 4.4.2 on zencart download (not jsweb) had been tweaked to solved the out of memory error / memory leak error. took a while to get sorted but seems to be fixed now (fingers crossed). googleing memory leak and how to find the issue and fix it never really helped but did help me under stand. just a shame the error thats flagged in the error log by zencart and in strict error reporting all pointed to server issues. very strange how i seemed to be the only one with the issue when searching this forum and the net - which then pointed even more to it being an error on my server.

8 Jul 2014, 10:00 AM
#1579
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Ceon URI Mapping v4.x

kitcorsa:

the download of 4.4.2 on zencart download (not jsweb) had been tweaked.

They were both updated at the same time.

8 Jul 2014, 1:07 PM
#1580
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

kitcorsa:

yeah the download of 4.4.2 on zencart download (not jsweb) had been tweaked to solved the out of memory error / memory leak error. took a while to get sorted but seems to be fixed now (fingers crossed). googleing memory leak and how to find the issue and fix it never really helped but did help me under stand. just a shame the error thats flagged in the error log by zencart and in strict error reporting all pointed to server issues. very strange how i seemed to be the only one with the issue when searching this forum and the net - which then pointed even more to it being an error on my server.
You are NOT the only one reporting these memory leak issues.. (a search of this forum would reveal that as there are MULTIPLE threads all pointing to these memory leak issues - particularly prominent where the server is running PHP 5.4 with v1.5.1 of Zen Cart) The APPEAR to point to being a server issue, but they ARE NOT server related at all.. And I am going to keep emphasizing this point because I don't want folks who read this thread to get the wrong information and try to apply the WRONG FIX to this problem.. Fixing a SOFTWARE related memory leak with a HARDWARE tweak is like applying a band-aid and pressure dressing to bullet wound.

A memory leak is an unintentional form of memory consumption whereby a piece of code fails to free an allocated block of memory when no longer needed

Memory leaks look like a hardware issue, but it ABSOLUTELY IS NOT a hardware issue..