• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

subdomain creation error - with bad plesk php syntax

jens1

New Pleskian
i tried to give a new subdomain to a given domain via webinterface.
Since this worked fine some times ago, it actually (after some time and some updates) no longer.

System is Debian 7 with latest plesk.

I tried some other accounts/abos and everytime the same.

What makes me curious is the nonsense (in my eyes, error message with the nonfitting helpdesk link)

on the webfrontend i got this Error saying password is wrong choosen, but i clearly dont know to which field this reffer deeper in error log
Code:
[panel] Einige Felder sind leer oder enthalten einen ungültigen Wert. Verwenden Sie keine Anführungszeichen, Leerzeichen oder sprachspezifischen Zeichen (z.B. ä, ß) in einem Passwort.<br />
Das Passwort darf nur zwischen 5 und 14 Zeichen lang sein und sollte nicht den Benutzernamen enthalten. ('password' = '')<br>

thanks for any help/ideas
J

so what i have is this ...
tail -f /var/log/plesk/panel.log
Code:
[04-Sep-2015 00:04:18 Europe/Berlin] PHP Notice: Undefined index: password; File: /opt/psa/admin/plib/cObject.php, Line: 313

[04-Sep-2015 00:04:18 Europe/Berlin] Exception: PHP Notice: Undefined index: password; File: /opt/psa/admin/plib/cObject.php, Line: 313

file: /opt/psa/admin/plib/Smb/Exception/Syntax.php
line: 56
code: 0
trace: #0 /opt/psa/admin/plib/cObject.php(313): Smb_Exception_Syntax::handleError(8, 'Undefined index...', '/opt/psa/admin/...', 313, Array)
#1 /opt/psa/admin/plib/PHostingManager/Apache.php(521): cObject->getErrorMsg(true)
#2 /opt/psa/admin/plib/PHostingManager/Apache.php(324): PHostingManager_Apache->createPDir4PleskStat()
#3 /opt/psa/admin/plib/PHostingManager/Apache.php(269): PHostingManager_Apache->updateProtectedDirStats()
#4 [internal function]: PHostingManager_Apache->transactionalUpdate(Object(Transaction_Rollback))
#5 /opt/psa/admin/plib/Transaction/Rollback.php(17): call_user_func(Array, Object(Transaction_Rollback))
#6 /opt/psa/admin/plib/PHostingManager/Apache.php(216): Transaction_Rollback->commit(Array)
#7 /opt/psa/admin/plib/DSWeb.php(217): PHostingManager_Apache->update()
#8 /opt/psa/admin/plib/Smb/Plesk/Bridge/Hosting.php(653): DSWeb->update()
#9 /opt/psa/admin/plib/Smb/Plesk/Bridge/Hosting.php(563): Smb_Plesk_Bridge_Hosting->_updateDomainService(Object(DSWeb))
#10 /opt/psa/admin/plib/Smb/Plesk/Bridge/Hosting.php(515): Smb_Plesk_Bridge_Hosting->_createHostingForAdditionalDomain(Object(Webspace), 'home.viisauksen...')
#11 /opt/psa/admin/plib/Smb/Plesk/Bridge/Domain.php(577): Smb_Plesk_Bridge_Hosting->setupAdditionalDomain(Object(Webspace), 'home.viisauksen...')
#12 /opt/psa/admin/plib/Smb/Form/Final/Web/AddDomain.php(164): Smb_Plesk_Bridge_Domain::createAdditionalDomain(Object(Webspace), 'home.viisauksen...', 'master', Array, 1, NULL)
#13 /opt/psa/admin/application/smb/controllers/WebController.php(398): Smb_Form_Final_Web_AddDomain->processForm()
#14 /opt/psa/admin/externals/Zend/Controller/Action.php(516): Smb_WebController->addSubdomainAction()
#15 /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('addSubdomainAct...')
#16 /opt/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#17 /opt/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#18 /opt/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#19 {main}

[04-Sep-2015 00:04:18 Europe/Berlin] Smb_Exception: Einige Felder sind leer oder enthalten einen ungültigen Wert. Verwenden Sie keine Anführungszeichen, Leerzeichen oder sprachspezifischen Zeichen (z.B. ä, ß) in einem Passwort.
Das Passwort darf nur zwischen 5 und 14 Zeichen lang sein und sollte nicht den Benutzernamen enthalten. ('password' = '')
file: /opt/psa/admin/plib/Smb/Plesk/Bridge/Hosting.php
line: 667
code: 0
trace: #0 /opt/psa/admin/plib/Smb/Plesk/Bridge/Hosting.php(563): Smb_Plesk_Bridge_Hosting->_updateDomainService(Object(DSWeb))
#1 /opt/psa/admin/plib/Smb/Plesk/Bridge/Hosting.php(515): Smb_Plesk_Bridge_Hosting->_createHostingForAdditionalDomain(Object(Webspace), 'home.viisauksen...')
#2 /opt/psa/admin/plib/Smb/Plesk/Bridge/Domain.php(577): Smb_Plesk_Bridge_Hosting->setupAdditionalDomain(Object(Webspace), 'home.viisauksen...')
#3 /opt/psa/admin/plib/Smb/Form/Final/Web/AddDomain.php(164): Smb_Plesk_Bridge_Domain::createAdditionalDomain(Object(Webspace), 'home.viisauksen...', 'master', Array, 1, NULL)
#4 /opt/psa/admin/application/smb/controllers/WebController.php(398): Smb_Form_Final_Web_AddDomain->processForm()
#5 /opt/psa/admin/externals/Zend/Controller/Action.php(516): Smb_WebController->addSubdomainAction()
#6 /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('addSubdomainAct...')
#7 /opt/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#8 /opt/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#9 /opt/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#10 {main}

[04-Sep-2015 00:04:19 Europe/Berlin] PleskFatalException: Unable to delete physical hosting
file: /opt/psa/admin/plib/PHostingManager/Apache.php
line: 677
code: 0
trace: #0 /opt/psa/admin/plib/PHostingManager/Apache.php(658): PHostingManager_Apache->removePHosting()
#1 /opt/psa/admin/plib/DSWeb.php(248): PHostingManager_Apache->delete()
#2 /opt/psa/admin/plib/PhDomain.php(249): DSWeb->delete()
#3 /opt/psa/admin/plib/PhDomain.php(136): PhDomain->_removeWeb('vrt_hst')
#4 /opt/psa/admin/plib/BsDomain.php(396): PhDomain->_delete()
#5 /opt/psa/admin/plib/PhDomain.php(46): BsDomain->_delete()
#6 /opt/psa/admin/plib/BsDomain.php(362): PhDomain->delete()
#7 /opt/psa/admin/plib/Smb/Plesk/Bridge/Domain.php(391): BsDomain->delete()
#8 /opt/psa/admin/plib/Smb/Plesk/Bridge/Domain.php(595): Smb_Plesk_Bridge_Domain->delete()
#9 /opt/psa/admin/plib/Smb/Form/Final/Web/AddDomain.php(164): Smb_Plesk_Bridge_Domain::createAdditionalDomain(Object(Webspace), 'home.viisauksen...', 'master', Array, 1, NULL)
#10 /opt/psa/admin/application/smb/controllers/WebController.php(398): Smb_Form_Final_Web_AddDomain->processForm()
#11 /opt/psa/admin/externals/Zend/Controller/Action.php(516): Smb_WebController->addSubdomainAction()
#12 /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('addSubdomainAct...')
#13 /opt/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#14 /opt/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#15 /opt/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#16 {main}

[2015-09-04 00:04:19] ERR [panel] Failed to delete hosting: Unable to delete physical hosting
[2015-09-04 00:04:19] ERR [panel] Einige Felder sind leer oder enthalten einen ungültigen Wert. Verwenden Sie keine Anführungszeichen, Leerzeichen oder sprachspezifischen Zeichen (z.B. ä, ß) in einem Passwort.<br />
Das Passwort darf nur zwischen 5 und 14 Zeichen lang sein und sollte nicht den Benutzernamen enthalten. ('password' = '')<br><a href='http://kb.odin.com/plesk-error/search?metaId=15ce68b7c657e3915829a6000aa4756f&messageId=0e2bf5a1adca1b9a38fd8b48320067da&file=Hosting.php&line=667&type=Smb_Exception&message=Einige+Felder+sind+leer+oder+enthalten+einen+ung%C3%BCltigen+Wert.+Verwenden+Sie+keine+Anf%C3%BChrungszeichen%2C+Leerzeichen+oder+sprachspezifischen+Zeichen+%28z.B.+%C3%A4%2C+%C3%9F%29+in+einem+Passwort.%0ADas+Passwort+darf+nur+zwischen++und++Zeichen+lang+sein+und+sollte+nicht+den+Benutzernamen+enthalten.+%28+%3D+%22%22%29' target='_blank'>Search for related Knowledge Base articles</a>

and some time ago i used this terminal commands
plesk bin subdomain -c home.mydomain.de
plesk bin subdomain -remove home.mydomain.de
while this gave some errors similar to this error, and those are maybe related. The error i remember loosely as "some fields are empty ..."
 
Last edited:
ok, i found the solution - or at least some way for getting this to work
i go to the webfrontend - then click on ftp-user/access and give him exactly the same login credentials as before
and voila its working - for me a mystery, or more a bug

the explanation of the error before on the webfrontend was bad, the generated help link (see log above) simply misleading and wrong
..
the hint was found http://kb.odin.com/en/124858
Unable to create subdomain. Error: Some fields are empty or contain an improper value ('password' = '')
 
Back
Top