Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ISPConfig 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 552
    • Issues 552
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 45
    • Merge requests 45
  • 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
  • #2492
Closed
Open
Created Mar 06, 2013 by Dariusz Kowalczyk@webvisor

Add new Website make error when System->Server services-> Webserver - disabled and no slave server i

"Add new Website" makes error when in "System->Server services-> Webserver - is disabled", and slave web server is disconnected.

Server: (Debian Squeeze/Sid)

This erros shows:

DB::query(SELECT ip_address FROM server_ip WHERE ip_type = 'IPv4' AND server_id = ) -> mysqli_query You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1#0 db->query(SELECT ip_address FROM server_ip WHERE ip_type = 'IPv4' AND server_id = ) called at [/usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php:157] #1 (closed) db->queryAllRecords(SELECT ip_address FROM server_ip WHERE ip_type = 'IPv4' AND server_id = ) called at [/usr/local/ispconfig/interface/web/sites/web_domain_edit.php:279] #2 (closed) page_action->onShowEnd() called at [/usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php:513] #3 (closed) tform_actions->onShow() called at [/usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php:70] #4 (closed) tform_actions->onLoad() called at [/usr/local/ispconfig/interface/web/sites/web_domain_edit.php:920] DB::query(SELECT ip_address FROM server_ip WHERE ip_type = 'IPv6' AND server_id = ) -> mysqli_query You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1#0 db->query(SELECT ip_address FROM server_ip WHERE ip_type = 'IPv6' AND server_id = ) called at [/usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php:157] #1 (closed) db->queryAllRecords(SELECT ip_address FROM server_ip WHERE ip_type = 'IPv6' AND server_id = ) called at [/usr/local/ispconfig/interface/web/sites/web_domain_edit.php:294] #2 (closed) page_action->onShowEnd() called at [/usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php:513] #3 (closed) tform_actions->onShow() called at [/usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php:70] #4 (closed) tform_actions->onLoad() called at [/usr/local/ispconfig/interface/web/sites/web_domain_edit.php:920]

Assignee
Assign to
Time tracking