[Erp5-users] Problems after installing modules
Carl Anthony
carlzeto at gmail.com
Sat Feb 16 21:54:21 CET 2008
Hi,
I have wanting to install erp5, and finally found time to get this done.
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.
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: http://sum.site.com:8080/voix/portal_templates/view/view instead of
http://sum.site.com:8080/voix/portal_templates/view) .. when this happens,
going to the browser address bar and deleting 'view/' actually leads to the
destination URL being displayed correctly.
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
... below is the log entry for this side effect.
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.
displayed log entry to illustrate the 'second issue':
===============================================================
Exception traceback
Time 2008/02/16 21:23:21.961 GMT-1
User Name (User Id) zope (zope)
Request URL
http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction
Exception Type BadRequest
Exception Value <table border="0" width="100%"> <tr valign="top"> <td
width="10%" align="center"> </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>
Traceback (innermost last):
Module ZPublisher.Publish, line 114, in publish
Module ZPublisher.mapply, line 83, in mapply
Module ZPublisher.Publish, line 45, in missing_name
Module ZPublisher.HTTPResponse, line 667, in badRequestError
BadRequest: <table border="0" width="100%"> <tr valign="top"> <td
width="10%" align="center"> </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>
Display traceback as text
REQUEST
form
description ''
favorite_select ''
form_id 'OrganisationModule_viewOrganisationList'
listbox_list_start '0'
translated_validation_state_title ''
language_select 'en'
title ''
is_list '1'
activity_title ''
SearchableText ''
jump_select '1'
action_select 'add Organisation'
module_select ''
selection_name 'organisation_module_selection'
query_string ''
default_region_title ''
md5_object_uid_list 'd751713988987e9331980363e24189ce'
list_selection_name 'organisation_module_selection'
listbox_list_selection_name 'organisation_module_selection'
setSelectionQuickSortOrder ['<SPAN>Usual Name</SPAN>',
'<SPAN>Description</SPAN>', '<SPAN>Activity</SPAN>', '<SPAN>Region</SPAN>',
'<SPAN>State</SPAN>']
cookies
__ac_name 'zope'
lazy items
SESSION <bound method SessionDataManager.getSessionData of
<SessionDataManager at /session_data_manager>>
other
TraversalRequestNameStack []
AUTHENTICATED_USER zope
URL '
http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction'
SERVER_URL 'http://sum.site.com:8080'
AUTHENTICATION_PATH ''
traverse_subpath ['setSelectionQuickSortOrder']
USER_PREF_LANGUAGES <itools.i18n.accept.AcceptLanguage instance at
0xb3c6d80c>
PATH_INFO
'/sumcompany/organisation_module/Base_doAction/setSelectionQuickSortOrder'
PUBLISHED <PythonScript at /sumcompany/Base_doAction used for
/sumcompany/organisation_module>
AcceptLanguage <itools.i18n.accept.AcceptLanguage instance at
0xb3c6d80c>
AcceptCharset <itools.i18n.accept.AcceptCharset instance at 0xc59e06c>
ACTUAL_URL '
http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction/setSelectionQuickSortOrder'
URL0
http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction
URL1 http://sum.site.com:8080/sumcompany/organisation_module
URL2 http://sum.site.com:8080/sumcompany
URL3 http://sum.site.com:8080
BASE0 http://sum.site.com:8080
BASE1 http://sum.site.com:8080
BASE2 http://sum.site.com:8080/sumcompany
BASE3 http://sum.site.com:8080/sumcompany/organisation_module
BASE4
http://sum.site.com:8080/sumcompany/organisation_module/Base_doAction
environ
HTTP_COOKIE '__ac="em9wZTp6b3Bl"; __ac_name="zope"'
SERVER_SOFTWARE 'Zope/(Zope 2.8.9.1-final, python 2.4.4, linux2)
ZServer/1.1'
SCRIPT_NAME ''
REQUEST_METHOD 'POST'
PATH_INFO '/sumcompany/organisation_module/Base_doAction'
SERVER_PROTOCOL 'HTTP/1.1'
channel.creation_time 1203193339
CONNECTION_TYPE 'Keep-Alive'
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)'
HTTP_REFERER '
http://sum.site.com:8080/sumcompany/organisation_module/view'
SERVER_NAME '0.0.0.0'
REMOTE_ADDR '204.14.47.39'
PATH_TRANSLATED '/sumcompany/organisation_module/Base_doAction'
SERVER_PORT '8080'
CONTENT_LENGTH '843'
HTTP_HOST 'sum.site.com:8080'
HTTP_CACHE_CONTROL 'no-cache'
HTTP_ACCEPT '*/*'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT_LANGUAGE 'en-gb'
CONTENT_TYPE 'application/x-www-form-urlencoded'
HTTP_ACCEPT_ENCODING 'gzip, deflate'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-users/attachments/20080216/cd626710/attachment.htm>
More information about the Erp5-users
mailing list