PDA

View Full Version : Powerpanel help ?



[Oli]
03-07-2007, 03:57 PM
Hi, i need some help with power panel.

When i include the request.php from the frontend folder.

It's all fine, but when u fill out the form and click send it sais message sent to the dj.

but on the panel it keeps saying 0 requests.

and when i include djsays.php from frontend folder i get this error:

note: cleared out the link

ning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in ***/djsays.php on line 18

Sygon..
03-07-2007, 04:07 PM
Config problem... Check mysql settings or copy your config to wherever your file that is including requests is

[Oli]
03-07-2007, 05:41 PM
Config problem... Check mysql settings or copy your config to wherever your file that is including requests is

both dj says & request have been solved.

i just had to place the include config somewhere else in the djsays

and i found out that requests... well its a dumb problem.
My dj name is Tranceball but i checked the database and it sended my requests to dj trance**** becouse ball is word filterd :p

EDIT:
Ok, when i want to delete my requests on the panel i get this sql error:


Fatal error: Call to undefined function: checkaccount() in ****/delreq.php on line 7


This is the line:


checkaccount($_SESSION[username]);

i changed that to:


checkaccount($_SESSION['username']);

but it still gives same error.

[Oli]
03-07-2007, 06:04 PM
Cannot edit:

but the last error, i fixed it by replacing:


checkaccount($_SESSION['username']);

with


$checkaccount = ($_SESSION['username']);

Dentafrice,
03-07-2007, 06:06 PM
It means it cannot find that function.
Check and make sure the functions file is being included also.

Want to hide these adverts? Register an account for free!