News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Uncooperative database or SMF...not sure which.

Started by Mish, April 09, 2007, 07:38:02 PM

Previous topic - Next topic

Mish

I had already reuploaded the file by the time the email notify for this came into my inbox, it's still there.  I checked the file anyway and it's still there.

Either that or I'm moving faster than my FTP program can handle.  It's still scrolling stuff. O:)
The Dragon Inn [nofollow] | UNSC Section 3 [nofollow]

Sarge

#21
If those // Pogo Awards lines are still there after your FTP program stops "scrolling stuff", download Themes/default/index.template.php via FTP, open it in a text editor and look at the start of the file. Can you show us the first 10 lines?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Mish

Quote from: Sarge on April 11, 2007, 07:25:20 PM
If those // Pogo Awards lines are still there after your FTP program stops "scrolling stuff", download Themes/default/index.template.php via FTP, open it in a text editor and look at the start of the file. Can you show us the first 10 lines?

Sure can.  I can grab it right out of my file manager without having to download anything (yay cPanel!).

Quote<?php
// Version: 1.1; index

/*   This template is, perhaps, the most important template in the theme. It
   contains the main template layer that displays the header and footer of
   the forum, namely with main_above and main_below. It also contains the
   menu sub template, which appropriately displays the menu; the init sub
   template, which is there to set the theme up; (init can be missing.) and
   the linktree sub template, which sorts out the link tree.

   The init sub template should load any data and set any hardcoded options.

   The main_above sub template is what is shown above the main content, and

That the right stuff?  And would reinstalling the mods make the message go away?  I did have more scribble than that, but after uploading a bunch of files again most of it went away.
The Dragon Inn [nofollow] | UNSC Section 3 [nofollow]

Sarge

#23
Quote from: Mish on April 11, 2007, 07:29:58 PM

That the right stuff?  And would reinstalling the mods make the message go away?  I did have more scribble than that, but after uploading a bunch of files again most of it went away.

Yep, that's the right stuff (the one that should be there, not the one that shouldn't). So those offending lines are elsewhere.

No, I think that reinstalling the mods would probably not resolve this particular issue.

Download all of the forum directory into your desktop. Do you have a text editor that can search in all files inside directories? If your PC is running Windows, you can also open the directory with Windows Explorer and press the F3 key to find where Pogo Awards is. Use these options:



If your PC is running Linux, use grep or a visual search tool.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Sarge

I've read good reviews about Notepad++. Among other things, it can find text in files inside directories.

http://notepad-plus.sourceforge.net/uk/site.htm

For quick results, download the zipped distribution of Notepad++, run notepad++.exe from within the ZIP archive and press Ctrl+Shift+F or select "Find in files..." in the Search menu. Use options similar to below:



When you find where the offending lines are, delete them and reupload the edited file(s). Make sure that you only delete lines from the start of file(s), before the opening <?php tag, and of course keep a backup copy.

If the problem persists, feel free to ask for help again. :)

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

metallica48423

I'd put 10 bux on it that they're in /Themes/default/languages/Modifications.english.php

At the bottom.

Check to make sure that everything is ABOVE the ?>

// Pogo Awards adminIndex text strings. $txt['awards'] = 'Awards'; $txt['pa_view_album'] = 'View member\'s badge album.'; $txt['pa_mods'] = 'Mods'; $txt['whoallow_pogoawards'] = 'Managing Awards.';

Those are language strings, as defined by $txt
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Mish

The last ten lines of Modifications.english.php

Quote$txt['permissionname_payPal_view'] = 'View Donation Page';
$txt['permissionhelp_payPal_view'] = 'Allow the people to view the Donation Page.  If not set, the people will not see the page.';
?>
// Pogo Awards adminIndex text strings.
$txt['awards'] = 'Awards';
$txt['pa_view_album'] = 'View member\'s badge album.';
$txt['pa_mods'] = 'Mods';
$txt['whoallow_pogoawards'] = 'Managing <a href="' . $scripturl . '?action=awards">Awards</a>.';

So I delete everything after ?> right?
The Dragon Inn [nofollow] | UNSC Section 3 [nofollow]

metallica48423

Thats your culprit.


No, just move it above it.  copy & paste
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Mish

The Dragon Inn [nofollow] | UNSC Section 3 [nofollow]

metallica48423

Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Sarge


    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

metallica48423

Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Advertisement: