HTTP 500 error

dryabov
6 years, 6 months ago
I've just installed MJ2 and ArticlesAnywhere2.4.6 on a test Joomla!1.5 website, and seems it works well. Not sure 2.4.6 is fully backward compatible with 1.6.1, it is that you should test.
ldor
6 years, 6 months ago
I've tried and the result was not satisfying unfortunately. After updating Articles Anywhere, the mobile version stopped working completely - not some pages, all of them. So I had to restore the site from backup.

So probably that is it with the basic template. Do you have any other nice templates that I could try?
dryabov
6 years, 6 months ago
All our mobile templates are based on the same underlying framework, so most likely switching to another template doesn't affect this issue at all. Could you zip plugins/system/articlesanywhere directory and send it me (denis​@​mobilejoomla.com)?
ldor
6 years, 6 months ago
I've sent it now
dryabov
6 years, 6 months ago
Try to found line
		$head = JDocumentRendererHead::fetchHead( $document );

in plugins/system/articlesanywhere/helper.php and prepend it with following line:
		JDocument::loadRenderer('head');

It should load JDocumentRendererHead class properly.
ldor
6 years, 6 months ago
I've done it, got the following result when trying to open one of those pages that causes the error:

500 - Unable to load renderer class

JERROR_LAYOUT_NOT_ABLE_TO_VISIT

JERROR_LAYOUT_AN_OUT_OF_DATE_BOOKMARK_FAVOURITE
JERROR_LAYOUT_SEARCH_ENGINE_OUT_OF_DATE_LISTING
JERROR_LAYOUT_MIS_TYPED_ADDRESS
JERROR_LAYOUT_YOU_HAVE_NO_ACCESS_TO_THIS_PAGE
JERROR_LAYOUT_REQUESTED_RESOURCE_WAS_NOT_FOUND
JERROR_LAYOUT_ERROR_HAS_OCCURRED_WHILE_PROCESSING_YOUR_REQUEST

JERROR_LAYOUT_PLEASE_TRY_ONE_OF_THE_FOLLOWING_PAGES

JERROR_LAYOUT_PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR
ldor
6 years, 6 months ago
So, now the error message is much longer but the error still persists
dryabov
6 years, 6 months ago
Try to replace previously suggested line with following one:

		$document->loadRenderer('head');
ldor
6 years, 6 months ago
Seems to be working now
Currently I am testing the site on my PC and because of some limitations on the local network not all functionality is available. When I am out, will check it on my phone and will update you of the result. But seems to be working.
Thanks a lot!!!
ldor
6 years, 6 months ago
Yes, I've tested the site on my phone. Everything works fine now. Thanks a lot!
1 2 4

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.