Could not enter a new Admin User , Error Could not enter a new Admin User , Error
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Could not enter a new Admin User , Error

Started by Dancefloor, July 19, 2022, 02:09:06 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Dancefloor

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

ron4mac

Make sure that there is a logs folder and that it is writeable by Apache (www-data).