Customizing SMF > Modifications and Packages
httpBL
Oldcrow:
--- Quote from: snoopy_virtual on May 08, 2012, 01:54:56 PM ---That file is correct.
Are you sure you uploaded it correctly to your forum?
Try uploading it again overwriting the file already inside the Sources folder in your forum.
--- End quote ---
What I did was make the change manually..
I'll ask Mick to make the change and upload it. Then this should take care of it..
Oldcrow:
Snoopy I keep getting this one error for sometime now..
--- Quote --- http://www.theover50goldengroup.com/smf/index.php?action=who 8: Undefined variable: scripturl File: /home/theoverg/public_html/smf/Sources/Who.php
Line: 439
--- End quote ---
Any thoughts on this..
snoopy_virtual:
mmmm
No idea.
As far as I know it has nothing to do with any of my mods.
Can you send me your file "Who.php" so I can take a look at it?
You will find it inside the Sources folder of your forum.
Oldcrow:
--- Quote from: snoopy_virtual on May 26, 2012, 06:05:34 PM ---mmmm
No idea.
As far as I know it has nothing to do with any of my mods.
Can you send me your file "Who.php" so I can take a look at it?
You will find it inside the Sources folder of your forum.
--- End quote ---
Sorry about this, I thought it was part of the program.
I did attach the who file for you.
snoopy_virtual:
Somebody has done a change there at line 422 and has done it wrong. That's what causes the error.
Ask whoever is doing those changes for you in your site if that change was a manual change or if it was done with a mod.
If it was done with a mod you would need to ask the guy who did the mod to correct it.
If it was done manually you can correct it also manually:
Inside the original SMF file (without any modification) the proper lines there are:
--- Code: --- // Unlisted or unknown action.
else
$data[$k] = $txt['who_unknown'];
--- End code ---
In your file somebody has modified them and you have:
--- Code: ---// Unlisted or unknown action.
else
// $data[$k] = $txt['who_unknown'];
$data[$k] = 'Viewing the <a href="' . $scripturl . '?action=' . $actions['action'] . '">' . $actions['action'] . '</a>';
--- End code ---
If you want that change to work properly without errors you should have;
--- Code: ---// Unlisted or unknown action.
else
{
// $data[$k] = $txt['who_unknown'];
global $scripturl;
$data[$k] = 'Viewing the <a href="' . $scripturl . '?action=' . $actions['action'] . '">' . $actions['action'] . '</a>';
}
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version