Extension talk:PhpMathPublisher alternative

to use mtag.php with math tag (not  or ) just comment out case 'math': in includes/parser/Parser.php 87.116.212.130 04:23, 14 March 2009 (UTC)

Memory problems
I'm trying to run this extension on a Wiki on a W2003 server. While trying a simple formula  2^3, the computer starts to think, and it's unable to display any page. The apache log shows Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 121896961 bytes) in E:\DHI\Wikicirta\xampplite\htdocs\Wikicirta\extensions\phpmathpublisher\mathpublisher.php on line 569

What I did to install the phpmathpublisher is to download the file phpmathpublisher-0.3.tar.gz and untar it on the extensions folder. Then I added the phpmathpublisher.php and changed the paths in mathpublisher.php.

Where could be the problem?

Rendering Problems
When I use Show Preview the Formula ist correctly rendered, but there is no effect after saving the page

(I'm using mediawiki 1.15. and the Tex math extension is also activated)

Any Idea?

I am not sure but I have the same problem and I expect that because of using short URL. If I resolve it I'll comeback here with the solution.--Almuhammedi 20:25, 21 June 2011 (UTC)
 * I think I have a temporary solution either by fixing it in the .htaccess or in the phpmathpublisher.php file as follows:


 * Assuming you've changed your $wgScriptPath to "/w" in in LocalSettings.php; then do the same and modify the last lines in the phpmathpublisher.php file which look like:


 * to

There, you'll find a new statement inserted:

Installation problems
All done according to instructions, but error: Warning: Cannot modify header information - headers already sent by (output started at Z:\denwer\www\denwer\wiki\LocalSettings.php:1) in Z:\denwer\www\denwer\wiki\includes\WebResponse.php on line 16. :(

ereg has been DEPRECATED warning
I think we should add this note to the main article since the ereg function is used in mathpublisher.php file while it has been DEPRECATED as of PHP 5.3.0. Personally I received this error and resolved it by replacing the function ereg everywhere in that file by the function preg_match which is often a faster alternative. This note can be seen here on PHP website.--Almuhammedi 20:22, 21 June 2011 (UTC)