Phoca Gallery Button Plugin - Error 500

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
gstockinger
Phoca Member
Phoca Member
Posts: 10
Joined: 21 Aug 2009, 13:51

Phoca Gallery Button Plugin - Error 500

Post by gstockinger »

Hi,

I have installed the new Phoca Gallery Button Plugin (I am very glad about this new feature!), but it does not work for me. After pressing the new button in JCE-Editor it gives me an Error 500 within the Pop-Up Window, saying:
Error 500 - Page not found [name, type, prefix]: phocagallerylinks,html,phocagalleryView

I have also upgraded the Gallery component and the Gallery Plugin to the new Beta-Version 2.5.7.

Any ideas?

Thank you,
Gerald
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button Plugin - Error 500

Post by Jan »

Hi, try it with standard editor TinyMCE or FCK. I don't know JCE so maybe I need to try what can be wrong there.

But this problem:
Error 500 within the Pop-Up Window, saying:
Error 500 - Page not found [name, type, prefix]: phocagallerylinks,html,phocagalleryView

is related to not installed latest component version (2.5.7 beta).


It seems like in JCE all buttons don't work :-(

Jan
If you find Phoca extensions useful, please support the project
gstockinger
Phoca Member
Phoca Member
Posts: 10
Joined: 21 Aug 2009, 13:51

Re: Phoca Gallery Button Plugin - Error 500

Post by gstockinger »

Hello Jan,

Thank's for your reply - like I said, all my files are the latest version 2.5.7 Beta (component, plugin, button plugin) - I checked and it also says so in the extensions administration. Everything else still works fine except for the new editor button.

I switched the editor to TinyMCE, but it does not work either.
I also completely replaced the component files via FTP with the installation files as you mention here: https://www.phoca.cz/documents/2-phoca-g ... em-solving

Still not working.

Could you give me a hint were to look or what to try to trace down the error?

Would be very grateful,
Gerald
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button Plugin - Error 500

Post by Jan »

Is the plugin enabled (I don't mean installed) but enabled in Plugin Manager?
If you find Phoca extensions useful, please support the project
gstockinger
Phoca Member
Phoca Member
Posts: 10
Joined: 21 Aug 2009, 13:51

Re: Phoca Gallery Button Plugin - Error 500

Post by gstockinger »

Yes, it is enabled.

I am no Joomla-Pro - anyway I enabled debugging and it gave me the following output. Maybe that does tell you something.

Thank you,
Gerald

Call stack
# Function Location
1 JSite->dispatch() /homepages/14/d278703857/htdocs/joomla/index.php:68
2 JComponentHelper->renderComponent() /homepages/14/d278703857/htdocs/joomla/includes/application.php:124
3 require_once() /homepages/14/d278703857/htdocs/joomla/libraries/joomla/application/component/helper.php:162
4 JController->execute() /homepages/14/d278703857/htdocs/joomla/components/com_phocagallery/phocagallery.php:45
5 PhocaGalleryController->display()

/homepages/14/d278703857/htdocs/joomla/libraries/joomla/application/component/controller.php:236
6 JController->display() /homepages/14/d278703857/htdocs/joomla/components/com_phocagallery/controller.php:17
7 JController->getView() /homepages/14/d278703857/htdocs/joomla/libraries/joomla/application/component/controller.php:293
8 JError->raiseError() /homepages/14/d278703857/htdocs/joomla/libraries/joomla/application/component/controller.php:470
9 JError->raise() /homepages/14/d278703857/htdocs/joomla/libraries/joomla/error/error.php:171
10 JException->__construct() /homepages/14/d278703857/htdocs/joomla/libraries/joomla/error/error.php:136
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button Plugin - Error 500

Post by Jan »

Seems like views for buttons are missed. Please let me know the folder names in folder

administrator/components/com_phocagallery/views/
If you find Phoca extensions useful, please support the project
gstockinger
Phoca Member
Phoca Member
Posts: 10
Joined: 21 Aug 2009, 13:51

Re: Phoca Gallery Button Plugin - Error 500

Post by gstockinger »

The folders are:
  • phocagallery
    phocagalleryc
    phocagalleryco
    phocagallerycos
    phocagallerycp
    phocagallerycs
    phocagalleryd
    phocagalleryf
    phocagalleryg
    phocagalleryi
    phocagalleryin
    phocagallerylinkcats
    phocagallerylinkimg
    phocagallerylinks
    phocagallerym
    phocagalleryra
    phocagalleryraimg
    phocagallerys
    phocagalleryt
    phocagalleryupgrade
Gerald
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button Plugin - Error 500

Post by Jan »

Then I need to see it live. If you can do some super administrator login for testing, please let me know it (via pm) with the site address, so I can see it.

Thank you, Jan
If you find Phoca extensions useful, please support the project
gstockinger
Phoca Member
Phoca Member
Posts: 10
Joined: 21 Aug 2009, 13:51

Re: Phoca Gallery Button Plugin - Error 500

Post by gstockinger »

Hello Jan,

thank you for checking at my website - now I see my mistake: I did it in frontend, and you say it's only a backend-plugin, so it just works in the admin interface.

This is very sad because it would be extremely useful for our editors just using the frontend (it is harder for them to get the item-ID and they are less experienced than our admins).

By the way: I couldn't find this hint on the Plugin-Description on your website - I think it would be good to make this point clear, or even better make this functionality also available in frontend (and the button is already there which is confusing) - would that be hard?

Thank you,
Gerald
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button Plugin - Error 500

Post by Jan »

Ok, I will write something about it. the feature request added into feature request list.

Jan
If you find Phoca extensions useful, please support the project
Post Reply