AnswerBun.com

Theme developer module crashes the whole site when enabled, how to fix?

Drupal Answers Asked by Kareem on August 15, 2020

I’m working on a clean Drupal 7.x installation, downloaded Theme developer and its dependent module simplehtmldom API( another required module for Theme developer) using drush.

I found out that simplehtmldom 7.x-2.x is incompatible; so I removed it, and Installed the 7.x-1.12 version using Drush, enabled it, enabled the Theme developer module was available to be enabled. Now the site doesn’t work anymore.

All I’m seeing is just some tags like this.

< /> < /> < /> < /> < /> < /> < /> < /> < /> < />

The problem is fixed when I disable the Theme developer module manually with Drush; everything gets back to normal, when I disabled that module.

I’ve tried to navigate the site using /node/1 and tried to go to the administration panel; all I noticed is that the title of the page (the one appearing on the browser’s tab) appears but the content seems to be the same.

How do I solve this issue?

This is a screenshot.

Drupal Error devel_themer

2 Answers

I had the same issue and I could solve it by switching from PHP7 to PHP5.6 when using the Theme Developer (7.x-1.x-dev).

Answered by sndr on August 15, 2020

I did manage to get it to work properly … eventually. This is how, on D7 7.5.

  1. Download and install Theme Developer 7x. Do not enable yet.
  2. Download and install SimpleHTMLDom 7.x-1.12. Do not enable yet.
  3. Download SimpleHTMLDom library from http://sourceforge.net/projects/simplehtmldom]1 and install to sites/all/libraries, so that your library path is sites/all/libraries/simplehtmldom/simple_html_dom.php.
  4. Now you can run drush en -y devel_themer and it will automatically enable the simplehtmldom.

I did notice that my /tmp folder was not giving correct permissions to the /tmp/devel_themer folder, so doing a chmod -R on that fixed the problem.

screenshot-devel_themer enabled

Answered by macjules on August 15, 2020

Add your own answers!

Related Questions

How to programmatically reference entities?

1  Asked on October 26, 2021 by sveggen

   

custom action plugin with ConfigurationForm

1  Asked on October 26, 2021

     

grouped paragraphs by field not filtering to current language

1  Asked on October 26, 2021 by turpentyne

     

How do I migrate node entity references?

0  Asked on October 26, 2021 by alexandre

     

Form textfield AJAX validation “deletes” injected services to form

1  Asked on October 26, 2021 by pedro-tentugal

   

Allowing anonymous users to contact node authors

1  Asked on October 26, 2021 by aroopk

     

How to cache a view for all users of a role?

1  Asked on October 26, 2021 by ktrev

     

Is it feasible to migrate by only migrating content?

2  Asked on October 26, 2021 by benjen

   

Get the breadcrumbs for a specific node other than the current

1  Asked on October 26, 2021 by nils-riedemann

     

Views exposed filters without “Apply” button

3  Asked on October 26, 2021

   

Saving form data and running custom queries in mysql

1  Asked on October 26, 2021 by benn-moffat

     

Add additional fields to the postal address

1  Asked on October 26, 2021 by jay-haase

 

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP