I’m running the Notify404 plugin on my site, which means I get emails of every 404 error being served (by MODX) on my site. Every now and then, when I’m working in the manager I also get a few like these:
This is an automated email notification of a 404 error that has occured on the Mark Hamstra website.
Date & time: 21 Feb 2011 - 2:17:37
Requested: /manager/%5C%22%5B%5B!++site_url%5D%5Dassets%5C/images%5C/menu%5C/modx.png%5C%22
Host: http://www.markhamstra.nl
Visitor IP: <mine>
Referer: http://www.markhamstra.nl/manager/?a=19&id=3
User agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Action 19 resolves to the edit template screen, and id 3 is the ID of my current layout. siteurl/assets/images/menu/modx.png is an image I use in my menu and appears as an img tag in my template.
What I don’t get is why it would be requesting my images, when I’m looking at the code...? It also seems to be inconsistent. Sometimes it gives out the 404’s for all 4 images directly referenced in my template - if I then refresh the screen it doesn’t. Also when I browse the manager while keeping Firebug open to check the requests I can’t find the request again.
This is Revo 2.0.7 traditional. I have the feeling it’s related to CodeMirror (1.1.0-pl)... but like I said - I can’t replicate it when I want to, so I can’t think of a way to confirm that. Other plugins that are running are VersionX, TinyMCE, Redirector, Notify404, ArchivistFurl and QuipResourceCleaner.
Environment:
PHP 5.2.17, MySQL 5.0.90, Apache 2, 64MB memory limit, pdo_mysql 5.0.90,
Error.log
Besides some versionx things I need to look in to, this really stands out:
[2011-02-21 02:25:22] (ERROR @ /home/deb30551n2/domains/markhamstra.nl/public_html/core/model/modx/modmanagerresponse.class.php : 391) PHP warning: file_exists() [<a href=’function.file-exists’>function.file-exists</a>]: open_basedir restriction in effect. File(/home/deb30551n2/domains/markhamstra.nl/public_html/manager/assets/modext/
<script type="text/javascript">
// <![CDATA[
Ext.onReady(function() {
MODx.load({
xtype: "modx-page-template-update"
,id: "3"
,record: { <.. whole template escaped here ..> }
});
});
MODx.onTempFormRender = "";
MODx.perm.unlock_element_properties = "1";
// ]]>
</script>) is not within the allowed path(s): (/home/deb30551n2/:/tmp:/var/tmp:/usr/local/lib/php/)
I never have any issues viewing the template code though, so if a request would fail I expect I would notice that by getting an empty textarea?