schultz-it-solutions
Chevereto Member
Hey all,
i am pretty sure this is a configuration issue on my side, but I seem to be unable to find the nessessary hints in the forums or documentation. So I hope somebody can point me to the correct solution...
Setting:
I have a chevereto4 test installation and am trying to get it to work, before I can migrate my actual instance.
Windows Server, Apache http, PHP 8.0.10, MariaDB 10.6.11
Installation in a subdirectory of the domain.
During install, right after writing the database connection details, I get these errors (see errorlog below):
fwrite(): Write of 1578 bytes failed with errno=9 Bad file descriptor in ... Stream.php:247
thanks for your help
Ruediger Schultz
# PHP Fatal error: Uncaught Chevere\\Throwable\\Exceptions\\ErrorException: fwrite(): Write of 1578 bytes failed with errno=9 Bad file descriptor in [CHEVERETO-ROOT]gallery4\\app\\vendor\\nyholm\\psr7\\src\\Stream.php:247
# Stack trace:
# #0 [internal function]: Chevere\\ThrowableHandler\\errorAsException()
# #1 [CHEVERETO-ROOT]gallery4\\app\\vendor\\nyholm\\psr7\\src\\Stream.php(247): fwrite()
# #2 [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php(42): Nyholm\\Psr7\\Stream->write()
# #3 [CHEVERETO-ROOT]gallery4\\app\\legacy\\load\\register-handlers.php(50): Chevere\\Writer\\StreamWriter->write()
# #4 [internal function]: {closure}()
# #5 {main}
# Next Chevere\\Throwable\\Exceptions\\RuntimeException: Unable to write provided string in [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php:44
# Stack trace:
# #0 [CHEVERETO-ROOT]gallery4\\app\\legacy\\load\\register-handlers.php(50): Chevere\\Writer\\StreamWriter->write()
# #1 [internal function]: {closure}()
# #2 {main}
# thrown in [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php on line 44
# PHP Fatal error: Uncaught Chevere\\Throwable\\Exceptions\\ErrorExc
# eption: fwrite(): Write of 1744 bytes failed with errno=9 Bad file descriptor in [CHEVERETO-ROOT]gallery4\\app\\vendor\\nyholm\\psr7\\src\\Stream.php:247
# Stack trace:
# #0 [internal function]: Chevere\\ThrowableHandler\\errorAsException()
# #1 [CHEVERETO-ROOT]gallery4\\app\\vendor\\nyholm\\psr7\\src\\Stream.php(247): fwrite()
# #2 [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php(42): Nyholm\\Psr7\\Stream->write()
# #3 [CHEVERETO-ROOT]gallery4\\app\\legacy\\load\\register-handlers.php(50): Chevere\\Writer\\StreamWriter->write()
# #4 [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\throwable-handler\\src\\functions.php(149): {closure}()
# #5 [internal function]: Chevere\\ThrowableHandler\\shutdownErrorAsException()
# #6 {main}
# Next Chevere\\Throwable\\Exceptions\\RuntimeException: Unable to write provided string in [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php:44
# Stack trace:
# #0 [CHEVERETO-ROOT]gallery4\\app\\legacy\\load\\register-handlers.php(50): Chevere\\Writer\\StreamWriter->write()
# #1 [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\throwable-handler\\src\\functions.php(149): {closure}()
# #2 [internal function]: Chevere\\ThrowableHandler\\shutdownErrorAsException()
# #3 {main}
# thrown in [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php on line 44
i am pretty sure this is a configuration issue on my side, but I seem to be unable to find the nessessary hints in the forums or documentation. So I hope somebody can point me to the correct solution...
Setting:
I have a chevereto4 test installation and am trying to get it to work, before I can migrate my actual instance.
Windows Server, Apache http, PHP 8.0.10, MariaDB 10.6.11
Installation in a subdirectory of the domain.
During install, right after writing the database connection details, I get these errors (see errorlog below):
fwrite(): Write of 1578 bytes failed with errno=9 Bad file descriptor in ... Stream.php:247
thanks for your help
Ruediger Schultz
# PHP Fatal error: Uncaught Chevere\\Throwable\\Exceptions\\ErrorException: fwrite(): Write of 1578 bytes failed with errno=9 Bad file descriptor in [CHEVERETO-ROOT]gallery4\\app\\vendor\\nyholm\\psr7\\src\\Stream.php:247
# Stack trace:
# #0 [internal function]: Chevere\\ThrowableHandler\\errorAsException()
# #1 [CHEVERETO-ROOT]gallery4\\app\\vendor\\nyholm\\psr7\\src\\Stream.php(247): fwrite()
# #2 [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php(42): Nyholm\\Psr7\\Stream->write()
# #3 [CHEVERETO-ROOT]gallery4\\app\\legacy\\load\\register-handlers.php(50): Chevere\\Writer\\StreamWriter->write()
# #4 [internal function]: {closure}()
# #5 {main}
# Next Chevere\\Throwable\\Exceptions\\RuntimeException: Unable to write provided string in [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php:44
# Stack trace:
# #0 [CHEVERETO-ROOT]gallery4\\app\\legacy\\load\\register-handlers.php(50): Chevere\\Writer\\StreamWriter->write()
# #1 [internal function]: {closure}()
# #2 {main}
# thrown in [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php on line 44
# PHP Fatal error: Uncaught Chevere\\Throwable\\Exceptions\\ErrorExc
# eption: fwrite(): Write of 1744 bytes failed with errno=9 Bad file descriptor in [CHEVERETO-ROOT]gallery4\\app\\vendor\\nyholm\\psr7\\src\\Stream.php:247
# Stack trace:
# #0 [internal function]: Chevere\\ThrowableHandler\\errorAsException()
# #1 [CHEVERETO-ROOT]gallery4\\app\\vendor\\nyholm\\psr7\\src\\Stream.php(247): fwrite()
# #2 [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php(42): Nyholm\\Psr7\\Stream->write()
# #3 [CHEVERETO-ROOT]gallery4\\app\\legacy\\load\\register-handlers.php(50): Chevere\\Writer\\StreamWriter->write()
# #4 [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\throwable-handler\\src\\functions.php(149): {closure}()
# #5 [internal function]: Chevere\\ThrowableHandler\\shutdownErrorAsException()
# #6 {main}
# Next Chevere\\Throwable\\Exceptions\\RuntimeException: Unable to write provided string in [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php:44
# Stack trace:
# #0 [CHEVERETO-ROOT]gallery4\\app\\legacy\\load\\register-handlers.php(50): Chevere\\Writer\\StreamWriter->write()
# #1 [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\throwable-handler\\src\\functions.php(149): {closure}()
# #2 [internal function]: Chevere\\ThrowableHandler\\shutdownErrorAsException()
# #3 {main}
# thrown in [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php on line 44