Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Could not enter a new Admin User , Error  (Read 1995 times)

0 Members and 1 Guest are viewing this topic.

Dancefloor

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Could not enter a new Admin User , Error
« 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
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Could not enter a new Admin User , Error
« Reply #1 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).
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.