I’m having a related problem with my MediaTemple (I have a GridServer) and get the same error message as listed above when trying to access Mint.
Here’s the sequence of events:
I installed Mint (no problem, aside from the fact that the hostname isn’t localhost, but is external.XXXXXgridserver.com) and added the Mint WordPress plugin.
I ran the “installer” and created an created an .htaccess file in the /html/ folder in my domain and pasted in the code
AddType application/x-httpd-php .html .htm
php_value auto_prepend_file /home/12345/domains/mydomain.com/html/mint/config/auto.php
So far so good. Mint was working beautifully. To make life easier, I used the Mint WordPress plugin to add the script to all relevant pages. So far so good.
Then came the problem:
To keep Mint from tracking itself, I created an .htaccess file in the /mint/ directory with the code
php_value auto_prepend_file none
The file uploaded as ASCII and permissions were set to 644, so it should be good to go.
However, when I now try to access http://movito.net/mint I get the same message as lingmister:
Warning: Unknown(none): failed to open stream: No such file or directory in Unknown on line 0
Warning: Unknown(none): failed to open stream: No such file or directory in Unknown on line 0
Warning: (null)() [function.include]: Failed opening 'none' for inclusion (include_path='.:/usr/local/php-4.4.7-1/share/pear') in Unknown on line 0
Renaming the .htaccess file (and thereby having it ignored) makes Mint accessible again.
After reading through various posts here at the forum I found some info that indicated that there was a problem with how MediaTemple GridServers handle this statement
AddType application/x-httpd-php .html .htm
and that the following was a better way to write it
<FilesMatch ".(html|htm)$">
SetHandler php4-script
</FilesMatch>
So I changed the root .htaccess file to reflect this. It now reads
<FilesMatch ".(html|htm)$">
SetHandler php4-script
</FilesMatch>
php_value auto_prepend_file /home/12345/domains/mydomain,.com/html/mint/config/auto.php
This had no positive or negative effect on my site, so I’ll assume it works.
I therefore tried changing the .htaccess file in the Mint directory to look like this:
<FilesMatch ".(html|htm)$">
SetHandler php4-script
</FilesMatch>
php_value auto_prepend_file none
This had no effect on the error messages and it seems that there is some strange .htaccess problem at MediaTemple – or is it the code. I can’t tell which is the problem.
Thus, it seems that I am unable to prevent Mint from tracking itself on a GridServer at MediaTemple.
Any suggestions would be appreciated!