Hi,

After the 1.x-branch is abadoned, I decided to upgrade to 2.x-dev instead. Disabled the old module then uninstalled it. After that I tried to install the new version, but it dies with a php error which tells me:

PHP Fatal error: Call to undefined function _jsmath_library_path() in /home/fleet/www/public/szesuli/sites/all/modules/jsmath/jsmath.install on line 10

Thank you in advance for checking it.

CommentFileSizeAuthor
#1 jsmath-install-6.x.patch468 bytesAlexisWilke

Comments

AlexisWilke’s picture

StatusFileSize
new468 bytes

Hi fleetcommand,

Sorry about that! I tried the module reports but not uninstall + install...

I checked in the fix. It should be available within 12h. I'm also attaching a patch.

I had another little problem when running, we'll see whether you get that too... More or less, it would always tell me that the jsMath library is not installed even though the report says it is.

Thank you.
Alexis

Anonymous’s picture

>I had another little problem when running, we'll see whether you get that too... More or less, it would always tell me that the jsMath library is not installed even though the report says it is.

YES!!

I have just found a typo in jsmath.module!

$ diff jsmath.module.wrong jsmath.module.right
47a48
>
59c60
< $jspath = dirname($js_path_file_path);
---
> $jspath = dirname($jspath_file_path);

AlexisWilke’s picture

Status: Active » Fixed

Ah! That would explain! 8-)

I copied that code from another place in the code, but not for that very line... I checked in the fix.

Feel free to post issues for any other problem. And remember that with this one you have to add the filter to your Input format(s).

Thanks again,
Alexis

fleetcommand’s picture

Thank you for the fix, after updating to the latest -dev version, both bugs were disappeared. :)

Status: Fixed » Closed (fixed)

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