[FLOW3-general] Help: Just a blank page and nothing else...

Nicolas Forgerit nicolas.forgerit at gmail.com
Tue Apr 26 21:53:15 CEST 2011


Yeah, the set-permissions script should help unless we feed it with
wrong params. Additionally, it is not beefed up to catch every single
case of misconfiguration and may still have bugs. (hey, though its
developers are quite good, it's still an alpha version :)

So, look up the file permissions of, let's say, [1] (see below for the
mentioned filepath). Give us the string, the prompt gives you and
maybe we can detect what's wrong with it.

Generally, all the F3 (sub-)folders need to be readable, writable and
executable by your webserver program (assuming apache httpd). You
could easily fix that with a command like [2] though this is a clear
command smell [3] and people tend to forget to change that settings
when they change hastily to production context.

Hope that helps a bit.
Ciao
  Nico

[1] /var/www/F3/Configuration/PackageStates.php
[2] chmod -R 777 /var/www/F3
[3] As in code smells.



On Tue, Apr 26, 2011 at 8:34 PM, Jan Greth <jafix at laufende2meter.de> wrote:
> Hi Thomas & Nico,
>
> I thought I have had run it.
> I ran it again now and it ran without a failure.
>
> Now the browseroutput changed to
> ######################################################################
> 500 Internal Server Error
> FLOW3 experienced an internal error (uncaught exception):
> F3\FLOW3\MVC\Web\Routing\Exception\InvalidControllerException
> [link to http://typo3.org/go/exception/1301650951]
> More information
> [/link]
> ######################################################################
>
> and the according Logfileoutput:
> ######################################################################
> [Tue Apr 26 19:28:27 2011] [error] [client 192.168.182.1] PHP Warning:
> mkdir(): Permission denied in
> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php on line 812
> [Tue Apr 26 19:28:27 2011] [error] [client 192.168.182.1] PHP Warning:
> mkdir(): No such file or directory in
> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php on line 815
> [Tue Apr 26 19:28:27 2011] [error] [client 192.168.182.1] PHP Warning:
> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
> open stream: Permission denied in
> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php on
> line 267
> [Tue Apr 26 19:28:27 2011] [error] [client 192.168.182.1] PHP Warning:
> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
> open stream: Permission denied in
> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php on
> line 267
> [Tue Apr 26 19:28:27 2011] [error] [client 192.168.182.1] PHP Warning:
> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
> open stream: Permission denied in
> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php on
> line 267
> [Tue Apr 26 19:28:27 2011] [error] [client 192.168.182.1] PHP Warning:
> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
> open stream: Permission denied in
> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php on
> line 267
> [Tue Apr 26 19:28:27 2011] [error] [client 192.168.182.1] PHP Warning:
> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
> open stream: Permission denied in
> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php on
> line 267
> [Tue Apr 26 19:28:27 2011] [error] [client 192.168.182.1] PHP Warning:
> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
> open stream: Permission denied in
> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php on
> line 267
> [Tue Apr 26 19:28:27 2011] [error] [client 192.168.182.1] PHP Warning:
> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
> open stream: Permission denied in
> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php on
> line 267
> [Tue Apr 26 19:28:27 2011] [error] [client 192.168.182.1] PHP Warning:
> mkdir(): Permission denied in
> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php on line 164
> [Tue Apr 26 19:28:27 2011] [error] [client 192.168.182.1] PHP Fatal error:
>  Uncaught exception 'F3\\FLOW3\\Utility\\Exception' with message 'Could not
> create directory "/var/www/F3/Configuration/Production"!' in
> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php:166\nStack
> trace:\n#0
> /var/www/F3/Packages/Framework/FLOW3/Classes/Configuration/ConfigurationManager.php(92):
> F3\\FLOW3\\Utility\\Files::createDirectoryRecursively('/var/www/F3/Con...')\n#1
> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php(457):
> F3\\FLOW3\\Configuration\\ConfigurationManager->__construct('Production')\n#2
> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php(167):
> F3\\FLOW3\\Core\\Bootstrap->initializeConfiguration()\n#3
> /var/www/F3/Web/index.php(38): F3\\FLOW3\\Core\\Bootstrap->run()\n#4
> {main}\n  thrown in
> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php on line 166
> ######################################################################
>
> I think this is a permission problem again... but shouldn't this be fixed
> with the setfilepermissions.sh???
>
> Greetings,
> Jan
>
>
> Am 26.04.2011 19:44, schrieb Nicolas Forgerit:
>>
>> Hey Jan!
>>
>> Did you run
>> <FLOW3-Basedir>/Packages/Framework/FLOW3/Scripts/setfilepermissions.sh
>> <cmduser>  <webuser>  <webgroup>  ?
>>
>> Of<webuser>  and<webgroup>  are usually 'www-data' at Ubuntu and
>> <cmduser>  is your Ubuntu login. Your logs are saying that your
>> webserver doesn't have the permissions to read the files. Fix that
>> with the command above.
>>
>> Hope, that helps.
>>
>> Ciao
>>   Nico
>>
>>
>> On Tue, Apr 26, 2011 at 7:05 PM, Jan Greth<jafix at laufende2meter.de>
>>  wrote:
>>>
>>> Hi Thomas,
>>>
>>> OK, here we have the newest part of the log files...
>>>
>>> ####################################################################
>>> [Tue Apr 26 17:22:39 2011] [notice] SIGHUP received.  Attempting to
>>> restart
>>> [Tue Apr 26 17:22:39 2011] [notice] Apache/2.2.16 (Ubuntu)
>>> PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal
>>> operations
>>> [Tue Apr 26 17:23:04 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php on line
>>> 812,
>>> referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 17:23:04 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): No such file or directory in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php on line
>>> 815,
>>> referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 17:23:04 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 17:23:04 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 17:23:04 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 17:23:04 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 17:23:04 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 17:23:04 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 17:23:04 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 17:23:04 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php on line
>>> 164,
>>> referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 17:23:04 2011] [error] [client 192.168.182.1] PHP Fatal
>>> error:
>>>  Uncaught exception 'F3\\FLOW3\\Utility\\Exception' with message 'Could
>>> not
>>> create directory "/var/www/F3/Configuration/Production"!' in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php:166\nStack
>>> trace:\n#0
>>>
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Configuration/ConfigurationManager.php(92):
>>>
>>> F3\\FLOW3\\Utility\\Files::createDirectoryRecursively('/var/www/F3/Con...')\n#1
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php(457):
>>>
>>> F3\\FLOW3\\Configuration\\ConfigurationManager->__construct('Production')\n#2
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php(167):
>>> F3\\FLOW3\\Core\\Bootstrap->initializeConfiguration()\n#3
>>> /var/www/F3/Web/index.php(38): F3\\FLOW3\\Core\\Bootstrap->run()\n#4
>>> {main}\n  thrown in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php on line
>>> 166,
>>> referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 18:51:57 2011] [notice] Apache/2.2.16 (Ubuntu)
>>> PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal
>>> operations
>>> [Tue Apr 26 18:56:45 2011] [error] [client 192.168.182.1] File does not
>>> exist: /var/www/favicon.ico
>>> [Tue Apr 26 18:56:45 2011] [error] [client 192.168.182.1] File does not
>>> exist: /var/www/favicon.ico
>>> [Tue Apr 26 18:56:50 2011] [error] [client 192.168.182.1] File does not
>>> exist: /var/www/Web
>>> [Tue Apr 26 18:57:02 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php on line
>>> 812
>>> [Tue Apr 26 18:57:02 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): No such file or directory in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php on line
>>> 815
>>> [Tue Apr 26 18:57:02 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:02 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:02 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:02 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:02 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:02 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:02 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:03 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php on line
>>> 164
>>> [Tue Apr 26 18:57:03 2011] [error] [client 192.168.182.1] PHP Fatal
>>> error:
>>>  Uncaught exception 'F3\\FLOW3\\Utility\\Exception' with message 'Could
>>> not
>>> create directory "/var/www/F3/Configuration/Production"!' in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php:166\nStack
>>> trace:\n#0
>>>
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Configuration/ConfigurationManager.php(92):
>>>
>>> F3\\FLOW3\\Utility\\Files::createDirectoryRecursively('/var/www/F3/Con...')\n#1
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php(457):
>>>
>>> F3\\FLOW3\\Configuration\\ConfigurationManager->__construct('Production')\n#2
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php(167):
>>> F3\\FLOW3\\Core\\Bootstrap->initializeConfiguration()\n#3
>>> /var/www/F3/Web/index.php(38): F3\\FLOW3\\Core\\Bootstrap->run()\n#4
>>> {main}\n  thrown in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php on line
>>> 166
>>> [Tue Apr 26 18:57:46 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php on line
>>> 812
>>> [Tue Apr 26 18:57:46 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): No such file or directory in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php on line
>>> 815
>>> [Tue Apr 26 18:57:46 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:46 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:46 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:46 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:46 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:46 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:46 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:46 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php on line
>>> 164
>>> [Tue Apr 26 18:57:46 2011] [error] [client 192.168.182.1] PHP Fatal
>>> error:
>>>  Uncaught exception 'F3\\FLOW3\\Utility\\Exception' with message 'Could
>>> not
>>> create directory "/var/www/F3/Configuration/Production"!' in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php:166\nStack
>>> trace:\n#0
>>>
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Configuration/ConfigurationManager.php(92):
>>>
>>> F3\\FLOW3\\Utility\\Files::createDirectoryRecursively('/var/www/F3/Con...')\n#1
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php(457):
>>>
>>> F3\\FLOW3\\Configuration\\ConfigurationManager->__construct('Production')\n#2
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php(167):
>>> F3\\FLOW3\\Core\\Bootstrap->initializeConfiguration()\n#3
>>> /var/www/F3/Web/index.php(38): F3\\FLOW3\\Core\\Bootstrap->run()\n#4
>>> {main}\n  thrown in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php on line
>>> 166
>>> [Tue Apr 26 18:57:49 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php on line
>>> 812
>>> [Tue Apr 26 18:57:49 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): No such file or directory in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php on line
>>> 815
>>> [Tue Apr 26 18:57:49 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:49 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:49 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:49 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:49 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:49 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:49 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267
>>> [Tue Apr 26 18:57:49 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php on line
>>> 164
>>> [Tue Apr 26 18:57:49 2011] [error] [client 192.168.182.1] PHP Fatal
>>> error:
>>>  Uncaught exception 'F3\\FLOW3\\Utility\\Exception' with message 'Could
>>> not
>>> create directory "/var/www/F3/Configuration/Production"!' in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php:166\nStack
>>> trace:\n#0
>>>
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Configuration/ConfigurationManager.php(92):
>>>
>>> F3\\FLOW3\\Utility\\Files::createDirectoryRecursively('/var/www/F3/Con...')\n#1
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php(457):
>>>
>>> F3\\FLOW3\\Configuration\\ConfigurationManager->__construct('Production')\n#2
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php(167):
>>> F3\\FLOW3\\Core\\Bootstrap->initializeConfiguration()\n#3
>>> /var/www/F3/Web/index.php(38): F3\\FLOW3\\Core\\Bootstrap->run()\n#4
>>> {main}\n  thrown in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php on line
>>> 166
>>> [Tue Apr 26 18:58:28 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php on line
>>> 812,
>>> referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 18:58:28 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): No such file or directory in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php on line
>>> 815,
>>> referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 18:58:28 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 18:58:28 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 18:58:28 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 18:58:28 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 18:58:28 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 18:58:28 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 18:58:28 2011] [error] [client 192.168.182.1] PHP Warning:
>>> file_put_contents(/var/www/F3/Configuration/PackageStates.php): failed to
>>> open stream: Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Package/PackageManager.php
>>> on
>>> line 267, referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 18:58:28 2011] [error] [client 192.168.182.1] PHP Warning:
>>> mkdir(): Permission denied in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php on line
>>> 164,
>>> referer: http://192.168.182.129/F3/
>>> [Tue Apr 26 18:58:28 2011] [error] [client 192.168.182.1] PHP Fatal
>>> error:
>>>  Uncaught exception 'F3\\FLOW3\\Utility\\Exception' with message 'Could
>>> not
>>> create directory "/var/www/F3/Configuration/Production"!' in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php:166\nStack
>>> trace:\n#0
>>>
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Configuration/ConfigurationManager.php(92):
>>>
>>> F3\\FLOW3\\Utility\\Files::createDirectoryRecursively('/var/www/F3/Con...')\n#1
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php(457):
>>>
>>> F3\\FLOW3\\Configuration\\ConfigurationManager->__construct('Production')\n#2
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Core/Bootstrap.php(167):
>>> F3\\FLOW3\\Core\\Bootstrap->initializeConfiguration()\n#3
>>> /var/www/F3/Web/index.php(38): F3\\FLOW3\\Core\\Bootstrap->run()\n#4
>>> {main}\n  thrown in
>>> /var/www/F3/Packages/Framework/FLOW3/Classes/Utility/Files.php on line
>>> 166,
>>> referer: http://192.168.182.129/F3/
>>> ####################################################################
>>>
>>>
>>> I got my working version with the instructions from:
>>>
>>> http://forge.typo3.org/projects/team-forge/wiki/Cloning_the_FLOW3_Base_Distribution
>>>
>>> So I made a shellscript with:
>>>
>>> ####################################################################
>>> git clone --recursive git://git.typo3.org/FLOW3/Distributions/Base.git F3
>>> cd F3
>>> scp -p -P 29418 USERNAME at review.typo3.org:hooks/commit-msg .git/hooks/
>>> git config remote.origin.pushurl
>>> ssh://review.typo3.org:29418/FLOW3/Distributions/Base.git
>>> git config remote.origin.push HEAD:refs/for/master
>>> git submodule foreach 'scp -p -P 29418
>>> USERNAME at review.typo3.org:hooks/commit-msg .git/hooks/'
>>> git submodule foreach 'git config remote.origin.pushurl
>>> ssh://review.typo3.org:29418/FLOW3/Packages/`basename $path`.git'
>>> git submodule foreach 'git config remote.origin.push
>>> HEAD:refs/for/master'
>>> git submodule foreach 'git checkout master; git pull'
>>> ####################################################################
>>>
>>> (For USERNAME I used my Account login name.)
>>>
>>> thank you for your fast response,
>>> Greetings,
>>>
>>> Jan
>>>
>
> _______________________________________________
> 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