Performing the Installation

309 views
Skip to first unread message

xaav

unread,
Sep 28, 2011, 6:30:58 PM9/28/11
to the-search-e...@googlegroups.com

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

xaav

unread,
Sep 28, 2011, 6:31:08 PM9/28/11
to the-search-e...@googlegroups.com

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

xaav

unread,
Sep 28, 2011, 6:31:15 PM9/28/11
to the-search-e...@googlegroups.com

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

xaav

unread,
Sep 28, 2011, 6:31:25 PM9/28/11
to the-search-e...@googlegroups.com

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]

xaav

unread,
Sep 28, 2011, 6:31:34 PM9/28/11
to the-search-e...@googlegroups.com

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.

xaav

unread,
Sep 28, 2011, 6:31:45 PM9/28/11
to the-search-e...@googlegroups.com
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.

xaav

unread,
Sep 28, 2011, 6:31:56 PM9/28/11
to the-search-e...@googlegroups.com

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.

Reply all
Reply to author
Forward
0 new messages