I’m trying to make my first custom manager page, and I keep getting the following error:
[tt]Could not find action file at: /home/admin/domains/apr.ilink2.nl/public_html/core/components/context_manager/index.php
[/tt]
If I drop to the command line and do the following:
[tt]ll /home/admin/domains/apr.ilink2.nl/public_html/core/components/context_manager/index.php
[/tt]
then I get the following output:
[tt]-rwxrwxrwx 1 admin admin 35 May 10 13:24 /home/admin/domains/apr.ilink2.nl/public_html/core/components/context_manager/index.php
[/tt]
So, the file exists, but MODx cannot see it.
I made a quick php test script with the following code:
[tt]<?
if (file_exists(’/home/admin/domains/apr.ilink2.nl/public_html/core/components/context_manager/index.php’))
{
echo "found \n";
}
else
{
echo "not found \n";
}
?>[/tt]
and ran it from the command line, and got the following output:
[tt][admin@mail context_manager]$ php test.php
found
[/tt]
It also displays ’found’ if I run the page through apache.
Can someone help me?
Its seems to be failing on a file_exists check, see line 85 in modmanagerresponse. class.php for the generation of the error you are seeing and the check above it. I’d debug the path through here to see what’s occurring.
Use MODx, or the cat gets it!
What’s got two thumbs and accidentally puts extra spaces in his filenames?
This Guy!
Thanks for the pointer, it helped me get there.