Index page stuck on bug report

General Chat, Comments
Post Reply
User avatar
Kesstryl
Posts: 202
Joined: Sat Sep 22, 2012 5:27 am

Index page stuck on bug report

Post by Kesstryl »

I did a re-install on my wampp server and now when I try to log in, all I get is the bug report page. I didn't do a complete re-install as I didn't want to lose my license, but I know something went wrong with the database rewrite and remaking the admin account. Something just didn't work.
User avatar
KyleMassacre
Posts: 573
Joined: Wed Nov 27, 2013 12:42 pm

Re: Index page stuck on bug report

Post by KyleMassacre »

I believe in your config/config.php file there is a setting to show all errors to users or general public. Turn that to on/true whatever it may be.

Also just so your aware, you won't lose your license if you do a fresh instal. The only way that I know of to lose your license is if it gets revoked. If you forget your license info (if your doing a fresh instal) you get it from your license panel on nw-engine.com then you just plug that back into the little input field and your good to go again
User avatar
Kesstryl
Posts: 202
Joined: Sat Sep 22, 2012 5:27 am

Re: Index page stuck on bug report

Post by Kesstryl »

Ah thanks for the info. Well it's good to know that I won't lose my license on a fresh install if it comes to it. Here's what my errors are saying after turning it on to true"

Error: Constant already defined
Error in "C:/wamp/www/NWE/config/auto_defines.php"
Line 22
Error in C:\wamp\www\NWE\config\auto_defines.php
Line 22
Error in C:\wamp\www\NWE\index.php
Line 152

Here's the code from the error report in auto_defines.php (the index.php line just calls up this auto_defines.php file):

Code: Select all

<?php
/**
 * This file will be automatically generated after importation / setup of a module.
 * It will check all the ID required for the variables and define constant for them.
 */
define('',1);
define('moneymugged',2);
define('combatSerialization',3);
define('combatSuccessLink',4);
define('combatFailLink',5);
define('playerProfileNote',6);
define('facebookUserId',7);
define('hospital',8);
define('playerHouseLevel',9);
define('playerHouseLastCheck',10);
define('jail',11);
define('playerLocation',12);
define('npcDialogPossibilities',13);
define('playerClassSet',14);
define('player_notes',15);
define('playersReferred',16);
define('',17);
define('userTemplate',18);
define('premiumMember',19);
define('statsLastCheck',20);
define('trainingInProgress',21);
define('nbTrainingRemaining',22);
define('nextTrainingVisit',23);
define('tutorialsFinished',24);
define('playerBan',25);
define('',26);
define('workEndTime',27);
define('workInProgress',28);
?>
Line 22 is define(' ',17);
User avatar
KyleMassacre
Posts: 573
Joined: Wed Nov 27, 2013 12:42 pm

Re: Index page stuck on bug report

Post by KyleMassacre »

For some reason it is tripling up on that one. I dont believe any of them can be blank anyways.
User avatar
a_bertrand
Posts: 1536
Joined: Mon Feb 25, 2013 1:46 pm

Re: Index page stuck on bug report

Post by a_bertrand »

remove the "define('',1);" as this wrong. Beside that it should be fine... more or less
Creator of Dot World Maker
Mad programmer and annoying composer
User avatar
Kesstryl
Posts: 202
Joined: Sat Sep 22, 2012 5:27 am

Re: Index page stuck on bug report

Post by Kesstryl »

That worked, thanks!
Post Reply

Return to “General”