|
|
| |
Forums ⇒ DragonflyCMS ⇒ Help ⇒ Issues in my admin panel after switching hosts.Help!
Issues in my admin panel after switching hosts.Help!Have you run into a problem, such as receiving an error, blank page, or other similar issue? This forum is not for questions such as "What does this do?" or "Where did this come from?"
Go to page Previous 1, 2
|
View previous topic :: View next topic |
| Author |
Message |
mixy Heavy poster


Offline Joined: Aug 29, 2009 Posts: 173
|
Posted: Mon Mar 15, 2010 12:13 am Post subject: Re: Issues in my admin panel after switching hosts.Help! |
|
| InspectorClueNo wrote: |
| I've been reading in forums that his intention was to disable 3rd party themes for ACP, reducing theme developing time while gaining full ACP control. |
Please could you explain more what you mean by the above
[quote="InspectorClueNo"In your case it worked, your issue was coming from a 3rd party theme ;)[/quote]
I think i understand what this mean but not the first lines.
thanks.
mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
|
|
| Back to top |
|
 |
InspectorClueNo Heavy poster


Offline Joined: Mar 26, 2008 Posts: 211
|
Posted: Mon Mar 15, 2010 12:34 am Post subject: Re: Issues in my admin panel after switching hosts.Help! |
|
ACP = Admin Control Panel
Any 3rd party themes are disabled in ACP forcing to load the default theme. Its behaving as it should.
InspectorClueNo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) none available
|
|
| Back to top |
|
 |
mixy Heavy poster


Offline Joined: Aug 29, 2009 Posts: 173
|
Posted: Mon Mar 15, 2010 12:45 am Post subject: Re: Issues in my admin panel after switching hosts.Help! |
|
So is there no way i can use my azul carbon theme with it?
Thanks
mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
|
|
| Back to top |
|
 |
InspectorClueNo Heavy poster


Offline Joined: Mar 26, 2008 Posts: 211
|
Posted: Mon Mar 15, 2010 3:06 am Post subject: Re: Issues in my admin panel after switching hosts.Help! |
|
Not in admin pages.
InspectorClueNo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) none available
|
|
| Back to top |
|
 |
mixy Heavy poster


Offline Joined: Aug 29, 2009 Posts: 173
|
Posted: Mon Mar 15, 2010 3:08 am Post subject: Re: Issues in my admin panel after switching hosts.Help! |
|
| InspectorClueNo wrote: |
| Not in admin pages. |
But it wont even show on the normal pages.So how do i make it show up on the other pages?
Thanks.
mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
|
|
| Back to top |
|
 |
InspectorClueNo Heavy poster


Offline Joined: Mar 26, 2008 Posts: 211
|
Posted: Mon Mar 15, 2010 3:25 am Post subject: Re: Issues in my admin panel after switching hosts.Help! |
|
You are logged in as admin for sure, but are you also logged in as user?
Since I follow CVS commits I've also noticed that nano changed a display related function to fix a current bug, the function is strictly related to theme settings like: user preferences, default site theme, theme preview, admin pages ... might be a bug that shows up for admin only due to the session caching? I've got no clue lol
I cant personally tell or test because I use the default theme on my intranet site ... see how you go.
InspectorClueNo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) none available
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Tue Mar 16, 2010 8:19 am Post subject: Re: Issues in my admin panel after switching hosts.Help! |
|
Good catch, /includes/functions/display.php replace get_theme function with the above code.
| PHP: |
<?php /* copy everything below this line */ function get_theme() { static $theme; if (isset($theme)) return $theme;
global $MAIN_CFG, $CPG_SESS, $userinfo; $theme = $MAIN_CFG['global']['Default_Theme']; if ($MAIN_CFG['member']['allowusertheme'] || is_admin()) { if (isset($_GET['prevtheme'])) { if (!preg_match('#^([a-zA-Z0-9_\-]+)$#', $_GET['prevtheme'], $theme)) { cpg_error(sprintf(_ERROR_BAD_CHAR, 'theme'), _SEC_ERROR); } $theme = $CPG_SESS['prevtheme'] = $theme[1]; } else if (!empty($CPG_SESS['prevtheme'])) { $theme = $CPG_SESS['prevtheme']; } else if (is_user()) { $theme = $userinfo['theme']; } } $theme = (!defined('ADMIN_PAGES') && file_exists("themes/{$theme}/theme.php")) ? $theme : 'default'; $CPG_SESS['theme'] = $theme; return $theme; }
|
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
| |
 |
 Welcome Anonymous
|
|
|
|