Author Topic: Petition for help/SUs User Editor dissappears  (Read 7695 times)

Shane

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
    • Dragon's PlayPen
Petition for help/SUs User Editor dissappears
« on: January 09, 2009, 03:20:54 am »
On my server, I noticed this recently and it also happens on the only other server i visit...

from time to time, the Petition For Help button will disappear and the same for the super users user editor and petition viewer.
If I can, I will. If I can't, I'll try like hell.

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Petition for help/SUs User Editor dissappears
« Reply #1 on: January 09, 2009, 09:49:07 am »
Care to share the game version?

I never experienced this - and the way they work I can say: "Petition for Help" should never disappear, it's basically hardcoded in lib/pageparts.php - you can't alter it by a module. Well, not without brute force.

The user editor / petition display is basically the same - except if you have no admin rights, it won't display, but you can't temper with that either.

Though, I never heard anything about it nor had the problem myself.
It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro

Shane

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
    • Dragon's PlayPen
Re: Petition for help/SUs User Editor dissappears
« Reply #2 on: January 09, 2009, 10:20:36 pm »
Oh, I'm sorry. the version is 1.2.1

::EDIT::
I have AJAX turned on. Could be the problem, that AJAX isn't working that well with my computer?
« Last Edit: January 10, 2009, 09:15:32 pm by Shane »
If I can, I will. If I can't, I'll try like hell.

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Petition for help/SUs User Editor dissappears
« Reply #3 on: January 10, 2009, 10:22:02 pm »
AJA does nothing to your motd.

it does neither to the petition stuff.

it does only refresh the mails.

you need to see a pattern when it vanishes - else I cannot say anything.

It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro

Shane

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
    • Dragon's PlayPen
Re: Petition for help/SUs User Editor dissappears
« Reply #4 on: January 11, 2009, 05:39:19 am »
Well, I have noticed that it dissappears on every page for 1, and for two, it takes a little while. Always the same ammount of time. MoTD stays, so does the mail. Only the Petition and Editor dissappears for some reason. I'll look to see if it might be something I'm doing that messes it up, but I don't see how it is, as I don't do the same things on every page that it goes on.
If I can, I will. If I can't, I'll try like hell.

Adept

  • Guest
Re: Petition for help/SUs User Editor dissappears
« Reply #5 on: January 12, 2009, 02:59:10 am »
I can't see how this would only occur sometimes instead of everytime.

Try switching to a different skin (a standard one that comes with the core) and dump browser cache.

Its a long shot but if nothing else will rule out one possibilty.

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Petition for help/SUs User Editor dissappears
« Reply #6 on: January 12, 2009, 11:01:23 am »
I also can't explain the stated randomness.

Without hints or details that lead to a track, it's virtually impossible.

Try the measures Adept suggested, though it sounds pretty strange.

If the petition&user editor disappears, enable the translation tool and see if the T's also disappear.

If so, then for some (probably occult) reason your account rights switch for a limited (!) time back.
That's highly strange then.

It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro

A Cool Guy

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
    • Code Angels Game
Re: Petition for help/SUs User Editor dissappears
« Reply #7 on: January 13, 2009, 12:21:17 am »
May i also add that if that is the case then it's probably the database's fault?
If i can i will.
If i cant i wont :)

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Petition for help/SUs User Editor dissappears
« Reply #8 on: January 13, 2009, 10:07:35 am »
If a database drops only the "superuser field" but leaves the rest intact - we have a serious problem.

Also, normally all the stuff is cached in the session - not every pagehit a database query is made an ALL is read out.
That means, the PHP session would need to remove for some time that specific value in the $session['user'] array.

I would write viruses that do such stuff just to be silly to lotgd owners ;)
« Last Edit: January 14, 2009, 10:12:38 am by Nightborn »
It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro

A Cool Guy

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
    • Code Angels Game
Re: Petition for help/SUs User Editor dissappears
« Reply #9 on: January 13, 2009, 04:30:02 pm »
Ahh ok it was just a thought LoL
If i can i will.
If i cant i wont :)

Shane

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
    • Dragon's PlayPen
Re: Petition for help/SUs User Editor dissappears
« Reply #10 on: January 21, 2009, 10:45:44 am »
Hmm...It stopped happening for some reason. I wonder why, as I am doing nothing different that I know of. I turned AJAX off, but that wasnt causing this by what you say and what I saw, a week after I turned AJAX off it still happened, but it just recently stopped for no reason. ill let y'all know if it starts again.
If I can, I will. If I can't, I'll try like hell.

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Petition for help/SUs User Editor dissappears
« Reply #11 on: January 21, 2009, 02:45:14 pm »
One thing.

If it just turns on and off - and you do not change core code or code that messes with the $output object.... it's not a problem with the code.

This version runs on a couple of servers and they all would have these problems.

If this happens again:

->use another browser
->turn off any parental guidance software
->access the site from another computer at a friends home

and verify it.
It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro