Website setting
#1

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.);
 
 

#2

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

notices normally shouldnt display

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

#4

or add

 

error_reporting(0);

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

#6
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

#7

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

error_reporting(0);
after

<?php
at every page of the website. 

#8
ohhhh ok this way its better lol thanks: )

#9

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

#10

Hi.

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

 

Thanks,

 

-LCKB Staff



Forum Jump:


Users browsing this thread: 1 Guest(s)