Forums / Setup & design / Module 'ee' not found

Module 'ee' not found

Author Message

Eivind Marienborg

Monday 19 December 2005 1:23:54 am

Hello!

On one of the eZ sites I'm running, there has all of a sudden appeared a rather mysterious problem.

Whenever anyone tries to access anything but the standard section (log in, forum, activity-section etc), they get a Kernel 20 - Module ee not found-error. The URL is correct. As far as I know, no code has been altered, so, strange as it seems, this error has kinda appeared out of the blue..

Does anyone have any experience with this, or any hints as to where I shuld start looking now..?

Eivind Marienborg

Tuesday 24 January 2006 3:31:18 am

I'm still trying to resolve this error, and have gotten a bit further.

I've moved the entire site to a new server, and done a fresh eZ install with the same DB. This still produces the same error, which leads me to the conclusion that the error is in the DB.

In fair of having to look through our DB with 3 million records for errors, I'm trying to track down which part of the DB is corrupted. My theory is that eZ some place along the way replaces the actual module with the 'ee' module, by fetching something from the DB.

The error seems to appear somewhere in the EZURLALIAS_CACHE_FUNCTION in the translateByWildcard function in kernel/classes/ezurlalias.php:

(partial code, starts around line 580-590)

if ( function_exists( EZURLALIAS_CACHE_FUNCTION ) )
{
  $hasCache = true;
  $function = EZURLALIAS_CACHE_FUNCTION;
  $hasTranslated = false;
  $url = false;
  $ini =& eZINI::instance();
  $maxIterationCount = $ini->variable( 'URLTranslator', 'MaximumWildcardIterations' );
  $iteration = 0;

## At this point, $uriString is correct, "user/login"

  while ( $function( $uriString, $urlAlias ) )
     {
## Here the $uriString is output as "ee/user/login". For each iteriation in this while-loop, it adds another ee, resulting in "ee/ee/ee/ee/ee/ee/ee/ee/ee/ee/ee/ee/ee/ee/ee/ee/ee/ee/ee/ee/user/login" after 19 iteriations.

The ezurlalias_cache_function is defined in the beginning of the file:

define( 'EZURLALIAS_CACHE_FUNCTION', 'eZURLAliasWilcardTranslate' );

My problem now is that I can't seem to find any other reference to the ezURLAliasWilcardTranslate, and thus can't track the problem further. I can't find any docs on it either.

I've noticed that it says Wilcard (and not wildcard), but grep'ing for wildcard doesn't bring me any further..

So, any pointers on where to find docs, or to what could possibly be wrong in my DB, would be greatly appriciated! Can anyone help?

:)

Eivind

Eivind Marienborg

Tuesday 24 January 2006 5:23:21 am

I've found the error, but not what caused it.

An entry in the table ezurlalias had gotten source_url set to "*". Changing this to something else seems to have resolved the problem.

I'll post again if I am able to discover what caused the problem in the first place.

Betsy Gamrat

Monday 08 October 2007 7:00:54 am

This occurred for me with version 3.9.3, on a site that had been upgraded from 3.4.

I edited a folder with several object relations in it, hit "Send for Publishing", and then the admin console was corrupted.

Recovery was achieved by removing a * wildcard entry at the end of the ezurlias table, and clearing the wildcard cache (on the command line).

eZ debug

Timing: Jan 19 2025 04:27:52
Script start
Timing: Jan 19 2025 04:27:52
Module start 'content'
Timing: Jan 19 2025 04:27:53
Module end 'content'
Timing: Jan 19 2025 04:27:53
Script end

Main resources:

Total runtime1.1887 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 588.9297180.8438
Module start 'content' 0.00681.0258 769.7734533.9609
Module end 'content' 1.03270.1560 1,303.7344336.8047
Script end 1.1887  1,640.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3330210.0002
Check MTime0.00160.1324210.0001
Mysql Total
Database connection0.00070.061410.0007
Mysqli_queries1.108093.20351970.0056
Looping result0.00230.19301950.0000
Template Total1.154297.120.5771
Template load0.00190.157620.0009
Template processing1.152396.931920.5761
Template load and register function0.00010.009610.0001
states
state_id_array0.00130.109110.0013
state_identifier_array0.00240.201820.0012
Override
Cache load0.00160.1321320.0000
Sytem overhead
Fetch class attribute can translate value0.00140.118030.0005
Fetch class attribute name0.00320.269560.0005
XML
Image XML parsing0.00150.124230.0005
class_abstraction
Instantiating content class attribute0.00000.001880.0000
General
dbfile0.00350.2934330.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs