LCKB
Website setting - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep1 Support (https://lckb.dev/forum/forumdisplay.php?fid=177)
+------ Forum: Solved Topics (https://lckb.dev/forum/forumdisplay.php?fid=145)
+------ Thread: Website setting (/showthread.php?tid=2515)



- Arnii - 10-10-2013


Hello, ive got the website for my ep BlackFire prenium,everything is working but when im about to register an account it saaid:

 

Notice: Undefined index: root in C:\xampp\htdocs\page\page_register.php on line 30

Notice: Undefined index: in C:\xampp\htdocs\page\page_register.php on line 30

Notice: Undefined index: user in C:\xampp\htdocs\page\page_register.php on line 34

Notice: Undefined index: db in C:\xampp\htdocs\page\page_register.php on line 34

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\page\page_register.php on line 86

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\page\page_register.php on line 87

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\page\page_register.php on line 88

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\page\page_register.php on line 89

 

If someone have a idea about how to fixe it?please

 

Setting atm :

 
    // Dont change below here unless u know what u are doing -------------------------------------------------------------------
   
   
 
    $conf[db][dsn] = sprintf("mysql:host=%s;dbname=%s", $conf[db][db], $conf[][data1]);
   
    try
    {
        $db = new PDO($conf[db][dsn], $conf[db][user], $conf[db][db]);
    }
    catch(PDOException $e)
    {
        die(Error connecting to the database<br />Registration is not possible at this moment.);
 
 




- Wizatek - 10-10-2013


change the error reporting in php.ini to E_ALL ~ E_NOTICE or something like that

notices normally shouldnt display




- Arnii - 10-10-2013

Ok i forgot to said, im totally noob about php etc... >.< Smile




- Noizy - 10-10-2013


or add

 

error_reporting(0);




- Arnii - 10-11-2013

Ok, could you please explain me where to add it? cuz i really dont understand php... :/




- Arnii - 10-11-2013

ok i did replace die(Error connecting to the database<br />Registration is not possible at this moment.); for die(error (0)) now i can register account but it still show  other stuff i posted o.O




- Paramount - 10-13-2013


Explain me why you did it? You just have to add 

error_reporting(0);
after

<?php
at every page of the website. 




- Arnii - 10-13-2013

ohhhh ok this way its better lol thanks: )




- Arnii - 10-14-2013


Hello,idk if i can post her about something else..(its related about website setting..) i got seals page on my website, but wheni click on a char(i dont see nameof it) then it said choose your own character...I have something special to do? and also i have to make a quiery in db for the seals?

 

Thanks again for your answer.

 

Arnii




- Arnii - 12-02-2013


Hi.

As you got your answer,and your problem to solved, I am gonna move that topic to Solved section.

 

Thanks,

 

-LCKB Staff