Performing the Installation

Asked by Sean Baker

Hi, I just tried to install TSEP, I setup a new database and got as far as enteringing the database name/location/user/password, then to the admin username and password-- Its been sitting at:
 Performing the Installation
Please wait while the installation is performed

for about an hour now..

Server is Windows 2008, 64-bit
PHP 5.3.4
Apache 2.2.17
MySQL 5.1.53

there are no Apache, PHP or MySQL errors
any help would be appreciated.
thanks
sean

Question information

Language:
English Edit question
Status:
Answered
For:
The Search Engine Project Edit question
Assignee:
xaav Edit question
Last query:
Last reply:
Revision history for this message
xaav (xaav) said :
#1

Can you post the contents of PATH_TO_TSEP/app/tmp/logs/error.log?

Revision history for this message
xaav (xaav) said :
#2

By the way, that step should only take about <5 seconds.

Revision history for this message
Sean Baker (sbaker2) said :
#3

Hmm... stupid windows... thanks for pointing me to the error log... File permissions of course. I've tried everything and anything to change the folder permissions -- I even setup and FTP server to transfer the files too, change to 7777 and download again and nothing... the windows folder attributes stay "read-only" (Yes, I am the admin on the server, ect...) I tried in the server windows 2008, windows 7, XP..etc.. I dont have a Linux machine avalible at work.. yet.

2011-04-01 13:33:11 Warning: Warning (512): C:\wamp\www\tsep\app\tmp\cache\ is not writable in [C:\wamp\www\tsep\cake\libs\cache\file.php, line 267]
2011-04-01 13:33:11 Warning: Warning (512): \persistent\ is not writable in [C:\wamp\www\tsep\cake\libs\cache\file.php, line 267]
2011-04-01 13:33:11 Warning: Warning (512): \models\ is not writable in [C:\wamp\www\tsep\cake\libs\cache\file.php, line 267]
2011-04-01 13:33:11 Warning: Warning (512): C:\wamp\www\tsep\app\tmp\cache\ is not writable in [C:\wamp\www\tsep\cake\libs\cache\file.php, line 267]
2011-04-01 13:33:11 Warning: Warning (512): \persistent\ is not writable in [C:\wamp\www\tsep\cake\libs\cache\file.php, line 267]
2011-04-01 13:33:11 Warning: Warning (512): \models\ is not writable in [C:\wamp\www\tsep\cake\libs\cache\file.php, line 267]
2011-04-01 13:33:12 Warning: Warning (512): C:\wamp\www\tsep\app\tmp\cache\ is not writable in [C:\wamp\www\tsep\cake\libs\cache\file.php, line 267]
2011-04-01 13:33:12 Warning: Warning (512): \persistent\ is not writable in [C:\wamp\www\tsep\cake\libs\cache\file.php, line 267]
2011-04-01 13:33:12 Warning: Warning (512): \models\ is not writable in [C:\wamp\www\tsep\cake\libs\cache\file.php, line 267]

Revision history for this message
xaav (xaav) said :
#4

Hmm.... I looked in the code of the release, and it was correct. PHP should be able to create and/or delete files in the tmp directory. I also tested the release on windows vista x86 and CentOS.

Can you try deleting all the files, downloading install.php, and then unchecking the read-only box? It's mysterious why PHP would be able to write to the error log, but not be able to write to the cache dir.

Also, are you using the latest version, 1.0?

Sorry for any inconvenience this has caused.

Revision history for this message
Sean Baker (sbaker2) said :
#5

I tried that - still no luck. Seems its just windows not allowing the files to be written to -- although I'm not having the problem with any other PHP programs that write to directories .. yes, latest verion.. just downloaded it.

Revision history for this message
xaav (xaav) said :
#6

What should happen is the following directory structure is created under tmp:

tmp/ [chmod to 777]
   logs/ [chmod to 777]
   cache/ [chmod to 777]
       models/ [chmod to 777]
       persistent/ [chmod to 777]

Each one of those directories is checked by the is_writable() function of PHP. If the function returns false, and an attempt to create those directories fails, then this type of error is thrown. If you can create those directories, and make sure each one of them is_writable(), then you should be able to fix this error.

Revision history for this message
Sean Baker (sbaker2) said :
#7

Further information - When I downloaded the installer script, it downloaded the files and give a message that the setup directory can not be found. I have tried downloading and installing the tsep0.0943_R2 - it installs without any problems.

Revision history for this message
xaav (xaav) said :
#8

This is really a CakePHP problem. I don't know what else to tell you. It works fine for me; I can't duplicate this.

If tsep0.0943_R2 works fine for you, then maybe you could use that.

As for the setup directory could not be found, this is usually related to mod_rewrite not being enabled.

Can you help with this problem?

Provide an answer of your own, or ask Sean Baker for more information if necessary.

To post a message you must log in.