MooHo wrote:
I got a problem when installing either on the local server or the webserver.
Saving: backends/phpfreechat/themes/phoenity/smileys/exclam.gif
Fatal error: Maximum execution time of 60 seconds exceeded in J:\xampp\htdocs\Sabai\AlienTrade
\install_aatrade_package.php on line 444
Running with Opera
Running the script with K-Meleon it looks a little different.
Saving: backends/phpfreechat/themes/phoenity/smileys/exclam.gif
Fatal error: Maximum execution time of 60 seconds exceeded in J:\xampp\htdocs\Sabai\AlienTrade\install_aatrade_package.php on line 497
I was wondering the script had been running quite a time more than one minute.
The next problem I faced was when I had been trying to upload the package to the webspace (maybe something was wrong with my Apache installation). But the hoster permits only uploads not exceeding 8000kB per file.
The installer isn't bugged but it sure sounds like the machine your host has put you on is severely overloaded or a Windows server.
On a 2.1 ghz Linux server it takes less than 10 seconds for the install_aatrade_package.php to run. It's not a dedicated server but has two other AATrade games running on it along with about 4 other web sites.
Now the reason I included a Windows server is because the file system Windows servers uses is monstrously SLOW compared to the file system used on most Linux servers. I wouldn't recommend running ANYTHING on a Windows server because of the massive overhead from the operating system and slow file system.
MooHo wrote:
Then I renamed the package file to a tar-file and extracted all files and directories manually, and got an error message that there was a mistake in the file when coming to the file ....\templates\pfcclient-custo.js.tpl.ph
I downloaded the eintire package from several mirrors, the result is always the same. Therefore I assume there is something damaged in the zip file.
Nevertheless being curious I ran the extracted script to see what will happen, the installations hangs at the item: Scanning game files.
Some file systems, especially Windows, limit you to a fixed number of bytes for the PATH and the FILENAME. If you exceed that limit you will receive a file error. Some hosting companies will bury web sites in ridiculously LONG paths (IE: /webshost/home/http/website/a_to_c/b/brian/www/ ). Then when you try to install a software package that has some decent directory paths you find out the install fails horribly because of the stupidity of the hosting company. There is nothing we can do about any of the problems listed above.
I have tested the installer on a 3.2 ghz Windows server and it takes about 45 seconds for the installer to finish compared to a 2.1 ghz Linux server. So avoid using the installer on most Windows servers.
Just un-tar the aatrade_package file and upload each file individually or rename it to aatrade_package.tar and upload the file to the server and un-tar it there.
There is absolutely nothing we can do about the PATH/FILENAME length problem. That is something the hosting company should take care of and never have allowed to happen.