TYPO3 On An ISPConfig Server Within 10 Easy Steps - Possible Permissions Issue?

Discussion in 'HOWTO-Related Questions' started by ego, Mar 2, 2007.

  1. ego

    ego New Member

    Hello,

    I am attempting to install Typo3 using Hans how-to. My server is running CentOS 4.4 with ISPConfig.

    When I get to step Step7 creating the sym link, I get the following:
    Code:
    [root@server1 web]# ln -s /var/www/typo3_src-4.0.4 /var/www/web2/web/typo3_src
    ln: `/var/www/web2/web/typo3_src': File exists
    
    When I try to do STEP 8 – Modifiy the typo3/install/index.php file, I get the following:
    Code:
    [root@server1 web]# cd /typo3/install
    bash: cd: /typo3/install: No such file or directory
    
    doing vi /typo3/install/index.php just creates a new file.

    By looking at the below, I am thinking my file permissions are not correct for some reason. I am not understanding why as I am following the how-to exactly. (I am also replacing the web1 in the how-to with the correct directory of web2 on my server)

    Code:
    [root@server1 web]# ls -l
    total 68
    -rw-r--r--  1 root        root     46 Dec 20 06:38 clear.gif
    drwxrwxr-x  2 web2_user web2   4096 Feb 19 15:06 error
    drwxrwx---  4 root        apache 4096 Dec 20 06:38 fileadmin
    -rw-r--r--  1 root        root   5025 Dec 20 06:38 _.htaccess
    drwxr-xr-x  2 web2_user web2   4096 Feb 19 16:59 images
    -rw-r--r--  1 root        root    633 Mar  1 17:16 index.bak
    lrwxrwxrwx  1 root        root     19 Mar  1 17:17 index.php -> typo3_src/index.php
    -rw-r--r--  1 root        root   7088 Dec 20 06:38 INSTALL.txt
    drwxr-xr-x  9        1000   1000 4096 Nov  8 08:27 phpip
    -rw-r--r--  1 root        root   7749 Dec 20 06:38 README.txt
    -rw-r--r--  1 root        root   3412 Dec 20 06:38 RELEASE_NOTES.txt
    drwxr-xr-x  2 web2_user web2   4096 Feb 20 04:00 stats
    lrwxrwxrwx  1 root        root     15 Mar  1 17:17 t3lib -> typo3_src/t3lib
    lrwxrwxrwx  1 root        root     15 Mar  1 17:17 typo3 -> typo3_src/typo3
    drwxrwx---  4 root        apache 4096 Dec 20 06:38 typo3conf
    lrwxrwxrwx  1 root        root     18 Mar  1 17:17 typo3_src -> ../typo3_src-4.0.4
    drwxrwx---  2 root        apache 4096 Dec 20 06:38 typo3temp
    drwxrwx---  5 root        apache 4096 Dec 20 06:38 uploads
    
    If this is a permissions issue, I am not sure what to change the typo3 files/directories to what user.

    Does anyone have any ideas?
     
    Last edited: Mar 2, 2007
  2. Hans

    Hans Moderator Moderator

    About: /var/www/web2/web/typo3_src': File exists
    First remove the default "typo3_src"file within your /var/www/web2/web/typo3_src.
    After that create the symlink.

    vi /typo3/install/index.php is NOT correct, because you have to remove the first /.
    You've to perform the command: vi typo3/install/index.php within your /var/www/web2/web/ folder.
     
  3. ego

    ego New Member

    Will try this today Hans, thank you for clearing up my mistakes.
     
  4. Hans

    Hans Moderator Moderator

    TYPO3 howto updated

    I've updated the TYPO3 howto today.
    Also an important note has been added, in case suPHP is used on the server.
     

Share This Page