DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • May 18, 2013, 04:41:23 AM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1]   Go Down
  Print  
Author Topic: Error at the Green Dragon  (Read 263 times)
0 Members and 1 Guest are viewing this topic.
Aeo
Mod God
*****
Offline Offline

Posts: 1077


Doctor.. Who?


View Profile WWW
« on: April 07, 2012, 07:04:03 AM »

I seem to have a lot of problems. >.>

Anways! This time, this is what happens: I enter the Forest. I am level 15. I seek out the Green Dragon. I enter the cave. I fight the Dragon until the end. I arrive at the page that has the nav 'Continue' and should get me to the next page, with all the Dragon talking and shebang. However, I get redirected to http://redirect.main-hosting.com/error404.php/1. >.>

Any clues as to why this might occur? Have I deleted something I shouldn't have?
Logged


Time Lords Online - A Doctor Who RPG! Open Now!
~ My Modules: PM me if you'd like me to code something! Smiley ~
Afkamm
Mod God
*****
Online Online

Posts: 1563

MarcTheSlayer


View Profile WWW
« Reply #1 on: April 07, 2012, 08:16:04 AM »

It's well possible that a module hooking into "dragonkill" has an error and instead of displaying a white page, your server sends you to a 404.

In the grotto you can enter raw SQL/PHP code. Enter this SQL. If you don't know your table PREFIX then you can find it in the file dbconnect.php If there's no PREFIX then the table name is just 'module_hooks'.

Code:
SELECT modulename FROM PREFIX_module_hooks WHERE location = 'dragonkill';

The returned module names, deactivate all of them and see if that solves the problem.

Smiley
Logged

Aeo
Mod God
*****
Offline Offline

Posts: 1077


Doctor.. Who?


View Profile WWW
« Reply #2 on: April 07, 2012, 09:19:38 AM »

Did that in it's entirety, and still not fixed..
Logged


Time Lords Online - A Doctor Who RPG! Open Now!
~ My Modules: PM me if you'd like me to code something! Smiley ~
Boris735
Mod God
*****
Offline Offline

Posts: 532


View Profile
« Reply #3 on: April 07, 2012, 06:55:33 PM »

There's other hooks in that section too, of course: "hprecalc", "dk-preserve", and "dragonkilltext".

But the important question is: When you go in and fix that character's navs, have the stats been reset, or is it still level 15?
Logged
Aeo
Mod God
*****
Offline Offline

Posts: 1077


Doctor.. Who?


View Profile WWW
« Reply #4 on: April 07, 2012, 08:25:08 PM »

It's still level 15, but at the new day, y' still get a dragon point. >.>
Logged


Time Lords Online - A Doctor Who RPG! Open Now!
~ My Modules: PM me if you'd like me to code something! Smiley ~
Boris735
Mod God
*****
Offline Offline

Posts: 532


View Profile
« Reply #5 on: April 08, 2012, 01:13:04 AM »

It's still level 15, but at the new day, y' still get a dragon point. >.>

OK, so it cannot be to do with the "dragonkill" module hook, because the stats are reset before that can be called.  It's much more likely that the page is not found for some reason.  So, what is the URL pointed to by the Continue nav entry (the one that returns the 404 page)?
Logged
Aeo
Mod God
*****
Offline Offline

Posts: 1077


Doctor.. Who?


View Profile WWW
« Reply #6 on: April 08, 2012, 02:09:00 AM »

I'm such a fail- I worked out what it was. xD Instead of translating 'dragon' to 'Medusa', which is part of my game, I went into dragon.php, in the core code, and replace all of the 'dragon's with 'Medusa's- this also changed the link going from the Medusa to the next page- it was calling upon a non-existing link.

My bad >.> xD
Logged


Time Lords Online - A Doctor Who RPG! Open Now!
~ My Modules: PM me if you'd like me to code something! Smiley ~
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

Support Us
$100 raised this year
Your help is greatly appreciated!
Who's Online
20 Guests, 1 User
Afkamm
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search