View Issue Details

IDProjectCategoryView StatusLast Update
0002187OXID eShop (all versions)2. ----- eShop backend (admin) -----public2010-10-29 15:59
Reportercsimon Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version4.4.4 revision 30554 
Summary0002187: error message still wrong if config.inc.php is not set to 444
DescriptionIf config.inc.php is not set to 444, the error message in system health page says:

"System health is definetely broken. This OXID eShop will not work properly in all cases."

-> this is wrong. If config.inc.php isn't set to 444 nothing is broken, it's just slightly insecure. The shop will work.

The bug is in oxsysrequirements.php line 236:


        // special config file check
        $sFullPath = $sPath . "config.inc.php";
        if ( !is_readable( $sFullPath ) ||
             ( isAdmin() && is_writable( $sFullPath ) ) ||
             ( !isAdmin() && !is_writable( $sFullPath ) )
           ) {
            return 0;
        }

The check "isAdmin() && is_writable( $sFullPath ) )" should not be there, because it's irrelevant for the shop to work.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Relationships

duplicate of 0001998 resolvedvilma_liorensaityte Wrong Error message if config.inc.php is not read-only 

Activities

birute_meilutyte

2010-10-29 15:59

reporter   ~0003654

Reminder sent to: csimon

Hello,

same problem was already reported, but not yet fixed ( https://bugs.oxid-esales.com/view.php?id=1998 ). I have increased its priority and the current entry will be closed as dublicate.

greetings,

birute_meilutyte

2010-10-29 15:59

reporter   ~0003655

duplicate of 0001998