As part of my ongoing problem with MyAlbum, I have tried some additional steps.
Firslty, the problem :
PHP Fatal error: Call to undefined function: imagecreatefromjpeg() in d:cms.fctmodulesmyalbumincludefunctions.php on line 292
and the URL link goes to :
http://fct.local/modules/myalbum/submit.php?caller=
Secondly, my setup
Windows Server 2003
php 4.3.6 (I think, although it could be 4.3.1)
MySQL 4.0.20
IIS 6
Xoops 2.0.9.2
MyAlbum 2.83
NewBB2
Thirdly, the countermeasures taken to resolve this frustrating problem (other than those described above) :
1) Installed ImageMagick, restrated the web publishing service, and rebooted the server. ImageMagick not detected still by XOOPS modules, namely MyAlbum and NewBB2.
2) Having been told to read
this post at psychostats.com by Predator (in relation to NewBB) I checked that I had the php_gd2.dll library in my php\extensions folder, which I have. Also, updated this file by downloading the full windows binary from php.net because apparently the standard windows installer does not include it.
3) Edited my php.ini file as follows :
a) Checked the extension_dir path did equaled c:\php\extensions. It did.
b) Removed the ; prior to extension=php_gd2.dll
and re-started the web publishing service again.
No joy. In fact, my Intranet site was then innaccessible and users just got 'Page Cannot Be Displayed' errors after a long wait. Every attempted access resulted in an error message being displayed on the server saying 'Unable to load extension php_gd2.dll' or something similar.
So I turned the php.ini file back to how it was and re-started the web publishing service again. Now I can access the site again (thank the lord) but my orginal problem still persists - MyAlbum still cannot receive new graphics, ImageMagick is not detected by either MyAlbum or NewBB2 (although this may be because I don't know what path to specify in the setup for a windows server).
My questions then are these :
1) Could it be an IIS issue?
2) Do I need to tell IIS to use the library as well as php?
3) If so, how?
4) If it isn't an IIS issue, what else could it be?
5) What path do I specify in the preferences of MyAlbum to get it to use ImageMagick (loads of entries about Apache and Linux paths but none for windows)
Is there anything else that may be causing the problem?
Thanks
Ted