Hi All,

Whenever I enable SEO tools I get whole bunch of errors as per below.. can anybody advise how to fix?

Thank you.

Notice: Use of undefined constant SEOTOOLS_REPORT_DASHBOARD_STYLE_DEFAULT - assumed 'SEOTOOLS_REPORT_DASHBOARD_STYLE_DEFAULT' in include_once() (line 4 of G:\wamp\www\site\sites\all\modules\seotools\seotools.module).
Notice: Use of undefined constant SEOTOOLS_REPORT_DASHBOARD_ROWS_DEFAULT - assumed 'SEOTOOLS_REPORT_DASHBOARD_ROWS_DEFAULT' in include_once() (line 5 of G:\wamp\www\site\sites\all\modules\seotools\seotools.module).
Notice: Use of undefined constant SEOTOOLS_REPORT_STYLE_DEFAULT - assumed 'SEOTOOLS_REPORT_STYLE_DEFAULT' in include_once() (line 6 of G:\wamp\www\site\sites\all\modules\seotools\seotools.module).
Notice: Use of undefined constant SEOTOOLS_REPORT_ROWS_DEFAULT - assumed 'SEOTOOLS_REPORT_ROWS_DEFAULT' in include_once() (line 7 of G:\wamp\www\site\sites\all\modules\seotools\seotools.module).

Comments

kingandy’s picture

Issue summary: View changes

In case anyone's still using the 6.x branch ... there's four lines at the top of seotools.module which try to define constants using constants as the constant names. They just need quote marks wrapping around the constant names, like so:

define('SEOTOOLS_REPORT_DASHBOARD_STYLE_DEFAULT', 'simple');
define('SEOTOOLS_REPORT_DASHBOARD_ROWS_DEFAULT', 5);
define('SEOTOOLS_REPORT_STYLE_DEFAULT', 'full');
define('SEOTOOLS_REPORT_ROWS_DEFAULT', 20);
technologywon’s picture

Status: Active » Closed (outdated)

Drupal 6 is no longer supported.

b-reid’s picture

I am closing this issue because Drupal 6.x has reached EOL and is no longer supported as of February 26th, 2016.

If you are still using the 6.x branch... follow what @kingandy has done above.