Hi. I have deleted and uploaded matrix again, still getting a blank screen at step 3
If i enter a invalid directory for my matrix path, i get a page back to say it's invalid. with the correct path I just get a blank page.
Totally stuck
reading the other post, i have taken out the @ from the front of fopen on line 190 of steps\installdirectory.inc, and I get this page of errors
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/data/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/data/private/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/data/public/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/data/private/asset_map/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/data/private/assets/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/data/private/conf/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/data/private/db/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/data/private/events/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/data/private/logs/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/data/private/maps/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/data/public/asset_types/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/data/public/assets/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
Warning: fopen(/home/httpd/vhosts/1030digitalmedia.com/httpdocs/matrix/cache/tmpinstallfile): failed to open stream: Permission denied in /home/httpd/vhosts/1030digitalmedia.com/httpdocs/installer/steps/installdirectory.inc on line 190
I haven't added write permissions to the folders yet though so just doing that now
OK, commenting out lines in steps\installdirectory.inc as follows has got past the blank screen issue. Thanks Gregory…
/
* Check whether certain directories exist and are writable
*
* @param string $sys_root The alleged system root directory
* @return boolean Whether this sysroot is writable
* @access public
/
function _testSysRoot($sys_root)
{
/ $dirs = Array('data',
* 'data/private',
* 'data/public',
* 'data/private/asset_map',
* 'data/private/assets',
* 'data/private/conf',
* 'data/private/db',
* 'data/private/events',
* 'data/private/logs',
* 'data/private/maps',
* 'data/public/asset_types',
* 'data/public/assets',
* 'cache');
/
$success = true;
/ foreach($dirs as $dir) {
* $check_dir = $sys_root.'/'.$dir;
* // if it is a directory, check whether it is writable
* if (is_dir($check_dir)) {
*
* // create a tmp file to see if there's write access.
* $fp = @fopen($check_dir.'/tmpinstallfile', "w");
* if ($fp === FALSE) {
* $this->errors[] = 'Could not open '.$check_dir.' for writing. ';
*
* // only output what commands to perform for the first instance
* // of a failed directory check
* if ($dir=='data' || $dir=='cache') {
* $this->errors[] = 'Please change permissions on the '.$check_dir.' directory and all files below it '.
* 'to have write access by the webserver by executing the following ';
* $this->errors[] = '<p><i>chmod 777 '.$check_dir;
*
* $this->errors[] = 'find '.$check_dir.' -type d | xargs chmod 777';
* $this->errors[] = 'find '.$check_dir.' -type f | xargs chmod 666</i></p>';
* }
* $success = false;
*
* @fclose($fp);
* } else {
* @fclose($fp);
* // delete the temp file that was just created
* unlink($check_dir.'/tmpinstallfile');
* }
* } else {
* // otherwise, there was an error
* $success = false;
* $this->errors[] = 'Could not find required directory '.$check_dir;
* }
* }
*
* // need to also check if there's a 'sys_root/core/include/init.inc file.
* if (!file_exists($sys_root.'/core/include/init.inc')) {
* $this->errors[] = 'Could not find the init file for the nominated system root '.$sys_root;
* $success = false;
* }
*
* // need to check to make sure that the xml_tree file is accessible.
* ini_set('include_path', ini_get('include_path').':'.$sys_root.'/php_includes');
* @include_once('XML/Tree.php');
* if (!class_exists('XML_Tree')) {
* $this->errors[] = 'Could not successfully include the Matrix version of XML_Tree. You may experience '.
* 'further errors later in the install. '.ini_get('include_path');
* }
*/
return $success;
}//end _testSysRoot()