Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Remove Colorizer to get Layout editor working
#1
I've been having problems entering the layout editor for some modules. After turning on the debug by adding:
Code:
error_reporting(E_ALL);
ini_set("display_errors", "on");
to the top of the index.php file I was able to find out that there was a fatal call to the colorizer module (by Stefan Warnat). This being a development environment and not using the module that extensively I decided to remove the module with the deleteModule script in the build/helperscripts folder.

After that, I even removed the tables Colorizer created created from the database (I looked in the module manifest and these were the only two it created). Now, when I try to open the Layout editor of for instance Sales Orders, I still get:

Code:
Sorry! Attempt to access restricted file.
We are looking for this file path: modules/Colorizer/Colorizer.php
We are looking here:
Real file path:
Root dir path: /my_path/crmdevelop/

So still there is some reference to the module, but I can't find it.

EDIT:
Also the detailview for all modules that used Colorizer are now not functioning, giving the same message. I thing module includes will not be done in Smarty files, so I need to look in some PHP files that make up the detailview I think.

An update:

I re-installed the module Colorizer (just for debugging) and this is the fatal error in the Layout Manager:

Code:
Fatal error: Call to undefined method Colorizer_ColorWidget::title() in /home/guidog/domains/cbx-nederland.nl/public_html/crmdevelop/modules/Settings/LayoutBlockList.php on line 356

Looking into the file LayoutBlockList.php I see the 'widgets' are loaded here. Maybe the uninstalling of Colorizer did not remove the widget registration? Now to find out where the widgets are stored and how to remove them.
Reply


Messages In This Thread
[SOLVED] Remove Colorizer to get Layout editor working - Guido1982 - 11-05-2015, 09:37 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)