0
Welcome Guest! Login
0 items Join Now

SEO related error?

  • SEO related error?

    Posted 16 years 2 months ago
    • Hi, I searched for this particular error message but didn't find one quite the same.

      My site is Joomla 1.5 with Dimensions. I'm using Joomla SEO Settings on. The site works but I noticed the following error message:

      Warning: Missing argument 1 for setgenerator() in /hermes/bosweb/web010/b103/sl.mywebsitename/public_html/libraries/joomla/document/document.php on line 627

      I have minimal knowledge of php, can anyone tell me what this error means and if this is something I can fix?

      Thanks for any help!
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: SEO related error?

    Posted 16 years 2 months ago
    • Hi Tina,

      Could you provide a link to your site please? The important information here that I can't determine from your post is which file contains the incorrect call to setGenerator();
    • Ragdata's Rubber Duck
      www.ragdata.net/
  • Re: SEO related error?

    Posted 16 years 2 months ago
    • Thanks, Ragdata. The site is here .

      Much appreciated!
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: SEO related error?

    Posted 16 years 2 months ago
    • Alright - I'm stumped ... I even did a bunch of testing on one of my 1.5 sites with Dimensions.

      Could you verify that you have the latest version of the template installed (latest is 1.5.4 updated on 07.02.08)?

      setGenerator is a function that can be found in a template - and it LOOKS as though your error is being generated from a template ... but I couldn't find the call in my copy.

      The GOOD news is that this is not a critical error, and you could get rid of the warning by setting your error_reporting level a little lower ... but that's kinda not the point, is it.

      The BAD news is that, outside of the template, I really couldn't find any other obvious reason for the error.
    • Ragdata's Rubber Duck
      www.ragdata.net/
  • Re: SEO related error?

    Posted 16 years 2 months ago
    • I checked and the template reads "1.5.1 10/30/07". I did not know templates can/need to be updated. Would I find instructions in a FAQ or on the board?

      The reason I thought it might be SEO related is it began to appear after we turned that setting on in Global. There's also an extension added, but disabled, called sh404SEF. It'd been installed but then we found SEO under Global and decided to use that. We weren't sure about removing sh404 and thought perhaps we'd just leave it be but not use it.

      If this error is not a real issue, I guess we could lower the setting. Right, not the point, but if it's a minor thing then I suppose we could. Would the lower reporting level be of any disadvantage otherwise?
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: SEO related error?

    Posted 16 years 2 months ago
    • No - lowering the error_reporting level would not be a disadvantage at all. If you're not a developer, you really only need to know about the important errors which are going to affect application / data integrity rather than each little variable that has been declared incorrectly (you'll see this often if you use enough 3PD extensions). The only real problem this error is causing is that your META Generator tag is not being filled out - but it would be annoying enough for me to want to find the cause.

      During my testing, I checked the Joomla-standard SEO functionality and couldn't replicate your error either.

      Updating your template should be as easy as downloading the latest package, uploading via Joomla and doing your custom modifications again (the only drawback). I just double-checked however, and my template is reading as the same version / date. I KNOW I have the latest version as I only deployed that site in the past couple of weeks - so that is probably an oversight on the part of the RT Team in that they did not update the template's XML file. So, perhaps you should only update if your site is older or you know that you downloaded the template before the last update.

      It's annoying the crap out of me - but I couldn't really help you fix it unless I got in there and got my hands dirty by running some tracer code through it ... and aside from the principle of not hitting someone's server without sending an invoice, I really don't have the time to do it right now.

      To drop your error_reporting level down a bit, drop this line of code in your main Joomla index.php file - somewhere near the beginning of the file ... perhaps even after the first comments block:

      ini_set('error_reporting', '1');
    • Ragdata's Rubber Duck
      www.ragdata.net/
  • Re: SEO related error?

    Posted 16 years 2 months ago
    • Thanks Ragdata! The site was just created, within the past month.

      So to be certain, I can drop the line of code, here for example:
      * See COPYRIGHT.php for copyright notices and details.
      */

      // Set flag that this is a parent file
      define( '_JEXEC', 1 );

      define('JPATH_BASE', dirname(__FILE__) );

      define( 'DS', DIRECTORY_SEPARATOR );

      ini_set('error_reporting', '1');

      require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
      require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );

      JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null;

      /**
      * CREATE THE APPLICATION
      *
      * NOTE :
      */
      $mainframe =& JFactory::getApplication('site');

      I'll pass along the info to the owner, that (depending on constraints/availability) you could potentially be available to consult if they want to pursue it still after the above.

      Really, really appreciate your help!
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: SEO related error?

    Posted 16 years 2 months ago
    • You're most welcome Tina. It's great to be appreciated.

      That position would be fine for the ini_set - and thank you very much for the referral.
    • Ragdata's Rubber Duck
      www.ragdata.net/

Time to create page: 0.078 seconds