cleptomanix
Goto Top

Apache Webserver HTTP 500 Error

Hallo an alle hier face-smile

ich habe auf meinem Ubuntu 16.04 einen Apache Webserver laufen.
Wollte mir jetzt OSTicket installieren und bekomme die Fehlermeldung HTTP Error 500.
Ich habe meine vhost schon so konfiguriert, dass ich auf die Seite per SSL drauf komme. Vielleicht liegt auch da der Fehler? Aber ich habe den Port zu testzwecken wieder auf 80 gesetzt(also neue vhost geschrieben) und auch da habe ich den gleichen Fehler bekommen.
Habe schon in der php.ini den max_execution_time(oder so ähnlich) von 30 auf 90 erhöht.
Fehler besteht leider immernoch. Eventuell kann mir ja jemand helfen face-smile

LG

Content-Key: 318520

Url: https://administrator.de/contentid/318520

Printed on: April 26, 2024 at 16:04 o'clock

Member: Chonta
Chonta Oct 20, 2016 at 08:47:32 (UTC)
Goto Top
Hallo,

sind im Apachen auch alle notweniggen Module für OTRS aktiviert?
keine Fehler im Vhost?
Ging es denn schonmal?

den Port auf 443 ändern allleine reicht für https nicht face-wink

In den Apachelogs sollte was drin stehen.

Gruß

Chonta
Member: wiesi200
wiesi200 Oct 20, 2016 at 09:14:21 (UTC)
Goto Top
Hallo,

bevor man wild an Einstellungen rumbastelt.
Was sagt den das Fehlerlog des Apache?
Member: Julian94
Julian94 Oct 20, 2016 at 09:39:17 (UTC)
Goto Top
Fehlercode 500 sagt nicht gerade viel aus, da benötigen wir schon einen Ausschnitt aus dem Apache Log.

Oft ist es aber das der Besitzer der Datei nicht der www-data ist sondern root.
Member: ClepToManix
ClepToManix Oct 20, 2016 at 10:25:44 (UTC)
Goto Top
Die rechte habe ich auf www-data geändert, den log poste ich gleich mit dazu. Gerade unterwegs
Member: ClepToManix
ClepToManix Oct 20, 2016 updated at 11:26:17 (UTC)
Goto Top
[Thu Oct 20 13:16:55.756327 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of TicketModel::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class.use    r.php on line 36
124 [Thu Oct 20 13:16:55.756405 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of User::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class.user.php o    n line 161
125 [Thu Oct 20 13:16:55.756474 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of Organization::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class.or    ganization.php on line 0
126 [Thu Oct 20 13:16:55.756775 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of DynamicForm::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class.dyn    amic_forms.php on line 0
127 [Thu Oct 20 13:16:55.756823 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of DynamicFormField::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/clas    s.dynamic_forms.php on line 0
128 [Thu Oct 20 13:16:55.756846 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of DynamicFormField::save() should be compatible with VerySimpleModel::save($refetch = false) in /var/www/ticket/include/cla    ss.dynamic_forms.php on line 0
129 [Thu Oct 20 13:16:55.756872 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of DynamicFormEntry::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/clas    s.dynamic_forms.php on line 0
130 [Thu Oct 20 13:16:55.756894 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of DynamicFormEntryAnswer::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/includ    e/class.dynamic_forms.php on line 0
131 [Thu Oct 20 13:16:55.756927 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of SelectionField::getWidget() should be compatible with FormField::getWidget($widgetClass = false) in /var/www/ticket/inclu    de/class.dynamic_forms.php on line 0
132 [Thu Oct 20 13:16:55.758538 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of TypeaheadSelectionWidget::render($how) should be compatible with ChoicesWidget::render($mode = false) in /var/www/ticket/    include/class.dynamic_forms.php on line 0
133 [Thu Oct 20 13:16:55.758645 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of DynamicList::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class.lis    t.php on line 132
134 [Thu Oct 20 13:16:55.758687 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of DynamicListItem::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class    .list.php on line 456
135 [Thu Oct 20 13:16:55.758726 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of TicketStatus::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class.li    st.php on line 779
136 [Thu Oct 20 13:16:55.758748 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of TicketStatus::create($ht) should be compatible with VerySimpleModel::create($ht = false) in /var/www/ticket/include/class    .list.php on line 779
137 [Thu Oct 20 13:16:55.759586 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Warning:  Declaration of RandomSequence::save() should be compatible with VerySimpleModel::save($refetch = false) in /var/www/ticket/include/class    .sequence.php on line 0
138 [Thu Oct 20 13:16:55.759701 2016] [:error] [pid 32502] [client 5.10.160.146:50660] PHP Fatal error:  Cannot declare class Error, because the name is already in use in /var/www/ticket/include/class.error.php on line 0
139 [Thu Oct 20 13:16:59.144260 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of TicketModel::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class.use    r.php on line 36
140 [Thu Oct 20 13:16:59.144349 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of User::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class.user.php o    n line 161
141 [Thu Oct 20 13:16:59.144406 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of Organization::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class.or    ganization.php on line 0
142 [Thu Oct 20 13:16:59.144645 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of DynamicForm::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class.dyn    amic_forms.php on line 0
143 [Thu Oct 20 13:16:59.144669 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of DynamicFormField::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/clas    s.dynamic_forms.php on line 0
144 [Thu Oct 20 13:16:59.144679 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of DynamicFormField::save() should be compatible with VerySimpleModel::save($refetch = false) in /var/www/ticket/include/cla    ss.dynamic_forms.php on line 0
145 [Thu Oct 20 13:16:59.144689 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of DynamicFormEntry::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/clas    s.dynamic_forms.php on line 0
146 [Thu Oct 20 13:16:59.144699 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of DynamicFormEntryAnswer::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/includ    e/class.dynamic_forms.php on line 0
147 [Thu Oct 20 13:16:59.144714 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of SelectionField::getWidget() should be compatible with FormField::getWidget($widgetClass = false) in /var/www/ticket/inclu    de/class.dynamic_forms.php on line 0
148 [Thu Oct 20 13:16:59.144725 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of TypeaheadSelectionWidget::render($how) should be compatible with ChoicesWidget::render($mode = false) in /var/www/ticket/    include/class.dynamic_forms.php on line 0
149 [Thu Oct 20 13:16:59.144777 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of DynamicList::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class.lis    t.php on line 132
150 [Thu Oct 20 13:16:59.144797 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of DynamicListItem::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class    .list.php on line 456
151 [Thu Oct 20 13:16:59.144810 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of TicketStatus::delete() should be compatible with VerySimpleModel::delete($pk = false) in /var/www/ticket/include/class.li    st.php on line 779
152 [Thu Oct 20 13:16:59.144819 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of TicketStatus::create($ht) should be compatible with VerySimpleModel::create($ht = false) in /var/www/ticket/include/class    .list.php on line 779
153 [Thu Oct 20 13:16:59.145395 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Warning:  Declaration of RandomSequence::save() should be compatible with VerySimpleModel::save($refetch = false) in /var/www/ticket/include/class    .sequence.php on line 0
154 [Thu Oct 20 13:16:59.145469 2016] [:error] [pid 32574] [client 5.10.160.146:50661] PHP Fatal error:  Cannot declare class Error, because the name is already in use in /var/www/ticket/include/class.error.php on line 0

hoffe mal dass das der richtige log ist.(error.log)
Member: wiesi200
Solution wiesi200 Oct 20, 2016 at 13:22:25 (UTC)
Goto Top
Hallo,

mal nur geraten. Die PHP Version passt schon?
Mit PHP7 funktioniert OS Ticket nicht.
Member: ClepToManix
ClepToManix Oct 20, 2016 at 13:50:03 (UTC)
Goto Top
grrrrrrrrr
Das wird es wohl sein°°
Na dann muss ich mich mit dem Ticket-System ein bisschen umorientieren