Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • I ISPConfig 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 590
    • Issues 590
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 49
    • Merge requests 49
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #6463
Closed
Open
Issue created Feb 08, 2023 by Helmo@helmoReporter

PHP Warning: Undefined variable $new_lines in /usr/local/ispconfig/server/lib/classes/file.inc.php on line 126

When creating a new shell user:

DEBUG [shelluser base plugin.inc:432] - ssh-rsa setup shelluser_base
PHP Warning:  Undefined variable $new_lines in /usr/local/ispconfig/server/lib/classes/file.inc.php on line 126
PHP Stack trace:
PHP   1. {main}() /usr/local/ispconfig/server/server.php:0
PHP   2. modules->processDatalog() /usr/local/ispconfig/server/server.php:180
PHP   3. modules->raiseTableHook($table_name = 'shell_user', $action = 'u', $data = [...
PHP   4. web_module->process($tablename = 'shell_user', $action = 'u', $data = [...
PHP   5. plugins->raiseEvent($event_name = 'shell_user_update', $data = [...
PHP   6. shelluser_base_plugin->update($event_name = 'shell_user_update', $data = [...
PHP   7. shelluser_base_plugin->_setup_ssh_rsa() /usr/local/ispconfig/server/plugins-available/shelluser_base_plugin.inc.php:286
PHP   8. file->remove_blank_lines($input = '', $file = 0) /usr/local/ispconfig/server/plugins-available/shelluser_base_plugin.inc.php:463
DEBUG [shelluser base plugin.inc:529] - ssh-rsa key updated in /var/www/clients/client1/web27/home/testclientzfcbvz/.ssh/authorized_keys
Assignee
Assign to
Time tracking