New Module Producing Internal Server Error

Moderator: crythias

Locked
Jason
Znuny newbie
Posts: 15
Joined: 29 Jul 2013, 16:24
Znuny Version: 3.1.7

New Module Producing Internal Server Error

Post by Jason »

Hi,

I've put together a very simple module going off of the developers guide.

The module I have works for the most part yet however when the module is removed the NavBar item the module creates does not get removed and remains there which just errors as its files have been removed.

How would I be able to fix this?

Im using OTRS 4.
Last edited by Jason on 28 Jan 2015, 12:49, edited 1 time in total.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: New Module Removal Issue

Post by reneeb »

Did you create a .opm file (to be able to manage the customization through the package manager)? What does the module look like? Do you add the menu items with code or just with the Config-XML?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Jason
Znuny newbie
Posts: 15
Joined: 29 Jul 2013, 16:24
Znuny Version: 3.1.7

Re: New Module Removal Issue

Post by Jason »

reneeb wrote:Did you create a .opm file (to be able to manage the customization through the package manager)? What does the module look like? Do you add the menu items with code or just with the Config-XML?
Sorry, I managed to fix the issues but now other ones have seemed to replace them.

I'll explain the situation im in now.

I have the .opm file and it loads int he new tab, it removes the tab now when I remove the .opm.
However the page that the .opm is supposed to make is just providing me with an Internal Server error, and I've tried many things to try and resolve this to no success which I think is a bit odd since I've kept the original files from the guide the same. Could this be down to a compiling error possibly?

Would you need some logfiles to help?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: New Module Producing Internal Server Error

Post by reneeb »

Please show the code of your module and what the error log says.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked