Page 1 of 1

Index page stuck on bug report

Posted: Tue Feb 25, 2014 5:06 am
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.

Re: Index page stuck on bug report

Posted: Tue Feb 25, 2014 5:42 am
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

Re: Index page stuck on bug report

Posted: Tue Feb 25, 2014 6:10 am
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);

Re: Index page stuck on bug report

Posted: Tue Feb 25, 2014 1:52 pm
by KyleMassacre
For some reason it is tripling up on that one. I dont believe any of them can be blank anyways.

Re: Index page stuck on bug report

Posted: Tue Feb 25, 2014 1:53 pm
by a_bertrand
remove the "define('',1);" as this wrong. Beside that it should be fine... more or less

Re: Index page stuck on bug report

Posted: Tue Feb 25, 2014 6:45 pm
by Kesstryl
That worked, thanks!