Fatal error: Cannot redeclare class Voicemail in /var/www/html/recordings/modules/voicemail.module on line 11

Hi all!

A few days ago, I tried to open the Recording page. I did it and everything was working perfect, but I never tried to listen my voicemail and records. Today I need that thing and I can’t do it.

When I tried to open any voicemail o records, a error page appear. So, I saw in this thread:

http://www.freepbx.org/trac/ticket/2565

a possible solution for this…

The thing is: when I did that, I had a new error:

“Fatal error: Cannot redeclare class Callmonitor in /var/www/html/recordings/modules/callmonitor.module on line 11”

then, I saw in this thread:

http://www.trixbox.org/forums/trixbox-forums/open-discussion/solved-make-hud-recordings-show-ari-plus-more

a possible solution for this… but NOT! now I have a new error:

“Fatal error: Cannot redeclare class Voicemail in /var/www/html/recordings/modules/voicemail.module on line 11”

I already tried to reinstall FreePBX but nothing happens…

Any idea?? thanks in advance
(sorry for my english)

reinstalling won’t remove what ever duplication you have in there. You can delete all the files in /var/www/html/recordings directory and then reinstall it and that should get rid of what ever duplication you got in there that is causing the problem.

Ok, but I did a backup from files! and doesn’t work either. so, do you think that reinstaling (after deleting) going to work?

I did it.

SOLVED