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).

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 01:02:55
Script start
Timing: Jan 19 2025 01:02:55
Module start 'layout'
Timing: Jan 19 2025 01:02:55
Module start 'content'
Timing: Jan 19 2025 01:02:55
Module end 'content'
Timing: Jan 19 2025 01:02:55
Script end

Main resources:

Total runtime0.0160 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.1484152.6250
Module start 'layout' 0.00630.0028 741.773439.4297
Module start 'content' 0.00910.0049 781.203193.3203
Module end 'content' 0.01390.0020 874.523434.3047
Script end 0.0159  908.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002716.6498140.0002
Check MTime0.00117.0043140.0001
Mysql Total
Database connection0.00106.258210.0010
Mysqli_queries0.002314.507030.0008
Looping result0.00000.080610.0000
Template Total0.00169.910.0016
Template load0.00095.382310.0009
Template processing0.00074.525810.0007
Override
Cache load0.00063.548410.0006
General
dbfile0.00085.080980.0001
String conversion0.00000.047740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs