Hi there,
I'm having two problems with my mediawiki installation.
1) The inplace install does not work. After I fill out all the fields and hit "Install!" a new page appears. It reads:
* PHP 4.3.4 ok * PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) * Have zlib support; enabling output compression. * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. * Installation directory: /var/www/wiki2 * Script URI path: /wiki2
After that the page stops. There is no LocalSettings.php in the config directory. This happens with both 1.2.4 and 1.2.6.
I managed to manually install a 1.2.4 version, but it is somewhat borked.
2) The TeX support does not work. I compiled texvc and put it into /var/www/wiki/math directory. Now I get the following error message, when using the <math>-Tag:
PNG conversion failed; check for correct installation of latex, dvips, gs, and convert
All those programs are installed and known to work. When I run e.g.
./texvc tmp out '\Phi' iso-latin1
I have to C-d the program. It then writes some hashcode to stdout (c571286850423e91db6d2802a4857bf03&Phi) and places some files in tmp. The file texput.log reads:
This is TeX, Version 3.14159 (Web2C 7.4.5) (format=latex 2004.4.29) 15 JUN 2004 14:44 **tmp/15593_571286850423e91db6d2802a4857bf03.tex
! Emergency stop. <*> tmp/15593_571286850423e91db6d2802a4857bf03.tex End of file on the terminal!
Here is how much of TeX's memory you used: 3 strings out of 95854 52 string characters out of 1196101 44491 words of memory out of 1000001 3030 multiletter control sequences out of 10000+50000 3640 words of font info for 14 fonts, out of 500000 for 1000 14 hyphenation exceptions out of 1000 0i,0n,0p,1b,6s stack positions out of 1500i,500n,5000p,200000b,5000s No pages of output.
I can manually compile the created tex file in tmp and it will show a Phi symbol in gs, so I think that the problem lies within the mediawiki source and not with my toolchain. This is with 1.2.4 as I couldn't get 1.2.6 installed.
I'm on Debian unstable and do all my browsing with Konqueror.
Thanks for help, Viktor
Viktor Rosenfeld wrote:
After that the page stops. There is no LocalSettings.php in the config directory. This happens with both 1.2.4 and 1.2.6.
If you can, please try to debug this. Make sure PHP's error logging is on (set logging to a file in php.ini and restart apache).
- The TeX support does not work. I compiled texvc and put it into
/var/www/wiki/math directory. Now I get the following error message, when using the <math>-Tag:
PNG conversion failed; check for correct installation of latex, dvips, gs, and convert
All those programs are installed and known to work.
Please make sure that all programs are in the PATH that apache sees. You can do a putenv() in your LocalSettings.php if necessary.
-- brion vibber (brion @ pobox.com)
Hi,
Brion Vibber wrote:
If you can, please try to debug this. Make sure PHP's error logging is on (set logging to a file in php.ini and restart apache).
I found out that my memory limit for PHP was not big enough. It was 8M, I set it on 32, everything works now. Thanks.
- The TeX support does not work. I compiled texvc and put it into
/var/www/wiki/math directory. Now I get the following error message, when using the <math>-Tag:
PNG conversion failed; check for correct installation of latex, dvips, gs, and convert
All those programs are installed and known to work.
Please make sure that all programs are in the PATH that apache sees. You can do a putenv() in your LocalSettings.php if necessary.
I put a 'print getenv("PATH");' into LocalSettings.php and the returned path is "/bin:/usr/bin:/sbin:/usr/sbin. All executables are in /usr/bin (I checked with which).
Still no luck here.
wikitech-l@lists.wikimedia.org