I want to test locally with apache on windows. How can I do this CHMOD stuff in WIndows? Also I can’t find the directory /media/ on my magento directory.
So I take it Magento is not supposed to be run locally on Windows?
NO, of course!
Myself I am happily running locally
on a XAMPP-WinXProSP2 box,
as, I guess, MANY others.
You have to take it simply
as it has been specified in Quote # 1 above by dsgnfred,
and in MANY posts on the Installation Forum:
by implementing ALL the pre-requisites for Magento to run.
Perhaps, if possible, you can start the whole thing afresh
by re-installing your LAMPP solution and
by installing, on top of that, the latest Magento download.
actually I have the same problem on my pc, while on the notebook all works..
First, I thought was a problem caused by having more than 1 user on Windows Xp OS.
But was just a suppose, because then I found that on either two computers there was only one user (so, also on pc).
I used the same installation process on the 2 systems, with same xampp,ecc…
I “brutally” resolved the problem today editing a Mage core file in magento directory. This file is magento\app\code\core\Mage\Install\Model\Installer\Filesystem.php
at line 79 there is some code like this:
protected function _checkPath($path, $recursive, $existence, $mode) { $res = true; $fullPath = dirname(Mage::getRoot()).$path; if ($mode == self::MODE_WRITE) { $setError = false; if ($existence) { if (!is_writable($fullPath)) { $setError = true; } } else { if (file_exists($fullPath) && !is_writable($fullPath)) { $setError = true; } }
if ($setError) { $this->_getInstaller()->getDataModel()->addError( Mage::helper('install')->__('Path "%s" must be writable', $fullPath) ); $res = false; } }
all you have to do is to set “false” the $setError var, two times, under if($existence) control, that it means:
if ($existence) { if (!is_writable($fullPath)) { $setError = false; } } else { if (file_exists($fullPath) && !is_writable($fullPath)) { $setError = false; } }
so the code of the entire function will be:
protected function _checkPath($path, $recursive, $existence, $mode) { $res = true; $fullPath = dirname(Mage::getRoot()).$path; if ($mode == self::MODE_WRITE) { $setError = false; if ($existence) { if (!is_writable($fullPath)) { $setError = false; } } else { if (file_exists($fullPath) && !is_writable($fullPath)) { $setError = false; } }
if ($setError) { $this->_getInstaller()->getDataModel()->addError( Mage::helper('install')->__('Path "%s" must be writable', $fullPath) ); $res = false; } }
I think there aren’t no problems make this edit when workin locally on windows, it’s just a control needed for protection on the linux webserver (because chmod only exist on linux). And now it works on my other computer. Hope is usefull!