From: Kevin G. <ke...@sm...> - 2007-10-12 00:27:44
|
Hi Giancarlo, You need to start the data server, make sure it listens on a different port then zope. Check the data server logs for errors, if socket is in use then change the port. Was a previous post of mine, will post the solution. Regards, Kevin On Thu, 2007-10-11 at 19:30 +0200, Giancarlo Pepponi wrote: > Dear BIKA users, > I have just installed zope, plone, bika on my Ubuntu machine > I followed the installation instructions . . . > > I see the bika site but I cannot create new Clients or any other objects. > > Do you have any suggestions? > Below the message in the error log. > > Thanks a lot, > Giancarlo. > > > Below the error of the log: > > Request URL > http://localhost:8081/bika/clients/createObject > Exception Type > BadRequest > Exception Value > The id "client_<html> > <head><title>Zope</title></head> <body > bgcolor="#FFFFFF"> <h2>Site Error</h2> <p>An > error was encountered while publishing this resource. </p> > <p><strong>Resource not found</strong></p> > Sorry, the requested resource does not exist.<p>Check the URL > and try again.</p><p><b>Resource:</b> > bikaClient GET</p> <hr noshade="noshade"/> > <p>Troubleshooting Suggestions</p> <ul> > <li>The URL may be incorrect.</li> <li>The > parameters passed to this resource may be incorrect.</li> > <li>A resource that this resource relies on may be encountering > an error.</li> </ul> <p>For more detailed > information about the error, please refer to the error log. </p> > <p>If the error persists please contact the site maintainer. > Thank you for your patience. </p> </body> </html> " > contains characters illegal in URLs. > > Traceback (innermost last): > > * Module ZPublisher.Publish, line 115, in publish > * Module ZPublisher.mapply, line 88, in mapply > * Module ZPublisher.Publish, line 41, in call_object > * Module Products.CMFFormController.FSControllerPythonScript, line > 108, in __call__ > * Module Products.CMFFormController.Script, line 141, in __call__ > * Module Products.CMFCore.FSPythonScript, line 108, in __call__ > * Module Shared.DC.Scripts.Bindings, line 311, in __call__ > * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec > * Module Products.CMFCore.FSPythonScript, line 164, in _exec > * Module None, line 17, in createObject > <FSControllerPythonScript at /bika/createObject used for /bika/clients> > Line 17 > * Module Products.ATContentTypes.lib.constraintypes, line 292, in > invokeFactory > * Module Products.CMFCore.PortalFolder, line 408, in invokeFactory > * Module Products.CMFCore.TypesTool, line 934, in constructContent > * Module Products.CMFCore.TypesTool, line 343, in constructInstance > * Module Products.CMFCore.TypesTool, line 574, in _constructInstance > * Module Products.bika.Client, line 4, in addClient > * Module Products.BTreeFolder2.BTreeFolder2, line 417, in _setObject > * Module Products.CMFCore.CMFBTreeFolder, line 65, in _checkId > * Module Products.CMFCore.PortalFolder, line 426, in _checkId > * Module OFS.ObjectManager, line 76, in checkValidId > > BadRequest: The id "client_<html> > <head><title>Zope</title></head> <body > bgcolor="#FFFFFF"> <h2>Site Error</h2> <p>An > error was encountered while publishing this resource. </p> > <p><strong>Resource not found</strong></p> > Sorry, the requested resource does not exist.<p>Check the URL > and try again.</p><p><b>Resource:</b> > bikaClient GET</p> <hr noshade="noshade"/> > <p>Troubleshooting Suggestions</p> <ul> > <li>The URL may be incorrect.</li> <li>The > parameters passed to this resource may be incorrect.</li> > <li>A resource that this resource relies on may be encountering > an error.</li> </ul> <p>For more detailed > information about the error, please refer to the error log. </p> > <p>If the error persists please contact the site maintainer. > Thank you for your patience. </p> </body> </html> " > contains characters illegal in URLs. > > REQUEST > form > type_name 'Client' > cookies > tree-s 'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuxEQ9AIOOB9Q' > lazy items > SESSION <bound method SessionDataManager.getSessionData of > <SessionDataManager at /session_data_manager>> > other > controller_state <Products.CMFFormController.ControllerState.ControllerState > object at 0xb327440c> > TraversalRequestNameStack [] > AUTHENTICATED_USER <PropertiedUser 'gianplone'> > URL 'http://localhost:8081/bika/clients/createObject' > tree-s 'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuxEQ9AIOOB9Q' > type_name 'Client' > URL2 'http://localhost:8081/bika' > SERVER_URL 'http://localhost:8081' > AUTHENTICATION_PATH '' > traverse_subpath [] > BASE1 'http://localhost:8081' > BASE2 'http://localhost:8081/bika' > BASE3 'http://localhost:8081/bika/clients' > BASE4 'http://localhost:8081/bika/clients/createObject' > URL3 'http://localhost:8081' > PUBLISHED <FSControllerPythonScript at /bika/createObject used for > /bika/clients> > URL1 'http://localhost:8081/bika/clients' > ACTUAL_URL 'http://localhost:8081/bika/clients/createObject' > URL0 http://localhost:8081/bika/clients/createObject > URL1 http://localhost:8081/bika/clients > URL2 http://localhost:8081/bika > URL3 http://localhost:8081 > BASE0 http://localhost:8081 > BASE1 http://localhost:8081 > BASE2 http://localhost:8081/bika > BASE3 http://localhost:8081/bika/clients > BASE4 http://localhost:8081/bika/clients/createObject > environ > HTTP_COOKIE 'tree-s="eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuxEQ9AIOOB9Q"' > SERVER_SOFTWARE 'Zope/(Zope 2.9.5-final, python 2.4.4, linux2) > ZServer/1.1 Plone/2.5.1' > SCRIPT_NAME '' > REQUEST_METHOD 'GET' > HTTP_KEEP_ALIVE '300' > SERVER_PROTOCOL 'HTTP/1.1' > QUERY_STRING 'type_name=Client' > channel.creation_time 1192123594 > CONNECTION_TYPE 'keep-alive' > HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' > HTTP_USER_AGENT 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.6) > Gecko/20060601 Firefox/2.0.0.6 (Ubuntu-edgy)' > HTTP_REFERER 'http://localhost:8081/bika/clients' > SERVER_NAME '0.0.0.0' > REMOTE_ADDR '127.0.0.1' > PATH_TRANSLATED '/bika/clients/createObject' > SERVER_PORT '8081' > HTTP_HOST 'localhost:8081' > HTTP_ACCEPT 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5' > GATEWAY_INTERFACE 'CGI/1.1' > HTTP_ACCEPT_LANGUAGE 'en-gb,en;q=0.5' > HTTP_ACCEPT_ENCODING 'gzip,deflate' > PATH_INFO '/bika/clients/createObject' > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Bika-Users mailing list > Bik...@li... > https://lists.sourceforge.net/lists/listinfo/bika-users > |