Hello, I have an error when uploading file. I get a "unable to make thumbnail error", and a debug mode shows the following :
Warning: exec(): Unable to fork [D:\users\samuel\web\netpbm\jpegtopnm D:\users\samuel\web\albums\Test\112_1201.jpg | D:\users\samuel\web\netpbm\pnmscale -xysize 150 150 | D:\users\samuel\web\netpbm\pnmtojpeg --quality=90 > D:\users\samuel\web\albums\Test\112_1201.thumb.jpg] in D:\users\samuel\web\gallery\platform\fs_win32.php on line 173
From what I've read on another post, this is due to some restriction on the server that needs to be changed. As I am hosting my gallery on the server of a university, there isn't a real "customer service", so if I want something to be changed, I must say exactly what needs to be changed. Can someone help me by telling me what exactly I should ask the administrator to do?
Thanks a lot
Samuel
----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: 1.5-RC2
Apache version:
PHP version (don't just say PHP 4, please): 4.3.8
Graphics Toolkit: NetPBM
Operating system: Win
Web browser/version (if applicable):
Posts: 391
Read this:
http://gallery.menalto.com/modules.php?op=modload&name=GalleryDocs&file=index&page=gallery1-install.windows-iis.php
Search for cmd.exe on your system. It should be in the C:\windows\system32 or C:\winnt\system32 folder. Make sure the IUSR_[machinename] account has read and execute permissions to it. Another possible solution may be to copy cmd.exe for your c:\windows\system32\ folder to the same folder php.exe resides in. The problem might not just be permissions, but the ability to run cmd.exe from it's default location via IIS.
Posts: 23
Thanks for the reply. Unfortunately, I don't have access to the web server, so I can't check the rights for cmd.exe. I emailed the administrator but haven't got any reply so far.
So I decided to use another web server I have access to (UNIX this time), but when I try to access the index.php, I get the following error :
Warning: Object gallery not found in /home/you/public_html/gallery/setup/init.php on line 31
Fatal error: Call to unsupported or undefined function ini_get() in /home/you/public_html/gallery/setup/init.php on line 41
I get the same error when I try phpinfo.php, so I can't have access to the information about which PHP version is running. Does anyone know what this error is?
Thanks in advance for the help...
EDIT :
I crated a new file with the phpinfo() function, which can be accessed at :
http://desun.epfl.ch/~srosset/info.php
This allows me to give you the following information :
----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://desun.epfl.ch/~srosset/gallery/
Gallery version: 1.5-RC2
Apache version: 1.3.4
PHP version (don't just say PHP 4, please): 3.0.12
Graphics Toolkit: NetPBM
Operating system: UNIX
Web browser/version (if applicable):
Posts: 23
Ok, I forgot that PHP 4 or above was necessary so this is probably the problem here. Is installing a new PHP version something requireing a lot of work or not? I mean, I would have to ask the administrator to do it, and if it is only for me, he might be reluctant to do it (he probably has more important things to do...)
Posts: 13451
3.0.18 (first one mentioned on php.net) was released 20 Oct 2000. Your host needs to upgrade that badly and it shouldn't really take that much time.