<br>Hi,<br><br>I have wanting to install erp5, and finally found time to get this done.<br><br>I have installed the system, but it seems some biz templates I install keep breaking the system. I have gone through the steps of: create a site, install base templates, progressively add extra templates ... all works fine, until I install a certain template, but I cannot tell exactly which one: altough erp5_xhtml_style and erp5_html_style are the prime suspects. <br>
<br>The symptoms of my problem is that most things work, but links on existing subpages fail because an extra 'view/' string is appended to the URL (for example: <a href="http://sum.site.com:8080/voix/portal_templates/view/view">http://sum.site.com:8080/voix/portal_templates/view/view</a> instead of <a href="http://sum.site.com:8080/voix/portal_templates/view">http://sum.site.com:8080/voix/portal_templates/view</a>) .. when this happens, going to the browser address bar and deleting 'view/' actually leads to the destination URL being displayed correctly.<br>
<br>A second issue is that it seems the jump menus on top of each page fail because Base_doAction fails to pick up on the parameter passed to it (an example parameter is: instance <br>... below is the log entry for this side effect.<br>
<br>I think one of the business templates is messing around with the URL writing for the site. This is my 3rd site, and I have encountered the problem with each of my earlier 2 attempts. Please, can someone help me with suggestions... this is frustrating the hell out of me .. thanks in advance.<br>
<br>displayed log entry to illustrate the 'second issue':<br><br>===============================================================<br>Exception traceback<br> <br><br> <br>Time 2008/02/16 21:23:21.961 GMT-1 <br>
User Name (User Id) zope (zope) <br>Request URL <a href="http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction">http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction</a> <br>
Exception Type BadRequest <br>Exception Value <table border="0" width="100%"> <tr valign="top"> <td width="10%" align="center"> &nbsp; </td> <td width="90%"> <h2>Site Error</h2> <p>An error was encountered while publishing this resource. </p> <p><strong>Invalid request</strong></p> The parameter, <em>select_action</em>, was omitted from the request.<p>Make sure to specify all required parameters, and try the request again.</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 error log. </p> <p>If the error persists please contact the site maintainer. Thank you for your patience. </p> </td></tr> </table> <br>
Traceback (innermost last): <br>Module ZPublisher.Publish, line 114, in publish <br>Module ZPublisher.mapply, line 83, in mapply <br>Module ZPublisher.Publish, line 45, in missing_name <br>Module ZPublisher.HTTPResponse, line 667, in badRequestError <br>
BadRequest: <table border="0" width="100%"> <tr valign="top"> <td width="10%" align="center"> &nbsp; </td> <td width="90%"> <h2>Site Error</h2> <p>An error was encountered while publishing this resource. </p> <p><strong>Invalid request</strong></p> The parameter, <em>select_action</em>, was omitted from the request.<p>Make sure to specify all required parameters, and try the request again.</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 error log. </p> <p>If the error persists please contact the site maintainer. Thank you for your patience. </p> </td></tr> </table> <br>
Display traceback as text<br> <br>REQUEST<br>form<br> <br>description '' <br>favorite_select '' <br>form_id 'OrganisationModule_viewOrganisationList' <br>listbox_list_start '0' <br>
translated_validation_state_title '' <br>language_select 'en' <br>title '' <br>is_list '1' <br>activity_title '' <br>SearchableText '' <br>
jump_select '1' <br>action_select 'add Organisation' <br>module_select '' <br>selection_name 'organisation_module_selection' <br>query_string '' <br>
default_region_title '' <br>md5_object_uid_list 'd751713988987e9331980363e24189ce' <br>list_selection_name 'organisation_module_selection' <br>listbox_list_selection_name 'organisation_module_selection' <br>
setSelectionQuickSortOrder ['<SPAN>Usual Name</SPAN>', '<SPAN>Description</SPAN>', '<SPAN>Activity</SPAN>', '<SPAN>Region</SPAN>', '<SPAN>State</SPAN>'] <br>
cookies<br> <br>__ac_name 'zope' <br>lazy items<br> <br>SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>> <br>other<br> <br>TraversalRequestNameStack [] <br>
AUTHENTICATED_USER zope <br>URL '<a href="http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction">http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction</a>' <br>SERVER_URL '<a href="http://sum.site.com:8080">http://sum.site.com:8080</a>' <br>
AUTHENTICATION_PATH '' <br>traverse_subpath ['setSelectionQuickSortOrder'] <br>USER_PREF_LANGUAGES <itools.i18n.accept.AcceptLanguage instance at 0xb3c6d80c> <br>PATH_INFO '/sumcompany/organisation_module/Base_doAction/setSelectionQuickSortOrder' <br>
PUBLISHED <PythonScript at /sumcompany/Base_doAction used for /sumcompany/organisation_module> <br>AcceptLanguage <itools.i18n.accept.AcceptLanguage instance at 0xb3c6d80c> <br>AcceptCharset <itools.i18n.accept.AcceptCharset instance at 0xc59e06c> <br>
ACTUAL_URL '<a href="http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction/setSelectionQuickSortOrder">http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction/setSelectionQuickSortOrder</a>' <br>
URL0 <a href="http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction">http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction</a> <br>URL1 <a href="http://sum.site.com:8080/sumcompany/organisation_module">http://sum.site.com:8080/sumcompany/organisation_module</a> <br>
URL2 <a href="http://sum.site.com:8080/sumcompany">http://sum.site.com:8080/sumcompany</a> <br>URL3 <a href="http://sum.site.com:8080">http://sum.site.com:8080</a> <br>BASE0 <a href="http://sum.site.com:8080">http://sum.site.com:8080</a> <br>
BASE1 <a href="http://sum.site.com:8080">http://sum.site.com:8080</a> <br>BASE2 <a href="http://sum.site.com:8080/sumcompany">http://sum.site.com:8080/sumcompany</a> <br>BASE3 <a href="http://sum.site.com:8080/sumcompany/organisation_module">http://sum.site.com:8080/sumcompany/organisation_module</a> <br>
BASE4 <a href="http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction">http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction</a> <br>environ<br> <br>HTTP_COOKIE '__ac="em9wZTp6b3Bl"; __ac_name="zope"' <br>
SERVER_SOFTWARE 'Zope/(Zope 2.8.9.1-final, python 2.4.4, linux2) ZServer/1.1' <br>SCRIPT_NAME '' <br>REQUEST_METHOD 'POST' <br>PATH_INFO '/sumcompany/organisation_module/Base_doAction' <br>
SERVER_PROTOCOL 'HTTP/1.1' <br>channel.creation_time 1203193339 <br>CONNECTION_TYPE 'Keep-Alive' <br>HTTP_USER_AGENT 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)' <br>
HTTP_REFERER '<a href="http://sum.site.com:8080/sumcompany/organisation_module/view">http://sum.site.com:8080/sumcompany/organisation_module/view</a>' <br>SERVER_NAME '<a href="http://0.0.0.0">0.0.0.0</a>' <br>
REMOTE_ADDR '<a href="http://204.14.47.39">204.14.47.39</a>' <br>PATH_TRANSLATED '/sumcompany/organisation_module/Base_doAction' <br>SERVER_PORT '8080' <br>CONTENT_LENGTH '843' <br>
HTTP_HOST '<a href="http://sum.site.com:8080">sum.site.com:8080</a>' <br>HTTP_CACHE_CONTROL 'no-cache' <br>HTTP_ACCEPT '*/*' <br>GATEWAY_INTERFACE 'CGI/1.1' <br>
HTTP_ACCEPT_LANGUAGE 'en-gb' <br>CONTENT_TYPE 'application/x-www-form-urlencoded' <br>HTTP_ACCEPT_ENCODING 'gzip, deflate' <br> <br><br>