when i try to enable drutex module on modules page (admin/modules/list), i get an error (http 500 error).
other modules work. the problem is in drutex.

Comments

abbasmousavi’s picture

I can not guess any reason for an http 500 error.
Can you help me with some information to reproduce the issue?

abbasmousavi’s picture

Status: Active » Postponed (maintainer needs more info)
maxview’s picture

The same error goes to
me

maxview’s picture

when i ticked "enable" and saved it , then it turned out being not ticked and enabled, i tried many times, same same, no error message, just keep being unenabled,other modules are normal.

maxview’s picture

in error log : PHP Fatal error: Call to undefined function dpm() in ... public_html/modules/drutex/drutex.module on line 862 ...

maybe the latest dev version is ok

abbasmousavi’s picture

@ assenal: Ok, The last dev version is OK, Please use it. I will release a new version of DruTeX as soon as possible.

grobe’s picture

Version: 7.x-1.0-alpha1 » 7.x-1.x-dev

I had the same problem with activating the module. I upgraded to dev, which allowed me to enable. However, when on the content types configuration page, I get a bunch of warnings now:

    Notice: Undefined index: remote in _filter_drutex_settings() (line 199 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex.module).
    Notice: Undefined index: latex in _filter_drutex_settings() (line 199 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex.module).
    Notice: Undefined index: security in _filter_drutex_settings() (line 199 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex.module).
    Notice: Undefined index: drutex_base in _filter_drutex_settings() (line 225 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex.module).
    Notice: Undefined index: drutex_dpi in drutex_render_filter_settings() (line 156 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex_render.inc).
    Notice: Undefined index: drutex_conversion in drutex_render_filter_settings() (line 164 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex_render.inc).
    Notice: Undefined index: drutex_pattern_render_custom in drutex_render_filter_settings() (line 171 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex_render.inc).
    Notice: Undefined index: drutex_conversion in drutex_render_filter_settings() (line 174 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex_render.inc).
    Notice: Undefined index: drutex_pattern_ in drutex_render_filter_settings() (line 175 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex_render.inc).
    Notice: Undefined index: remote in _filter_drutex_settings() (line 276 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex.module).
    Notice: Undefined index: drutex_server in drutex_remote_filter_settings() (line 103 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex_remote.inc).
    Notice: Undefined index: drutex_dpi in drutex_remote_filter_settings() (line 111 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex_remote.inc).
    Notice: Undefined index: drutex_base in drutex_tools_filter_settings() (line 52 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex_tools.inc).
    Notice: Undefined index: drutex_base in drutex_tools_filter_settings() (line 69 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex_tools.inc).
    Notice: Undefined index: security in _filter_drutex_settings() (line 276 of /var/www/drupal/7.x_sites/all/modules/drutex/drutex.module).

I had run update.php, but there were no available updates to the database. I am running Drupal on a Postgres backend, with Apache.

Cheers, Lars.

kiricou’s picture

Hi,

The same issue for me.
I'm running with MySQL et Drupal 7.12

Merci

kiricou’s picture

I can do TeX but I've got this errors :

Notice: Use of undefined constant filter - assumed 'filter' in preg_replace() (line 1 of /var/www/drupal-7.12/sites/all/modules/drutex/drutex.module(363) : regexp code).
Notice: Use of undefined constant filter - assumed 'filter' in preg_replace() (line 1 of /var/www/drupal-7.12/sites/all/modules/drutex/drutex.module(363) : regexp code).
Notice: Use of undefined constant filter - assumed 'filter' in preg_replace() (line 1 of /var/www/drupal-7.12/sites/all/modules/drutex/drutex.module(363) : regexp code).
Notice: Use of undefined constant filter - assumed 'filter' in preg_replace() (line 1 of /var/www/drupal-7.12/sites/all/modules/drutex/drutex.module(363) : regexp code).
Notice: Use of undefined constant filter - assumed 'filter' in preg_replace() (line 1 of /var/www/drupal-7.12/sites/all/modules/drutex/drutex.module(363) : regexp code).
Notice: Use of undefined constant filter - assumed 'filter' in preg_replace() (line 1 of /var/www/drupal-7.12/sites/all/modules/drutex/drutex.module(363) : regexp code).
Notice: Use of undefined constant filter - assumed 'filter' in preg_replace() (line 1 of /var/www/drupal-7.12/sites/all/modules/drutex/drutex.module(363) : regexp code).
Notice: Trying to get property of non-object in drutex_linebreak_node2html_postprocess() (line 49 of /var/www/drupal-7.12/sites/all/modules/drutex/drutex_linebreak.inc).
Notice: Undefined index: en in drutex_node_view() (line 81 of /var/www/drupal-7.12/sites/all/modules/drutex/drutex.module).

Thanks

jpcurley25’s picture

I am having same problem activating Drutex on module page. Here are my symptoms:

When I navigate to modules page and try to activate Drutex, browser navigates to

http://example.com/admin/modules/list/confirm
which displays the modules page (with Drutex still disabled)

When I try to activate it for the second time, it takes me to the same URL, but it is a blank screen instead of the modules screen.

I have texlive installed as well as dvipng using apt-get but I did not change their install path and I've read that they need to be installed in the "root" directory in order for Drutex to work. Is this true? And by "root" do they mean my server root or my web root directory?

jason@jackhammer:/$ sudo find / -name texlive
/usr/share/lintian/overrides/texlive
/usr/share/bug/texlive
/usr/share/doc/texlive-doc-zh/texlive
/usr/share/doc/texlive-doc-pl/texlive
/usr/share/doc/texlive-doc-it/texlive
/usr/share/doc/texlive-doc-cs+sk/texlive
/usr/share/doc/texlive-doc-base/texlive
/usr/share/doc/texlive-doc-fr/texlive
/usr/share/doc/texlive-doc-de/texlive
/usr/share/doc/texlive
/usr/share/doc/texlive-doc-ru/texlive
/usr/share/doc/texlive-doc/texlive
/usr/local/texlive
/usr/local/texlive/2011/texmf-dist/doc/latex/cjk/texlive
/usr/local/texlive/2011/texmf/scripts/texlive
/usr/local/texlive/2011/texmf/scripts/texlive/lua/texlive
/usr/local/texlive/2011/texmf/doc/texlive
jason@jackhammer:/$ sudo find / -name dvipng
/usr/share/doc/dvipng
/usr/bin/dvipng
/usr/local/texlive/2011/bin/i386-linux/dvipng
/usr/local/texlive/2011/texmf/doc/dvipng
kaizerking’s picture

Same problem here
in error log : PHP Fatal error: Call to undefined function dpm() in ... public_html/modules/drutex/drutex.module on line 862

kaizerking’s picture

i have changed to dev version, I am able to install,
but when i am Configuring text format i am gettinf errors:
Notice: Undefined index: remote in _filter_drutex_settings() (line 199 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex.module).
Notice: Undefined index: latex in _filter_drutex_settings() (line 199 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex.module).
Notice: Undefined index: security in _filter_drutex_settings() (line 199 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex.module).
Notice: Undefined index: drutex_base in _filter_drutex_settings() (line 225 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex.module).
Notice: Undefined index: drutex_dpi in drutex_render_filter_settings() (line 156 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex_render.inc).
Notice: Undefined index: drutex_conversion in drutex_render_filter_settings() (line 164 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex_render.inc).
Notice: Undefined index: drutex_pattern_render_custom in drutex_render_filter_settings() (line 171 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex_render.inc).
Notice: Undefined index: drutex_conversion in drutex_render_filter_settings() (line 174 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex_render.inc).
Notice: Undefined index: drutex_pattern_ in drutex_render_filter_settings() (line 175 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex_render.inc).
Notice: Undefined index: remote in _filter_drutex_settings() (line 276 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex.module).
Notice: Undefined index: drutex_server in drutex_remote_filter_settings() (line 103 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex_remote.inc).
Notice: Undefined index: drutex_dpi in drutex_remote_filter_settings() (line 111 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex_remote.inc).
Notice: Undefined index: security in _filter_drutex_settings() (line 276 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex.module).
Notice: Undefined index: drutex_base in drutex_tools_filter_settings() (line 52 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex_tools.inc).
Notice: Undefined index: drutex_base in drutex_tools_filter_settings() (line 69 of /hsphere/local/home/........./......../sites/all/modules/drutex/drutex_tools.inc).

sirajs’s picture

Same problem ... using drupal v7.12
- running 7.x-1.0-alpha1: undefined function dpm() on enabling module and trying to save configuration
- running 7.x-1.x-dev: Notice: Undefined index: remote in _filter_drutex_settings() .... on setting up text format configuration

P3t3r’s picture

Priority: Normal » Critical
Status: Postponed (maintainer needs more info) » Active

Bump. After more than half a year, the "recommended" version still contains a critical bug (failing to enable module), and the dev version spits out large amounts of errors without any comment from the mod author.

This makes the module more or less unusable. Is the mod author still looking after this mod or should we consider it abandoned?

jucovschi’s picture

I have created a patch (see http://drupal.org/node/1829016#comment-7229766) for the dev version to make it work on my computer without warnings and errors. Please test it and lets try to get these changes into the recommended version.

apaderno’s picture

Issue summary: View changes
Status: Active » Fixed
Issue tags: -HTTP 500 Error, -module confirm

I am setting this issue as fixed, as the original report has been fixed in the development snapshot. For the notice errors in the development snapshot code, see #1829016: Configuration form won't store changes.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.