Keyword

error in joomla "tag" page

  • NIccolò Angeli
  • NIccolò Angeli's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 7 months ago #147774 by NIccolò Angeli
Replied by NIccolò Angeli on topic error in joomla "tag" page

Lefteris wrote: Try to add the following code right after line 86:

		if(is_string($params))
		{
			$params = class_exists('JParameter') ? new JParameter($params) : new JRegistry($params);
		}


Still not woking for me, sorry :-(

this is the code I have now from line 82 to 91, just to be sure I inserted it correctly
// Control external parameters and set variable for controlling plugin layout within modules
		if (!$params) {
			$params = class_exists('JParameter') ? new JParameter(null) : new JRegistry(null);
		}
		$parsedInModule = $params->get('parsedInModule');

		if(is_string($params))
 {
 $params = class_exists('JParameter') ? new JParameter($params) : new JRegistry($params);
 }

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #147811 by Bob
Replied by Bob on topic error in joomla "tag" page
I'm having the same problems. A menu item of Tags > Tagged Items will deliver an empty page if it includes a tagged article containing a video.

I have set up a local version of my site using MAMP and turned off all 3rd party extensions and plugins and many Joomla items that are not necessary and still get the same error. I've also upgraded to 4.7.1 from the link in this thread with no changes.

Is there something I can revert to that will make this go away until it can be fixed? Is it a certain version of Joomla where this breaks? Was it 3.4.4 for everyone having the problem?

I tried the fix in post www.joomlaworks.net/forum/allvideos/42999-error-in-joomla-tag-page?limitstart=0#147551 and finds it helps but does not fix the issue.

Thanks for any suggestions.

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #147820 by Bob
Replied by Bob on topic error in joomla "tag" page
Hi, here's some more info that may lead to an answer.

My live site is broken, so I made a copy and loaded it on MAMP on a local machine. It was also broken. After trying a bunch of things, mostly turning off everything I could get away with, and cleaning up some old data from the live site I exported a new MySQL dump of the live site database and loaded it into my local version. Now the local version was working! I hopefully tried wiping and re-uploading to the live server using the same MySQL dump but it didn't fix the live version.

The PHP settings are different for the local and the live server. I'm attaching the specs for each, labeling one Broken and the other Working to see if any clues can be found there.

The broken one is using PHP 5.5.27 and the working one on MAMP is using 5.5.26 but also works with 5.6.10

dl.dropboxusercontent.com/u/4014332/Broken.pdf
dl.dropboxusercontent.com/u/4014332/Working.pdf

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #147821 by Bülent Özden
Replied by Bülent Özden on topic error in joomla "tag" page
Can the order of content plugins be important?

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago - 8 years 7 months ago #147824 by Bob
Replied by Bob on topic error in joomla "tag" page
Thanks for reminding me :) I just tried this, I can only change the order a little bit but moved allvideos as high and as low as I could with no success. It could be the order of some other plugins but I have no idea what to change.

There must be something I can change as it did not work on MAMP at first but now it does.
Last edit: 8 years 7 months ago by Bob.

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #147830 by Lefteris
Replied by Lefteris on topic error in joomla "tag" page
The fix i provided solves the issue for me. Just ensure that you have applied correctly. The final code ( lines 83 - 90 ) should look like:
		if (!$params) {
			$params = class_exists('JParameter') ? new JParameter(null) : new JRegistry(null);
		}
		if(is_string($params))
		{
			$params = class_exists('JParameter') ? new JParameter($params) : new JRegistry($params);
		}
		$parsedInModule = $params->get('parsedInModule');

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • NIccolò Angeli
  • NIccolò Angeli's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 7 months ago #147835 by NIccolò Angeli
Replied by NIccolò Angeli on topic error in joomla "tag" page

Lefteris wrote: The fix i provided solves the issue for me. Just ensure that you have applied correctly. The final code ( lines 83 - 90 ) should look like:

		if (!$params) {
			$params = class_exists('JParameter') ? new JParameter(null) : new JRegistry(null);
		}
		if(is_string($params))
		{
			$params = class_exists('JParameter') ? new JParameter($params) : new JRegistry($params);
		}
		$parsedInModule = $params->get('parsedInModule');



Thanks a lot, is finally working! :-)

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #147838 by Bob
Replied by Bob on topic error in joomla "tag" page
Yes thank you Lefteris, it seems to be working for me too. :)

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #147889 by Lefteris
Replied by Lefteris on topic error in joomla "tag" page
Thank you everyone for your feedback.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Nicolaie Constantinescu
  • Nicolaie Constantinescu's Avatar
  • Offline
  • New Member
More
8 years 5 months ago #149462 by Nicolaie Constantinescu
Replied by Nicolaie Constantinescu on topic error in joomla "tag" page
The hot fix worked for me as well. Thank you.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum