chmod 777 C:/xampplite/htdocs/ifpcrm/sites/default
I don’t have any Windows experience, but it seems it should be possible to download unxutils (http://sourceforge.net/project/showfiles.php?group_id=9328) and then open the command prompt, and after installing them run
The user account used by your web-server needs to be granted write access to the following directory in order to configure the CiviCRM settings file:
C:/wamp/www/drupal-6.4\sites\default
foreach ( $writableDirectories as $dir ) {
$this->requireWriteable( $cmsPath . DIRECTORY_SEPARATOR . $dir,
array("File permissions", "Is the $dir folder writeable?", null ),
true );
}
Right now i don't but we 'll try to setup one and check.
patroclas, since you already on windows could you help us on it. All you need to do is replace civicrm/install/index.php with latest file - http://svn.civicrm.org/civicrm/trunk/install/index.php and try reinstall and check if you get that same error again.
The user account used by your web-server needs to be granted write access to the following directory in order to configure the CiviCRM settings file:
C:/wamp/www/drupal-6.4\sites\default
Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\drupal-6.4\includes\file.inc on line 889
$civicrm_root = 'C:/wamp/www/drupal-6.4/sites/all/modules/civicrm';
If you suspect its a code issue try commenting the line 266 to 270 (shown below) in the file - civicrm/install/index.php, which is actually responsible for verifying the permission and check.Code: [Select]foreach ( $writableDirectories as $dir ) {
$this->requireWriteable( $cmsPath . DIRECTORY_SEPARATOR . $dir,
array("File permissions", "Is the $dir folder writeable?", null ),
true );
}
Hi guys.....
No need to edit files or anything, simply need to change remove the Read-Only status from the directory.
Though not using the Explorer way!!
Here we go:
The method that worked for me was to go to start/run cmd and go to the /sites folder. (or if you have cmdhere installed, in explorer right click folder cmdhere). Once in this folder apply the following command to solve the problem:
attrib -r default /s /d
Problem solved,
Let me know if it worked
Hi guys.....
No need to edit files or anything, simply need to change remove the Read-Only status from the directory.
Though not using the Explorer way!!
Here we go:
The method that worked for me was to go to start/run cmd and go to the /sites folder. (or if you have cmdhere installed, in explorer right click folder cmdhere). Once in this folder apply the following command to solve the problem:
attrib -r default /s /d
Problem solved,
Let me know if it worked
Hi guys.....
No need to edit files or anything, simply need to change remove the Read-Only status from the directory.
Though not using the Explorer way!!
Here we go:
The method that worked for me was to go to start/run cmd and go to the /sites folder. (or if you have cmdhere installed, in explorer right click folder cmdhere). Once in this folder apply the following command to solve the problem:
attrib -r default /s /d
function requireWriteable($filename, $testDetails, $absolute = false) {
$this->testing($testDetails);
if ( ! $absolute ) {
$filename = $this->getBaseDir() . $filename;
}
// Check if Windows OS. Under Windows, 'is_writeable' only returns the read-only attribute status, not the actual permissions (ACL), So forcing chmod 777 if Windows
if (strtolower((substr(PHP_OS, 0, 3))) == 'win') {
chmod($filename, 0777);
}
if(!is_writeable($filename)) {
$name = null;
if ( function_exists( 'posix_getpwuid' ) ) {
$user = posix_getpwuid(posix_geteuid());
$name = '- ' . $user['name'] . ' -';
}
if ( ! isset( $testDetails[2] ) ) {
$testDetails[2] = null;
}
$testDetails[2] .= "The user account used by your web-server $name needs to be granted write access to the following directory in order to configure the CiviCRM settings file:\n$filename";
$this->error($testDetails);
}
}
Once the installation completed remove /** and */ |
If you suspect its a code issue try commenting the line 266 to 270 (shown below) in the file - civicrm/install/index.php, which is actually responsible for verifying the permission and check.Code: [Select]foreach ( $writableDirectories as $dir ) {
$this->requireWriteable( $cmsPath . DIRECTORY_SEPARATOR . $dir,
array("File permissions", "Is the $dir folder writeable?", null ),
true );
}