Urgent: 'Undefined module: var' error

Author Message

Piotrek Karaś

Wednesday 28 May 2008 6:49:36 am

Hi,

We have a strange errors in the error.log in one of the producton sites with 4.0.0:

[ May 28 2008 15:34:53 ] [83.14.51.178] index:
Undefined module: var
[ May 28 2008 15:34:53 ] [83.14.51.178] error/view.php:
Error ocurred using URI: /var/self/storage/images/media/images/rozne/pianki_en_rose/2157-1-pol-PL/pianki_en_rose1_small_home.jpg

And another example:

[ May 28 2008 15:35:03 ] [83.14.51.178] index:
Undefined module: extension
[ May 28 2008 15:35:03 ] [83.14.51.178] error/view.php:
Error ocurred using URI: /extension/selfstart/design/self/images/bottom_rodzice.gif

Does anyone have any idea what that could be caused by?

Here's some configuration details:

[SiteAccessSettings]
ForceVirtualHost=true
CheckValidity=false
AvailableSiteAccessList[]=pl
AvailableSiteAccessList[]=panel
MatchOrder=host
HostMatchType=map
HostMatchMapItems[]=domain.pl;pl
HostMatchMapItems[]=admin.domain.pl;panel

Any help greatly appreciated!

Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Piotrek Karaś

Wednesday 28 May 2008 7:18:26 am

Ok, so it seems like a regular error message whenever an URL is invalid... this is a bit misleading, I'd never guess that if I hadn't made tests...
It also seems that I might have a problem with my .htaccess file, instructions processed too far...

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Hans Melis

Wednesday 28 May 2008 2:29:32 pm

This means that eZ Publish processes those URLs, which in turn means they reach index.php. They shouldn't get there in the first place so an educated guess brings me to a problem with the rewrite rules. Did you put [L] after the rules that should halt processing?

Hans
http://blog.hansmelis.be

Piotrek Karaś

Wednesday 28 May 2008 8:30:02 pm

Hello Hans,

Thanks for your reply. Yes, that was partially a problem with mod_rewrite rules, especially when it comes to images. However, this is an older, popular domain, and it seems like the same kind of error message appears for every request that is a bot's request, and there are lots of those... Why do I guess that's bot's work? Well, because URLs are called that have never been there. Let's say we have an URL: /a/b/c/d/
So in my error logs I have various order combinations of node parameters, like: /b/a/d/c/, /d/c/b/a/, and so on...
I'm not sure I want to have those messages along with error logs that might be of great importance... What do you think?

Cheers,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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 20 2025 17:27:52
Script start
Timing: Jan 20 2025 17:27:52
Module start 'layout'
Timing: Jan 20 2025 17:27:52
Module start 'content'
Timing: Jan 20 2025 17:27:52
Module end 'content'
Timing: Jan 20 2025 17:27:52
Script end

Main resources:

Total runtime0.0138 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.0044 587.9219151.2109
Module start 'layout' 0.00440.0022 739.132836.6641
Module start 'content' 0.00660.0055 775.796994.2813
Module end 'content' 0.01200.0017 870.078137.9922
Script end 0.0138  908.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002417.3927140.0002
Check MTime0.00117.8971140.0001
Mysql Total
Database connection0.00064.399610.0006
Mysqli_queries0.002014.501730.0007
Looping result0.00000.079510.0000
Template Total0.00128.510.0012
Template load0.00096.435210.0009
Template processing0.00032.037410.0003
Override
Cache load0.00064.703710.0006
General
dbfile0.00139.516380.0002
String conversion0.00000.036340.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