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, March 21, 2022, 02:05:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dancefloor

Hy.... I made a fresh install from Coppermine 1.6.17
Everythins went fine but then i want to create a second Admin User  an the i got this error.
What can this be ??

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

The initial user during installation was correctly written to DB

Kind regards

ron4mac

You are getting some sort of database error.  But, in trying to log the error, there may be a permissions problem with the logs folder/directory. You should correct the permissions problem or turn off logging in the config.  After that, whatever database issue that exists should be revealed.