[FLOW3-general] Symlinks trouble

Thomas Plessis t.plessis at totemnumerique.com
Wed Aug 29 12:00:41 CEST 2012


Ok, i've tried to replace every "symlink($sourcePath, $targetPath);" by "exec('ln -s '.$sourcePath.' '.$targetPath);" in FileSystemPublishingTarget class and it works.

So the trouble comes form the symlink function of PHP. Do you have any ideas of why it does not works?

regards,

Thomas Plessis
Développeur multimédia
--
9, Place St Étienne
31000 Toulouse
T. 05 61 14 64 54
F. 05 61 14 64 55

Le 29 août 2012 à 11:41, Thomas Plessis a écrit :

> Hi guys,
> 
> I've configured my FLOW3 app to us symlink for static and persistent resources. My Settings.yaml looks like this :
> 
> TYPO3:
>  FLOW3:
>    persistence:
>     backendOptions:
>      driver: 'pdo_mysql'
>      dbname: 'xxxxx' # adjust to your database name
>      user: 'xxxxx'         # adjust to your database user
>      password: 'xxxxxx' # adjust to your database password
>      host: '127.0.0.1'    # adjust to your database host
>    resource:
>     publishing:
>       fileSystem:
>         mirrorMode: 'link'
> 
> But both of them are not published. "_Web/Resources" folder is empty, no symlinks were created and i've the following error when i try to publish persistent resources : 
> 
> #1207255453: The resource "/var/www/clients/client18/web71/web/Data/Persistent/Resources/ac96331f24eb59ad13779052eda79e082c4fdea4" could not be mirrored.
> 
> I run FLOW3 on a unix server with already use symlink.
> 
> Note: It was working with copy mode and sources files really exists.
> 
> regards,
> 
> Thomas Plessis
> Développeur multimédia
> --
> TOTEMnumerique
> 9, Place St Étienne
> 31000 Toulouse
> T. 05 61 14 64 54
> F. 05 61 14 64 55
> 
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general



More information about the FLOW3-general mailing list