Page 1 of 2
Error 500 - JHtml image not found
Posted: 15 Jan 2014, 01:29
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
Re: Error 500 - JHtml image not found
Posted: 18 Jan 2014, 21:14
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
Re: Error 500 - JHtml image not found
Posted: 20 Jan 2014, 13:58
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
Re: Error 500 - JHtml image not found
Posted: 20 Jan 2014, 21:00
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
Re: Error 500 - JHtml image not found
Posted: 21 Jan 2014, 02:48
by zaplcgn
have the same problem...Fault 500 in standard template and my template too

( In Backend everything fine
Re: Error 500 - JHtml image not found
Posted: 21 Jan 2014, 02:51
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
Re: Error 500 - JHtml image not found
Posted: 21 Jan 2014, 03:13
by zaplcgn
where did you do this can't find it

Re: Error 500 - JHtml image not found
Posted: 23 Jan 2014, 19:44
by Jan
zaplcgn
If you get problem in your template, you need to search the template files and/or ask your template developer
Jan
Re: Error 500 - JHtml image not found
Posted: 24 Jan 2014, 00:27
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???
Re: Error 500 - JHtml image not found
Posted: 27 Jan 2014, 23:48
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
Jan