CMS MADE SIMPLE FORGE

CGActionBar

 

[#11993] "Home" button points to malformed path

avatar
Created By: Charles Butcher (chazzo)
Date Submitted: Sat Mar 16 13:58:42 -0400 2019

Assigned To:
Version: 1.1.3
CMSMS Version: 2.2.10
Severity: Major
Resolution: None
State: Open
Summary:
"Home" button points to malformed path
Detailed Description:
The URL that the "Home" button points to contains the string "…/admin//admin/…"
instead of "…/admin/…", so clicking it gives a 404 error.

The "Edit this page" and "Edit this news item" buttons point to the correct
URLs.

Tested on two installations.


History

Comments
avatar
Date: 2019-03-28 11:01
Posted By: Charles Butcher (chazzo)

Changing line 47 from:

$homepage =
$config['admin_url'].'/'.\CmsAdminUtils::get_session_url($homepage);

To:

        $homepage = \CmsAdminUtils::get_session_url($homepage);

seems to work for me.
      
avatar
Date: 2019-03-28 11:04
Posted By: Charles Butcher (chazzo)

Changing line 47 from:

$homepage =
$config['admin_url'].'/'.\CmsAdminUtils::get_session_url($homepage);

To:

        $homepage = \CmsAdminUtils::get_session_url($homepage);

seems to work for me.
      
Updates

Updated: 2019-03-28 11:01
resolution_id: => 5