coppermine-gallery.com/forum

Support => cpg1.6.x Support => cpg1.6 miscellaneous => Topic started by: Dancefloor on July 19, 2022, 02:09:06 PM

Title: Could not enter a new Admin User , Error
Post by: Dancefloor on July 19, 2022, 02:09:06 PM
I made a fresh install of the newest Coppermine.
Everythings during install went fine.
The i logged in and want to create a new Admin User
I filled out the Name, Password, set as Administrator in the drop down window
Klicked Administrator and Registered with X
Filled out the Emailaddress and klicked OK
Then directly this Error comes :

Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /home/docjack/public_html/copper/include/logger.inc.php:59 Stack trace: #0 /home/docjack/public_html/copper/include/logger.inc.php(59): fwrite() #1 /home/docjack/public_html/copper/usermgr.php(1005): log_write() #2 /home/docjack/public_html/copper/usermgr.php(1112): update_user() #3 {main} thrown in /home/docjack/public_html/copper/include/logger.inc.php on line 59

Debian 10
PHP 8.0.20
Apache 2.0

I tried both : mysqli and mysqld at installation..
Same Error ith new user

What can i do
Title: Re: Could not enter a new Admin User , Error
Post by: ron4mac on July 19, 2022, 04:22:34 PM
Make sure that there is a logs folder and that it is writeable by Apache (www-data).