Sat 6 Dec 2008
“app/Mage.php was not found” error message – Magento installation
Posted by admin under Magento[2] Comments
I got a “app/Mage.php was not found” error message when i tried to access the sample web site after installing magento on my local pc (Vista Business Edition – Apache 2.2 – PHP 5.2.6 – Mysql 5.0.67)
The address was “http://localhost/test/index.php/”
The problem seemed to be the slash at the end of the url
January 30th, 2009 at 8:26 am
Hey,
Thanks for this tip, you were right. This problem will come back at many points in your webshop (eg breadcrumbs, navigation etc)
It seems the server and install need to be set to rewrite urls.
Not sure though..gonna test that later.
September 11th, 2009 at 3:07 pm
One issue…if magento is installed in a subfolder you have to edit index.php line 45 (my install).
Change:
"$mageFilename = 'app/Mage.php';"
to
"$mageFilename = '{path_to_magento}/app/Mage.php';"