TransWikia.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!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP