Index > Contao core > TYPOlight system check tool
Hi guys,
today I have released a system check tool that allows you to find out wheter your server is ready for TYPOlight or whether your TYPOlight installation is missing any files. It also checks file permissions and file owners, so you know whether you need to enable the Safe Mode Hack.
http://www.typolight.org/archive/items/t…ht-system-check.html
If you are having troubles installing TYPOlight or if you are not sure whether your installation is complete after a (live) update, please download the tool, move it into your TYPOlight root directory and run it. If you still feel like you have to create a new post in the forum, please include a link to the tool.
Regards
Leo
today I have released a system check tool that allows you to find out wheter your server is ready for TYPOlight or whether your TYPOlight installation is missing any files. It also checks file permissions and file owners, so you know whether you need to enable the Safe Mode Hack.
http://www.typolight.org/archive/items/t…ht-system-check.html
If you are having troubles installing TYPOlight or if you are not sure whether your installation is complete after a (live) update, please download the tool, move it into your TYPOlight root directory and run it. If you still feel like you have to create a new post in the forum, please include a link to the tool.
Regards
Leo
2008-03-02 15:24
OK, to discuss the output here?
-> tells me allow_url_fopen should be ON. It's OFF here and personally I would consider this - good. Any reason why you recommand allow_url_fopen ON?
Also tells me, that "._htaccess" is missing. So what? I have a .htaccess of course.
-> tells me allow_url_fopen should be ON. It's OFF here and personally I would consider this - good. Any reason why you recommand allow_url_fopen ON?
Also tells me, that "._htaccess" is missing. So what? I have a .htaccess of course.
2008-03-02 15:53
has allow_url_fopen something todo with fsockopen? liveupdate uses it for the requests
Thanks much for this Leo! Coding something like that was on the top of my todolist
i got an notice in the first line:
and a fatal error
because ive no POSIX-Extension installed (and imho thats good)
so we should find a better way to get the information
And another addition - perhaps you sould provide a login-form (with the install-tool password) for the page, because not everyone should see it.
Thanks much for this Leo! Coding something like that was on the top of my todolist
i got an notice in the first line:
Code:
Notice: Use of undefined constant TL_ROOT - assumed 'TL_ROOT' in typolight-check.php in line 33
and a fatal error
Code:
Fatal error: Call to undefined function posix_getpwuid() in typolight-check.php on line 205
because ive no POSIX-Extension installed (and imho thats good)
so we should find a better way to get the information
And another addition - perhaps you sould provide a login-form (with the install-tool password) for the page, because not everyone should see it.
Last edited by Psi, 2008-03-02 16:38
2008-03-02 16:26
Hi Psi,
I have fixed the issue with the undefined constant.
I am using it to translate the fileowner ID into the username. Do you know any other way to do this?
Regards
Leo
I have fixed the issue with the undefined constant.
Psi:
so we should find a better way to get the information
I am using it to translate the fileowner ID into the username. Do you know any other way to do this?
Regards
Leo
2008-03-02 17:15
Hi Psi,
please open the file and put the following code at the beginning:
Let me know if that workaround works :-)
Regards
Leo
please open the file and put the following code at the beginning:
Code:
/** * Define root directory */ define('TL_ROOT', dirname(__FILE__)); /** * Workaround for missing posix_getpwuid function */ if (!function_exists('posix_getpwuid')) { function posix_getpwuid($int) { return array('name'=>$int); } }
Let me know if that workaround works :-)
Regards
Leo
2008-03-02 17:18
works like a charm thx chief tschegger 
2008-03-02 17:26
Hi igrimpe,
a couple of TYPOlight modules like the live update module, the RSS reader module or the TinyMCE spellchecker are using fsockopen() which does not work with allow_url_fopen Off.
Regards
Leo
igrimpe:
Any reason why you recommand allow_url_fopen ON?
a couple of TYPOlight modules like the live update module, the RSS reader module or the TinyMCE spellchecker are using fsockopen() which does not work with allow_url_fopen Off.
Regards
Leo
2008-03-03 11:27
Hi Leo,
Instead of a seperate file, you should provide this feature in the backend by default....
Regards
Sujith
Instead of a seperate file, you should provide this feature in the backend by default....
Regards
Sujith
2008-03-04 03:00
Hi Sujith,
the tool can also be used to check the server before you actually install TYPOlight. It would not make much sense to put it in the back end, because if there is a problem, you will not be able to get there.
Regards
Leo
the tool can also be used to check the server before you actually install TYPOlight. It would not make much sense to put it in the back end, because if there is a problem, you will not be able to get there.
Regards
Leo
2008-03-04 10:22
Hi guys,
I have just released a new version of the tool that supports IIS servers (thanks to tinoo for the test account) and uses versioning to keep track of the changes to the tool itself.
http://www.typolight.org/download.html (Version 1.0)
Regards
Leo
I have just released a new version of the tool that supports IIS servers (thanks to tinoo for the test account) and uses versioning to keep track of the changes to the tool itself.
http://www.typolight.org/download.html (Version 1.0)
Regards
Leo
2008-03-04 11:22
Hi guys,
I have just released version 1.1 of the tool that marks warnings with a symbol and bold letters in addition to the background-color (accessible for people who are red-green color blind).
http://www.typolight.org/download.html
Regards
Leo
I have just released version 1.1 of the tool that marks warnings with a symbol and bold letters in addition to the background-color (accessible for people who are red-green color blind).
http://www.typolight.org/download.html
Regards
Leo
2008-03-09 20:13
Hi guys,
it turns out that fsockopen() does not depend on allow_url_fopen, so allow_url_fopen is not required to run TYPOlight. I am sorry for this misinformation. Version 1.2 is available here:
http://www.typolight.org/download.html
Regards
Leo
it turns out that fsockopen() does not depend on allow_url_fopen, so allow_url_fopen is not required to run TYPOlight. I am sorry for this misinformation. Version 1.2 is available here:
http://www.typolight.org/download.html
Regards
Leo
2008-03-11 17:29
Hi,
is it possible that TL automatically sets chmod 777 to the tmp folder (I'm using the SafeMode Hack)?
I had this idea because I manually set it to 755 and the System Check Tool tells me after a while that the tmp directory has chmod 777 again.
So I changed it, the System Check tells me everything is right and after a while the tmp folder has chmod 777 again
Greetings Lindworm
is it possible that TL automatically sets chmod 777 to the tmp folder (I'm using the SafeMode Hack)?
I had this idea because I manually set it to 755 and the System Check Tool tells me after a while that the tmp directory has chmod 777 again.
So I changed it, the System Check tells me everything is right and after a while the tmp folder has chmod 777 again
Greetings Lindworm
2008-03-17 14:14
Hi Lindworm,
you are right. The tmp folder has to be CHMOD 777, so TYPOlight changes it if necessary.
Regards
Leo
you are right. The tmp folder has to be CHMOD 777, so TYPOlight changes it if necessary.
Regards
Leo
2008-03-17 14:18
Ah okay fine but then the System Check Tool shouldn't mark this as an Error i think 
Kind Regards
Lindworm
Kind Regards
Lindworm
2008-03-17 14:30
