"Unable to fork" errors on Windows 2003 and Plesk ... NEED HELP!

jrossh21

Joined: 2007-05-30
Posts: 21
Posted: Wed, 2007-05-30 01:02

I copied the preinstall.php file to my webserver and once I navigated to it and typed in my password and clicked "verify me", I get the below page:
[img]http://www.geocities.com/jrossh21@sbcglobal.net/images/error.jpg[/img]

If anybody has any suggestions, please help me out. Thanks!

If you need anymore info, let me know what you need.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-05-30 01:16

you're on windows hosting.

see:
FAQ: I get lots of "Warning: exec(): Unable to fork [cmd /c ...]" at the module's step in the installer for G2 (on the ImageMagick module) under Windows/IIS. Now what?

if preinstall.php doesn't work for you, i suggest you upload gallery2 the traditional way with your ftp program.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
jrossh21

Joined: 2007-05-30
Posts: 21
Posted: Wed, 2007-05-30 15:48

I uploaded gallery2.zip to my root httpdocs folder. I have plesk control panel access. I uploaded a php script to the root folder (unzip.php) that will unzip the archive for me. As soon as I navigate to it, it gives me another "Unable to fork" error. I went to that link you gave me, but I obviously can't click on start -> run to give access to cmd.exe because all I have is a control panel access. Does anybody have any suggestions as to what I can do to get this installed?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-05-30 16:26

- do you have a gallery2/ folder on your server now with all the subfolders / files?
- on what exact page (URL) do you get the unable to fork error?
- can't you access the installer at gallery2/install/index.php?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
jrossh21

Joined: 2007-05-30
Posts: 21
Posted: Wed, 2007-05-30 18:34

I don't think you read my post right.

All I have in my root web folder is "gallery2.zip" and "unzip.php". The unzip.php is a script to unzip the gallery2.zip file which will create a "gallery2" folder and all it's subfolders and files. As soon as I navigate to the page, "unzip.php", it gives me the "Unable to fork" error instead of unzipping it. I was wanting to see if there is a way to unzip the gallery2.zip file on the server using Plesk 8.1.1. It might be that the only way to be able to install gallery2 with Plesk is to FTP the unzipped files from my local machine to the folder structure on the server. Like the documentation says, it'll take a while and is error-prone, so I'd rather not do it that way. So if anyone out there has had success installing gallery2 to a webhost using windows 2003 and plesk, please give me your advice!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-05-30 22:16

I don't know your unzip script, but it's probably using exec() which leads to the same "can't fork" error. that sure makes sense.

solution:
don't use that unzip script. extract gallery2.zip on your desktop and upload the gallery2/ folder to your server via FTP.

yes, it takes a while but it seems that you don't have any other option. and thousands of users have done it that way before as well.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
jrossh21

Joined: 2007-05-30
Posts: 21
Posted: Thu, 2007-05-31 03:34

That is what I have ended up doing. It's late and it just got done transferring all the files over. Tomorrow I'll mess with it and probably run into other errors. Thanks for your help!