nb Core Community
September 08, 2010, 06:39:58 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: 1.2.2 +nb is now final and released

@new registrations. I will not allow any new registrations here as there are more (real person) spambots here than ever.... captcha proved to be ineffective.

After your registration, mail me at ( admin AT shinobilegends.com ) from the mail address you want to register. Provide some text about you and possibly your game.
 
   Home   Help Search Calendar Downloads Login Register  
Pages: [1]
  Print  
Author Topic: MoTD not showing up  (Read 939 times)
Shane
Newbie
*

Karma: +0/-0
Posts: 19



View Profile WWW
« on: February 08, 2009, 12:04:02 AM »

When I, or anyone, clicks MoTD, the MoTD page pops up, but does not display ANY of the MoTDs. However, on the daily news page, it still shows the most recent MoTD at the top. I noticed this recently when I first started to post MoTDs.

I am running game version 1.2.1+nb
« Last Edit: February 08, 2009, 01:23:53 AM by Shane » Logged

If I can, I will. If I can't, I'll try like hell.
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 302



View Profile WWW
« Reply #1 on: February 08, 2009, 11:00:44 AM »

Assumption: You wrote a MOTD that contains invalid content and breaks the MOTD window.
(HTML is allowed!)

Any other thing: It should work.
If you can open the mail window, the popup itself is working, too.

Check if you have the final version of 1.2.1+nb.
Logged

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
*

Karma: +0/-0
Posts: 19



View Profile WWW
« Reply #2 on: February 08, 2009, 09:01:31 PM »

1) Nope. it was all general text. no html, no code at all.
2) The popup is working, mail opens. the only thing is that the motd's dont display, ill check again and see if putting a new motd will work.
3) I should have it, is there any way to check other than re-downloading it and "upgrading"?
Logged

If I can, I will. If I can't, I'll try like hell.
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 302



View Profile WWW
« Reply #3 on: February 08, 2009, 09:34:34 PM »

3) no, if you downloaded a non-final version, you have a non-final version.
a good start would be comparison of the changelogs (diff)

I might do "-dev" releases, but I am a bit too lazy =) if people download a in-dev version, they download one.

Mine do work, so I cannot figure out what your installation does not.

disable all modules that might hook into the MOTD (header-motd etc)
Logged

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
*

Karma: +0/-0
Posts: 19



View Profile WWW
« Reply #4 on: February 09, 2009, 10:08:55 PM »

3) Okay, I now remember what version I got, and it is the final version(i had to wrack my brain). To be sure, I done a check. Maybe it has nothing to do with the core? perhaps theres just something that a fresh installation would fix. what do you think of that idea? like, something wasnt created right during first installation.

I do not think it is any modules, as i have removed all the modules that dealt with the MoTD and that did not work.
« Last Edit: February 09, 2009, 10:29:20 PM by Shane » Logged

If I can, I will. If I can't, I'll try like hell.
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 302



View Profile WWW
« Reply #5 on: February 09, 2009, 11:24:37 PM »

are you sure?

check all hooks, by a raw sql query:

Code:
SELECT * from module_hooks where location like '%motd%'

then, remove ALL motds and see if it helps.

Code:
TRUNCATE motd

Add prefixes to the tables if you use them.
Logged

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
*

Karma: +0/-0
Posts: 19



View Profile WWW
« Reply #6 on: February 10, 2009, 11:37:39 PM »

Well, I done the first one and nothing came up, so I truncated them(such a fun word) and it didnt fix anything, just truncated all motds. and as for prefixes, as i dont know what they are or how to change them, they are the same, I assume.
Logged

If I can, I will. If I can't, I'll try like hell.
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 302



View Profile WWW
« Reply #7 on: February 11, 2009, 09:44:52 AM »

Sorry - I can't help you then.

The Truncate did, of course, purge all motds. I stated that.
(remove possible error sources)

Another step would be to activate the PHP error messages on your host to determine any PHP incompatibilites etc.

Try a fresh install and see if the motd is working.
Logged

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
*

Karma: +0/-0
Posts: 19



View Profile WWW
« Reply #8 on: February 12, 2009, 09:45:22 PM »

okay, i do not know why it was messed up. i set up another database on same server and installed 1.2.1 and MoTD worked. however, i have decided i will be copying all characters over and replace current with new. i am also using 1.2.2, great! installed perfectly, works perfectly even, at least so far. Danke.
Logged

If I can, I will. If I can't, I'll try like hell.
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 302



View Profile WWW
« Reply #9 on: February 12, 2009, 11:50:52 PM »

1.2.2 is a dev version - so note that you need to upgrade to a final.

1.2.2 is NOT a live server version - if you do so, your own risk.
Logged

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
*

Karma: +0/-0
Posts: 19



View Profile WWW
« Reply #10 on: February 13, 2009, 12:03:45 AM »

i installed 1.2.2 on a server hidden away in the far reaches of the web. Wink
« Last Edit: February 13, 2009, 12:06:30 AM by Shane » Logged

If I can, I will. If I can't, I'll try like hell.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!