Closed (fixed)
Project:
SigmaOne
Version:
7.x-1.0-alpha8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2012 at 22:21 UTC
Updated:
8 Aug 2012 at 06:47 UTC
Hello,
my steps:
1. copy of sigmaone theme into sites/all/themes/sigmaone/sigmaone
2. copy of starterkit int sites/all/themes/sigmaone/starterkit -> renamed folder ; renamed .info
3. enabled and set default subtheme as frontend theme
4. enabled sigmaone as administration theme
5. changed colors in color module
6. When saving changes the following error occured:
Fatal error: Call to undefined function drupal_basename() in /mnt/webi/e0/06/53400506/htdocs/Drupal_01/sites/all/themes/sigmaone/sigmaone/vtcore/plugins/cssmanager/cssmanager.plugin on line 32
Since then it is not possible, to log in into my drupal cms account for my website, so i can't make any changes.
Comments
Comment #1
marwinski commentedComment #2
duckzland commentedyou can disable cssmanager plugin by changing its .meta file.
look for enabled = 1 and change to enabled = 0
EDIT:
Is this an upgrade from previous alpha version to alpha 8 or pure alpha 8 installation?
Comment #3
marwinski commentedThank you for your reply. I changed it into enabled =0, but this didn't work. additionally i changed the following part in the cssmanager.plugin into commented code:
/**
* if (!empty($color_paths)) {
* foreach ($color_paths as $color_path) {
* if (drupal_basename($key) == drupal_basename ($color_path)) {
*$css[$key]['data'] = $color_path;
*}
*}
*}
*/
now i can log in again.
best regards
marwinski
Comment #4
marwinski commentedsorry, i forgot: it was a pure alpha 8 installation
Comment #5
duckzland commentedIt is weird, because drupal_basename() is a drupal api, I'm reverting back to php standard basename() in future release.
Comment #6
duckzland commented