You are not logged in.
I have a problem with my typo3 test-installation. Whenever I try to open a page on localhost I just see a blank page. However, other CMS, such as http://localhost/fengoffice/... work just fine.
The /var/log/http/error.log displays this errormsg for every time I try to access localhost or localhost/typo3:
[Tue Apr 06 12:21:12 2010] [error] [client 127.0.0.1] PHP Fatal error: Unknown: Failed opening required '/srv/http/typo3/index.php' (include_path='.:/usr/share/pear') in Unknown on line 0
So I searched an the results indicate this is a permission problem. But, I think permissions are set up correctly..
[jens@localhost srv]$ ls -l /srv/http/
insgesamt 56
-rwxr-xr-x 1 http http 46 23. Feb 11:59 clear.gif
drwxr-xr-x 11 http http 4096 22. Jan 22:41 fengoffice
drwxrwxr-x 8 http http 4096 17. Mär 10:49 fileadmin
-rwxr-xr-x 1 http http 5063 23. Feb 11:59 _.htaccess
lrwxrwxrwx 1 http http 19 9. Mär 10:45 index.php -> typo3_src/index.php
-rwxr-xr-x 1 http http 20 10. Mär 18:20 info.php
-rwxr-xr-x 1 http http 8155 23. Feb 12:00 INSTALL.txt
-rwxr-xr-x 1 http http 7695 23. Feb 12:00 README.txt
-rwxr-xr-x 1 http http 241 23. Feb 12:00 RELEASE_NOTES.txt
lrwxrwxrwx 1 http http 15 9. Mär 10:45 t3lib -> typo3_src/t3lib
lrwxrwxrwx 1 http http 15 10. Mär 16:59 typo3 -> typo3_src/typo3
drwxrwxr-x 4 http http 4096 30. Mär 14:24 typo3conf
lrwxrwxrwx 1 http http 19 10. Mär 16:53 typo3_src -> ../typo3_src-4.3.2/
drwxrwxr-x 15 http http 4096 30. Mär 14:24 typo3temp
drwxrwxr-x 9 http http 4096 15. Mär 17:25 uploads
[jens@localhost srv]$
And
[jens@localhost srv]$ ls
ftp http typo3_src-4.3.2
[jens@localhost srv]$ ls -l /srv/typo3_src-4.3.2/
insgesamt 604
-rwxr-xr-x 1 http http 535449 23. Feb 11:59 ChangeLog
-rwxr-xr-x 1 http http 18007 23. Feb 12:00 GPL.txt
-rwxr-xr-x 1 http http 2919 23. Feb 12:00 index.php
-rwxr-xr-x 1 http http 8155 23. Feb 12:00 INSTALL.txt
-rwxr-xr-x 1 http http 843 23. Feb 12:00 LICENSE.txt
drwxr-xr-x 3 http http 4096 23. Feb 12:00 misc
-rwxr-xr-x 1 http http 19340 23. Feb 12:00 NEWS.txt
-rwxr-xr-x 1 http http 7695 23. Feb 12:00 README.txt
-rwxr-xr-x 1 http http 241 23. Feb 12:00 RELEASE_NOTES.txt
drwxr-xr-x 13 http http 4096 23. Feb 12:00 t3lib
drwxr-xr-x 13 http http 4096 23. Feb 12:00 typo3
[jens@localhost srv]$
The php error log is empty and the http error log does not display any other errors. So I am really out of ideas here... If you have any ideas...
Thx
Last edited by daJense (2010-04-06 15:11:15)
Offline
Ok, I kind of figured it out... It seems there is a bug in php 5.3 (http://bugs.php.net/bug.php?id=48880)
So what I did is comment this line in /etc/php/php.ini
;open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/bin/
)
And now I actually see things. Of course this is not really a satisfactory workaround, but for my testing environment it works.
I just wanna scream right now
Offline