
Hi Martin, I could solve my problem: when creating a new ticket, i get "500 server internal error" (I'm using Red Hat 7.3) I did this: # usermod -G apache otrs # ~otrs/bin/SetPermissions.sh /opt/OpenTRS otrs apache users apache Then I obtain an error on the web, when creating a ticket: Error: No permission! Comment: Bug Report: Click here to report a bug! Handle: /usr/lib/perl5/vendor_perl/5.6.1/i386-linux/Apache/Registry.pm Frontend Subfunction: Kernel::Modules::CustomerZoom::Run (v 1.1) Frontend Line: 209 Backend Subfunction: (v ) Backend Line: Backend BackendMessage: The ticket was created but not showed. I found this in ~otrs/Kernel/Modules/CustomerZoom.pm # check permission # -- if ($Ticket{CustomerID} ne $Self->{UserCustomerID}) { $Output = $Self->{LayoutObject}->CustomerHeader(Title => 'Error'); $Output .= $Self->{LayoutObject}->CustomerError(Message => 'No permission!'); $Output .= $Self->{LayoutObject}->CustomerFooter(); return $Output; So I look in the database table ticket mysql> select * from ticket; +----+-------------------+----------+----------------+-----------------+---------+----------+---------------- ----+-----------------+------------+-------------+------------+-------------+-------------+---------+-------- ----+----------+-----------+----------+-----------+----------+------------------+---------------------+------ -----+---------------------+-----------+ | id | tn | queue_id | ticket_lock_id | ticket_answered | user_id | group_id | ticket_priority _id | ticket_state_id | group_read | group_write | other_read | other_write | customer_id | timeout | until_t ime | freekey1 | freetext1 | freekey2 | freetext2 | valid_id | create_time_unix | create_time | creat e_by | change_time | change_by | +----+-------------------+----------+----------------+-----------------+---------+----------+---------------- ----+-----------------+------------+-------------+------------+-------------+-------------+---------+-------- ----+----------+-----------+----------+-----------+----------+------------------+---------------------+------ -----+---------------------+-----------+ 3 | 1 | NULL | NULL | NULL | NULL | eu | NULL | N ULL | NULL | NULL | NULL | NULL | 1 | 1036588879 | 2002-11-06 10:21:20 | 1 | 2002-11-06 10:21:21 | 1 | And then mysql> select * from customer_user -> ; +----+---------+----------------------------+-------------+---------------+------------+------------+-------- ---+----------+---------------+---------------------+-----------+---------------------+-----------+ | id | login | email | customer_id | pw | salutation | first_name | last_na me | valid_id | comment | create_time | create_by | change_time | change_by | +----+---------+----------------------------+-------------+---------------+------------+------------+-------- ---+----------+---------------+---------------------+-----------+---------------------+-----------+ | 1 | enduser | dfernandez@openware.com.ar | EU | enJOyM9uCUy0Y | Hola | Usuario | Final | 1 | Usuario Final | 2002-11-04 17:31:59 | 1 | 2002-11-04 17:33:50 | 1 | +----+---------+----------------------------+-------------+---------------+------------+------------+-------- ---+----------+---------------+---------------------+-----------+---------------------+-----------+ I found that in one place it was 'EU' and in the other it was 'eu' So i chage it form AdminArea, CustomerUser, select user to change. I dont know how it happens. Buy now it is working. Thanks. Diego
participants (1)
-
Diego Fernandez