1

I'm running into what looks like an incompatibility for NSM htaccess generator with ee2.8.1

Trying to save entries will result in the following error:

*Fatal error: Call to undefined function do_hash() in /home/dev/system/expressionengine/third_party/nsm_htaccess_generator/ext.nsm_htaccess_generator.php on line 224*

While trying to go into the settings returns the following error:

*Fatal error: Call to undefined method EE_Javascript::generate_json() in /home/dev/system/expressionengine/third_party/nsm_htaccess_generator/ext.nsm_htaccess_generator.php on line 421*

Does anyone know of a fix?

  • did you have latest version?? – Ahmad Saad Mar 18 '14 at 16:26
  • Yes, can latest version of everything – MrTomTom Mar 19 '14 at 6:23
6

actually I don't use NSM htaccess generator , but I can help you with this problem.

first thing update to the last version , if you have the last version and still have this problem you can solve it as following:

about the first one:do_hash() problem.

replace do_hash() function with PHP’s hashing functions like sh1

about the second one generate_json() :

replace $this->EE->javascript->generate_json with json_encode

check it and let me know.

Regard's.

| improve this answer | |
  • Great can confirm this worked! – MrTomTom Mar 19 '14 at 6:22
  • 1
    This also worked with updating Wygwam. Thanks Ahmad! – thatgibbyguy Jul 10 '14 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.