Keyword

error when using the plugin SEO Simple

  • Cornerstone Properties, LLC
  • Cornerstone Properties, LLC's Avatar
  • Offline
  • New Member
More
15 years 1 week ago #71792 by Cornerstone Properties, LLC
Replied by Cornerstone Properties, LLC on topic error when using the plugin SEO Simple
I was wondering if someone can share (or let me know the starting point that would let me figure out) how to:

'adding a simple check in the plugin so it doesn't executed on admin sections'.

Thanks
Jeff

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

  • Cornerstone Properties, LLC
  • Cornerstone Properties, LLC's Avatar
  • Offline
  • New Member
More
15 years 1 week ago #71793 by Cornerstone Properties, LLC
Replied by Cornerstone Properties, LLC on topic error when using the plugin SEO Simple
Thanks Mircea. I'm actually working with SEO generator, which I believe is having similar problem as SEO simple.

I tried adding your text, but did not work. There is currently, in the SEO Generator PHP file the following in the same place where you specified:

jimport('joomla.event.plugin');

I added your text, removed the above, tried with both jimport lines, and all combinations, but did not work. There is also the following in my PHP file:

// only mod site pages that are html docs (no admin, install, etc.)
if (!$mainframe->isSite()) return ;
if ($docType != 'html') return ;

I'm not sure if this is possibly the issue or related as well, but I'm getting the following error when I access K2 items in the administrator:

Fatal error: Class 'JSite' not found in /home/detroitr/public_html/organicproductmall/plugins/system/SEOGenerator.php on line 214

Thanks for your help--any other suggestions or thought? Jeff

Mircea said:Hello Try to add
jimport( 'joomla.plugin.plugin' );

after:

// Import library dependencies (line 11) in plugins/system/SEOSimple.php

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

More
15 years 6 days ago #71794 by John Comeskey
Replied by John Comeskey on topic error when using the plugin SEO Simple
Mircea said:Hello Try to add

jimport( 'joomla.plugin.plugin' );

after:

// Import library dependencies (line 11) in plugins/system/SEOSimple.php


This fixed the problem with SEOSimple.
Nope, sorry, no it didn't. I forgot what the problem was!! HA! Still cannot create new K2 items from the backend. When opening a new item, admin gets blank screen.

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

More
15 years 1 day ago #71795 by Travis Prebble
Replied by Travis Prebble on topic error when using the plugin SEO Simple
John Comeskey said:Mircea said:Hello Try to add
jimport( 'joomla.plugin.plugin' );

after:

// Import library dependencies (line 11) in plugins/system/SEOSimple.php


Nope, sorry, no it didn't. I forgot what the problem was!! HA! Still cannot create new K2 items from the backend. When opening a new item, admin gets blank screen.


Didn't fix the problem for me, either.

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

  • Cornerstone Properties, LLC
  • Cornerstone Properties, LLC's Avatar
  • Offline
  • New Member
More
15 years 1 day ago #71796 by Cornerstone Properties, LLC
Replied by Cornerstone Properties, LLC on topic error when using the plugin SEO Simple
Mircea, thank you! Your fix has now made SEO Generator work with K2! Awesome (not sure about SEO Simple-I don't use that). Jeff

Mircea said:sorry for late response;
You are right, for some reason it doesn't work for me anymore

Try this please:

after
function isFrontPage()
{

add

global $mainframe;
if (!$mainframe->isSite()) return;

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

More
15 years 1 day ago #71797 by John Comeskey
Replied by John Comeskey on topic error when using the plugin SEO Simple
Yep, this works for SEOSimple too. Thanks Mircea!!

Mircea said:sorry for late response;
You are right, for some reason it doesn't work for me anymore

Try this please:

after
function isFrontPage()
{

add

global $mainframe;
if (!$mainframe->isSite()) return;

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

  • Mustafa M. Abdel Rahman
  • Mustafa M. Abdel Rahman's Avatar
  • Offline
  • New Member
More
14 years 11 months ago #71798 by Mustafa M. Abdel Rahman
Replied by Mustafa M. Abdel Rahman on topic error when using the plugin SEO Simple
Hi, I'm having the same problem between SEO Generator and K2.
I've added the two lines but now everything stopped working and finally had to disable SEO Generator.

In addition to the previous error displayed in the backend(sorry to not paste it here as it is toooo long), another 500 error displayed by sh404SEF shows on the front end:
SH404SEF : headers were already sent when I got control!
Killed at line 122 in sh404sef.inc.php: HEADERS ALREADY SENT (200)
URL=http://www.4xtechnicales.com/
OPTION=com_content
Don't know if this because of sh404SEF and SEOG or something else, but everything was working smoothly ill i added those 2 lines.

I'm using:
- Joomla 1.5.12
- K2 2.0 (dated 6 August)
- SEO Generator 2.1
- sh404SEF 1.5.2.254

Thank you

Jeff Cooper said:Mircea, thank you! Your fix has now made SEO Generator work with K2! Awesome. JeffMircea said:after function isFrontPage() { add global $mainframe; if (!$mainframe->isSite()) return;

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

More
14 years 9 months ago #71799 by bkemler
Replied by bkemler on topic error when using the plugin SEO Simple
SEO Simple also doesn't seem to work with K2 on items that contain image galleries rendered through SIG. Instead of displaying the beginning of the item text as the meta description, it displays the item ID number as the meta description.

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

More
14 years 3 months ago #71800 by angelina
Replied by angelina on topic error when using the plugin SEO Simple
Hi,

Thanks for sharing

Seo India

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

More
13 years 5 months ago #71801 by Haryanto Hartono
Replied by Haryanto Hartono on topic error when using the plugin SEO Simple
I can't believe it, but yes this works for SEOSimple! Thank you for sharing.

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


Powered by Kunena Forum