SMF Support > SMF 2.0.x Support

Over 16000 errors in less than a week

(1/2) > >>

mpforum:
Hi all.

Recently installed the 'Google Member Map' mod on SMF 2.0 Beta 3.1 Public. Now I have over 16000 errors in 6 days of activity. The error is in /Themes/default/languages/Modifications.english.php line 14, which is:

$txt['googleMapAddPinNote'] = '<a href="' . $scripturl . '?action=profile;sa=forumProfile">Click here to go place your pin if you have not already.</a>';

This error is generated every time a page loads. Anyone have any idea as to what is going on?

Thanks in advance,
Dean.
www.mpforum.com.au

SlammedDime:
What is the error? 

mpforum:
Type of error: Undefined

8: Undefined variable: scripturl

Nathaniel:
Try adding this code, just before that code in your 'Modifications.english.php' file.

--- Code: ---global $scripturl;
--- End code ---

mpforum:
Thanks LHVWB, that stopped the error, but it has made another 2 errors come up.

Navigation

[0] Message Index

[#] Next page

Go to full version