Forums / Developer / Urgent: 'Undefined module: var' error
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
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...
Hans Melis
Wednesday 28 May 2008 2:29:32 pm
This means that Exponential 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
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