Error 500 - JHtml image not found

Phoca Gallery - image gallery extension
TheBearded
Phoca Member
Phoca Member
Posts: 13
Joined: 07 Apr 2012, 13:11

Error 500 - JHtml image not found

Post by TheBearded »

Hi,

I have a site running Joomla 3.2.1 and PG 4.1.0. The list of categories gets displayed, but when I click on a category I get the error "Error 500 - JHtml image not found". Re-installing PG has not brought a solution. In the backend, all images are assigned to the right category and the files exist on the server.

Any ideas?

Thanks,
Ben
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error 500 - JHtml image not found

Post by Jan »

Hi, JHtml is a Joomla! function, so reinstalling Phoca Gallery will not help.
Do you get any complete php error message (with all the code and line of the php code - when you enable debug mode and php error reporting)

Jan
If you find Phoca extensions useful, please support the project
TheBearded
Phoca Member
Phoca Member
Posts: 13
Joined: 07 Apr 2012, 13:11

Re: Error 500 - JHtml image not found

Post by TheBearded »

Hi,

this is what I get from the error logging:

Notice: Undefined index: phocagallerywidth in /var/www/xyz/joomla/templates/xxxxx/html/com_phocagallery/categories/default.php on line 22

Notice: Undefined index: displayimagecategories in /var/www/xyz/joomla/templates/xxxxx/html/com_phocagallery/categories/default.php on line 63

Notice: Undefined index: displayimagecategories in /var/www/xyz/joomla/templates/xxxxx/html/com_phocagallery/categories/default.php on line 124

Notice: Undefined index: displayimagecategories in /var/www/xyz/joomla/templates/xxxxx/html/com_phocagallery/categories/default.php on line 263

Notice: Undefined index: displayimagecategories in /var/www/xyz/joomla/templates/xxxxx/html/com_phocagallery/categories/default.php on line 372

And here's the call stack:

Call stack

14 JHtml::_() /var/www/xyz/joomla/templates/xxxxx/html/com_phocagallery/category/default.php:209


That's all I can find for now...

Thanks for your support,
Ben
Last edited by TheBearded on 20 Jan 2014, 21:48, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error 500 - JHtml image not found

Post by Jan »

Hi, notices do not cause 500, there must be some fatal error. Anyway try to reinstall the component, because there are a lot of notices, etc. :-( (did someone edited the component?)

EDIT: aha now I see, the notices are comming from template outputs, which overwrite the component, so reinstalling component will not help.

What happen, when you switch to standard template?

Jan
If you find Phoca extensions useful, please support the project
zaplcgn
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 21 Jan 2014, 02:46

Re: Error 500 - JHtml image not found

Post by zaplcgn »

have the same problem...Fault 500 in standard template and my template too :(( In Backend everything fine
TheBearded
Phoca Member
Phoca Member
Posts: 13
Joined: 07 Apr 2012, 13:11

Re: Error 500 - JHtml image not found

Post by TheBearded »

Hi,

for me it worked disabling the gallery overrides in the theme - then everything worked fine. Thanks, Jan, for pointing into this direction! the template was made from somebody else so I didn't think of this...

Best regards,
Ben
zaplcgn
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 21 Jan 2014, 02:46

Re: Error 500 - JHtml image not found

Post by zaplcgn »

where did you do this can't find it :(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error 500 - JHtml image not found

Post by Jan »

zaplcgn

If you get problem in your template, you need to search the template files and/or ask your template developer :idea:

Jan
If you find Phoca extensions useful, please support the project
zaplcgn
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 21 Jan 2014, 02:46

Re: Error 500 - JHtml image not found

Post by zaplcgn »

i had the problem not in my template only, its the problem in standard JOOMLA Templates Too Protostar beez3......therefore it seems to be no template problem???
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error 500 - JHtml image not found

Post by Jan »

Hi, from the error messages:
... joomla/templates/xxxxx/html/com_phocagallery/category/default.php

I see, this problem occurs in the template. If you have it on other place, will be great to paste here the error message to know on which place you get the problem :idea:

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