forum.coppermine-gallery.net
Support => cpg1.6.x Support => cpg1.6 install => Topic started by: Dancefloor 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
-
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.