problem
problem
I get this error with localhost
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp\www\urban\connect.php on line 3
Could not connect.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp\www\urban\connect.php on line 3
Could not connect.
Coding-PHP, Javascript, C++, HTML, mySQL
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Re: problem
change your password in connect.php
if you noticed i left mine in there "NEWPASSWORD" you probably just need to delete it all together. leave it ""
if you noticed i left mine in there "NEWPASSWORD" you probably just need to delete it all together. leave it ""
Re: problem
kk i have a problem when i loged into it i get all this
and i also get this error
Code: Select all
Notice: Undefined variable: bypassmap in C:\wamp\www\Dark Wars\index.php on line 363
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373
Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
Code: Select all
Notice: Undefined index: pclass in C:\wamp\www\DarkWars\statpanel.php on line 7
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Re: problem
change this
at line 41
to this
delete these lines at 373 and 374
for statpanel simply delete the line at 7
these were items or features I was going to add but never got around too and never took out of the code
at line 41
Code: Select all
<div id="maparea">
<?php
Code: Select all
<div id="maparea">
<?php
$bypassmap=0;
Code: Select all
$shopid = $mapinfo3['shid']
$pid = $mapinfo3['pid']
for statpanel simply delete the line at 7
Code: Select all
echo $playerinfo3['pclass'] . "<br>";
these were items or features I was going to add but never got around too and never took out of the code
Re: problem
kk ill try it now
*thanks that worked*
*thanks that worked*
Re: problem
ok now i have a new problem on the
locations.php
also i was wonder if there is a way to add more map land cuz i had an idear
locations.php
Code: Select all
Notice: Undefined variable: bypass in C:\wamp\www\DarkWars\locations.php on line 1418
Welcome to my Apparel
Code: Select all
Notice: Undefined variable: bypass in C:\wamp\www\DarkWars\locations.php on line 895
Welcome to Cafe
Code: Select all
Notice: Undefined variable: bypass in C:\wamp\www\DarkWars\locations.php on line 549
Welcome to my Sporting Goods
Notice: Undefined variable: bypass in C:\wamp\www\DarkWars\locations.php on line 715
Welcome to my Clothing Store
Code: Select all
Notice: Undefined variable: bypass in C:\wamp\www\DarkWars\locations.php on line 1237
Welcome to my workshop
Code: Select all
Notice: Undefined variable: bypass in C:\wamp\www\DarkWars\locations.php on line 252
Welcome to my Doctors Office
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Re: problem
just do the same as the first post, add
same place as above is fine.
it is asking for a $bypass variable that has not been defined. Just need to define it.
Code: Select all
$bypass = 0;
it is asking for a $bypass variable that has not been defined. Just need to define it.
Re: problem
ooo lol i did not notic that on the 1s you changed the 1 to a 0 ^^
Re: problem
also well you be doing a tut on how to make more map area like i you press up or somthink you go there or my way i thort of
like you have to catch a train with cost money to go to lets just call it "neighborhood" or if you buy a car you can drive there somthink like that and on the "neighborhood" is were player can build there homes and what not so if you cuz make some tut on it when you have time i would be very greatfull
"Also when i go into a shop and click the add item button all of the tables background colors are black like were it ses the name of it i carnt see it cuz both font and background on the tables are black how d i change it 2 white so i can see it"
like you have to catch a train with cost money to go to lets just call it "neighborhood" or if you buy a car you can drive there somthink like that and on the "neighborhood" is were player can build there homes and what not so if you cuz make some tut on it when you have time i would be very greatfull
"Also when i go into a shop and click the add item button all of the tables background colors are black like were it ses the name of it i carnt see it cuz both font and background on the tables are black how d i change it 2 white so i can see it"