SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0017971ClearOSapp-base - Base Systempublic2017-11-21 19:262019-02-23 20:41
Reporteruser2 
Assigned Todloper 
PrioritynormalSeveritytweakReproducibilityhave not tried
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version7.4.0 
Target Version8.0.0 Beta 1Fixed in Version 
Summary0017971: Default ClearOS theme displays unavailable links
DescriptionThe top navigation in the ClearOS 7 default theme is hard-coded:

- Dashboard
- Marketplace
- Support

These should only appear if the relevant apps (e.g. app-support) are installed. In minimalist or custom installs, these apps might not be installed.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0006771)
bchambers (administrator)
2017-11-22 09:03

The theme has logic to add placeholders..the problem is back in the Authorization library, so I moved this to app-base.

public function check_acl($username, $url)
    {
        clearos_profile(__METHOD__, __LINE__);

        // root - allow everything
        //------------------------

        if ($username === 'root') <---- This needs more validation to see if the route/controller exists.
            return TRUE;

(0010141)
dloper (administrator)
2019-02-23 20:41

Migrated to: https://gitlab.com/clearos/feature-requests/issues/32 [^]

- Issue History
Date Modified Username Field Change
2017-11-21 19:26 user2 New Issue
2017-11-21 19:32 user2 Target Version 7.5.0 => 8.0.0 Beta 1
2017-11-21 19:33 user2 Status new => confirmed
2017-11-22 09:03 bchambers Note Added: 0006771
2017-11-22 09:03 bchambers Category theme-clearos-admin => app-base - Base System
2019-02-23 20:41 dloper Note Added: 0010141
2019-02-23 20:41 dloper Status confirmed => closed
2019-02-23 20:41 dloper Assigned To => dloper
2019-02-23 20:41 dloper Resolution open => suspended

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7