Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Could not enter a new Admin User , Error  (Read 693 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: March 21, 2022, 02:05:36 am »

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
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 1857
Re: Could not enter a new Admin User , Error
« Reply #1 on: March 21, 2022, 01:43:21 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.