Error when creating new user.



  • Hi! i just installed PufferPanel and everything else is working correctly but when im trying to create new user from admin panel this happens. it allows me to put login details and generate random password. but when i press create account button it fails to create account.

    0_1511933878244_error.PNG

    Thanks for any replies :)



  • You need to provide the logs for pufferpanel located at /srv/pufferpanel/logs, assuming you are using a linux OS.



  • @rockhearted
    this is the output in to exception.log after trying to create account.

    [2017-11-29 16-21-14] Klein\Exceptions\UnhandledException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'language' cannot be null #23000 in /srv/pufferpanel/vendor/klein/klein/src/Klein/Klein.php:954 caused by PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'language' cannot be null #23000 in /srv/pufferpanel/vendor/j4mie/idiorm/idiorm.php:503  @  REMOVED-IP-FROM-HERE/admin/account/new  @@  exception--2017-11-29--16-21--6bdfc64b22.html
    
    

    and error log.

    [2017-11-30 00-35-41] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/robots.txt 
    [2017-11-30 00-35-44] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?members/dark.4/trophies 
    [2017-11-30 01-15-02] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/robots.txt 
    [2017-11-30 01-15-03] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login 
    [2017-11-30 01-15-04] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?forums/p%C3%A4ivitykset.4/&direction=desc 
    [2017-11-30 01-15-06] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login 
    [2017-11-30 01-36-52] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?members/dark.4/followers 
    [2017-11-30 02-26-49] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?tags/ 
    [2017-11-30 02-34-53] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?forums/english.2/&order=view_count 
    [2017-11-30 03-36-09] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/robots.txt 
    [2017-11-30 03-36-13] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?forums/p%C3%A4ivitykset.4/index.rss 
    [2017-11-30 03-42-06] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?members/dark.4/following 
    [2017-11-30 03-45-53] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/robots.txt 
    [2017-11-30 03-45-54] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login 
    [2017-11-30 03-45-56] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?forums/p%C3%A4ivitykset.4/&order=post_date&direction=asc 
    [2017-11-30 03-46-00] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login 
    [2017-11-30 04-25-18] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/index 
    [2017-11-30 04-25-18] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login 
    [2017-11-30 04-35-56] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?forums/p%C3%A4ivitykset.4/&order=view_count 
    [2017-11-30 05-46-29] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/robots.txt 
    [2017-11-30 05-46-32] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?forums/english.2/&order=title 
    [2017-11-30 05-59-51] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/robots.txt 
    [2017-11-30 05-59-51] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login 
    [2017-11-30 05-59-52] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/fi/index.html 
    [2017-11-30 05-59-52] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login 
    [2017-11-30 06-01-53] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/robots.txt 
    [2017-11-30 06-01-57] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?forums/suomi.3/ 
    [2017-11-30 06-03-10] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?forums/english.2/&direction=asc 
    [2017-11-30 06-32-04] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/forum2/index.php?members/hepezi.1/ 
    [2017-11-30 07-39-16] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/index 
    [2017-11-30 07-39-16] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login 
    [2017-11-30 07-39-17] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/assets/css/bootstrap.css 
    [2017-11-30 07-39-17] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/assets/css/pufferpanel.css 
    [2017-11-30 07-39-17] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/assets/javascript/bootstrap-notify.min.js 
    [2017-11-30 07-39-17] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/assets/javascript/admin.min.js 
    [2017-11-30 07-39-17] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/assets/css/animate.css 
    [2017-11-30 07-39-17] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/assets/images/exclamation-triangle.png 
    [2017-11-30 07-39-18] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/assets/favicon.ico 
    [2017-11-30 07-39-21] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login/totp 
    [2017-11-30 07-39-22] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login 
    [2017-11-30 07-39-22] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login 
    [2017-11-30 07-39-22] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/favicon.ico 
    [2017-11-30 07-39-22] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login 
    [2017-11-30 07-39-25] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login/totp 
    [2017-11-30 07-39-25] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/auth/login 
    [2017-11-30 07-39-25] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/index 
    [2017-11-30 07-39-26] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/oauth2/token/info 
    [2017-11-30 07-39-26] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/assets/images/info-circle.png 
    [2017-11-30 07-39-29] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/admin/index 
    [2017-11-30 07-39-29] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/assets/javascript/jquery-ui.min.js 
    [2017-11-30 07-39-32] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/admin/account/new 
    [2017-11-30 07-39-46] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/core/language.php:43  @  REMOVED-IP-FROM-HERE/admin/account/new 
    [2017-11-30 07-39-46] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/routes/admin/account/routes.php:89  @  REMOVED-IP-FROM-HERE/admin/account/new 
    
    


  • Okay, after some research and adding permissions to execute language.php file im in this point now.

    error.log

    [2017-12-04 03-35-37] PHP Notice: Undefined property: stdClass::$default_language in /srv/pufferpanel/src/routes/admin/account/routes.php:89  @  http://blabla.com/admin/account/new 
    

    exception.log

    [2017-12-04 03-35-37] Klein\Exceptions\UnhandledException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'language' cannot be null #23000 in /srv/pufferpanel/vendor/klein/klein/src/Klein/Klein.php:954 caused by PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'language' cannot be null #23000 in /srv/pufferpanel/vendor/j4mie/idiorm/idiorm.php:503  @  http://blabla.com/admin/account/new  @@  exception--2017-12-04--03-35--6bdfc64b22.html
    
    


  • Please also post the information about the version of pufferpanel and pufferd, along with the OS details and php details.


 

2
Online

737
Users

777
Topics

3.3k
Posts