Forums / Developer / Urgent: 'Undefined module: var' error

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

eZ debug

Timing: Jan 30 2025 22:25:46
Script start
Timing: Jan 30 2025 22:25:46
Module start 'content'
Timing: Jan 30 2025 22:25:46
Module end 'content'
Timing: Jan 30 2025 22:25:47
Script end

Main resources:

Total runtime0.1904 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.9531370.2891
Module start 'content' 0.00690.0119 958.24221,005.6563
Module end 'content' 0.01870.1716 1,963.89843,894.7422
Script end 0.1903  5,858.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00412.1553200.0002
Check MTime0.00130.6619200.0001
Mysql Total
Database connection0.00070.379310.0007
Mysqli_queries0.098951.92851410.0007
Looping result0.00110.59641390.0000
Template Total0.171289.910.1712
Template load0.00070.357110.0007
Template processing0.170589.574410.1705
Override
Cache load0.00040.229010.0004
Sytem overhead
Fetch class attribute can translate value0.00190.983710.0019
XML
Image XML parsing0.00030.133910.0003
General
dbfile0.00944.9587200.0005
String conversion0.00000.002930.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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