Skip to main content
Language file issue in addons Started by vbgamer45 · · Read 7851 times 0 Members and 1 Guest are viewing this topic. previous topic - next topic

Language file issue in addons

I keep getting thiss in my error logs every now and then for some of my mods.
Undefined variable: scripturl in themes\default\languages\english\Gallery.english.php


https://addons.elkarte.net/feature/ezGallery-Lite.html
https://addons.elkarte.net/feature/Download-System-Lite.html

These two mods I have the issue.




Re: Language file issue in addons

Reply #1

Code: [Select]
$txt['whoall_gallery'] = 'In the <a href="' . $scripturl . '?action=gallery">Gallery</a>';
But you didn't put any global before it. ;)
Bugs creator.
Features destroyer.
Template killer.

Re: Language file issue in addons

Reply #2

Thanks!

Re: Language file issue in addons

Reply #3

yw
Bugs creator.
Features destroyer.
Template killer.