-
1 Attachment(s)
Emisand's Gunz Admin Panel v3
Hello,
After a lot of work, I am releasing my new admin panel.
Features:
- New skin, that makes the panel more comfortable
- Updated Notepad, for communicating between Admins/Mods
- New search Engine, With more search options
- Fixed and New Account and Character management functions
- Added Clan management functions
- Added Country restriction functions
Installation:
First download the panel from the attachment
Then create a folder at your gunz website for the panel, named like panel or admin, w/e
Unpack all the files of the panel inside that folder, password for unpacking: emisandrz08
Open the config.php file.
There you have to set the SQL connection options.
At $_MSSQL[Host] you have to set the SQL server address, like MYCOMP\SQLEXPRESS or 127.0.0.1\SQLEXPRESS
Then, at $_MSSQL[User] you have to set the MSSQL User, at $_MSSQL[Pass] the MSSQL Password and at $_MSSQL[DBNa] the Gunz Database
Then you can select the Panel's Language, if you want it in english, just leave $_CONFIG[Language] = "english"; and if you want it in spanish, set it to $_CONFIG[Language] = "espanol";
You can create a new language pack, you have to go to the lang folder and traslate one of the language packs there to your language and then save it with the language name, that name will be set at $_CONFIG[Language]
Then if you never changed you GunzDB table names, don't touch the table configurations, if you changed them, there you can set the new names.
Finally, If you use my Country Restriction System for Gunz (http://forum.ragezone.com/f245/relea...m-gunz-445764/)
You can enable the country restriction functions by setting $_CONFIG[CountryBlock] = 1;
That will allow you to allow or block the countries you want easily.
After that, all is set and you can save the config.php
The panel is ready to use.
Information:
Logs are saved at logs folder, there you can check your admin's and mod's activity
The UgradeIDs that are allowed to log in into the panel are: 255, 254 and 252, if you want to change that go to functions.php and edit function login() and function check_ugradeid()
Screenshots:
http://img518.imageshack.us/img518/8...nel1sr3.th.jpg http://img518.imageshack.us/img518/9...nel2vv1.th.jpg http://img518.imageshack.us/img518/1...nel3gf0.th.jpg http://img509.imageshack.us/img509/6...nel4sd1.th.jpg
http://img101.imageshack.us/img101/8...nel5tn3.th.jpg http://img521.imageshack.us/img521/4...nel6gq2.th.jpg http://img136.imageshack.us/img136/4885/2009tu4.th.jpg
Credits:
Panel fully coded by me.
Skin designed by Lambda
I hope you enjoy it.
If you have any problem, ask at this thread.
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
Excellnet =)!!
Thread Sticked =)
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
For the country thing, you'll need to do http://forum.ragezone.com/f245/relea...m-gunz-445764/ before in the panel right?
I like the send items to all storage :DD
-
Re: Emisand's Gunz Admin Panel v3
I got
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection., SQL state 28000 in SQLConnect in C:\xampp\htdocs\gz\functions.php on line 17
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection.
-
Re: Emisand's Gunz Admin Panel v3
Are you using windows authentication in MSSQL?
Btw great release man. this thing is perfect. For some reason the item to storage things don't work for me, though. It's probably just me haha. Either way this thing is great.
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
7-Eleven
Yes, you first have to install the country blocking system
Quote:
Originally Posted by
Brojo2
I got
Warning: odbc_connect() [
function.odbc-connect]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection., SQL state 28000 in SQLConnect in
C:\xampp\htdocs\gz\functions.php on line
17
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection.
Bad configuration
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
Damn, that's nice. Very cool release.
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
Thanx its awsome release..
Btw i am getting fatal error can u tell me y? And i configured the config.xml as told
and its right..
May it need to forward sm port if yes plz tell which 1 and how 2 forward it.
-
Re: Emisand's Gunz Admin Panel v3
great release emisand 10/10
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
Create a topic in the Gunz Requests section...
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
Got to say.
After such a long time.
NICE Release.
-
Re: Emisand's Gunz Admin Panel v3
Nice release, what can i say else Excellenttt..... and thanks
-
Re: Emisand's Gunz Admin Panel v3
What is the username and pass on admin?
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
emisand
Hello,
After a lot of work, I am releasing my new admin panel.
Features:
- New skin, that makes the panel more comfortable
- Updated Notepad, for communicating between Admins/Mods
- New search Engine, With more search options
- Fixed and New Account and Character management functions
- Added Clan management functions
- Added Country restriction functions
Installation:
First download the panel from the attachment
Then create a folder at your gunz website for the panel, named like panel or admin, w/e
Unpack all the files of the panel inside that folder, password for unpacking:
emisandrz08
Open the config.php file.
There you have to set the SQL connection options.
At $_MSSQL[Host] you have to set the SQL server address, like MYCOMP\SQLEXPRESS or 127.0.0.1\SQLEXPRESS
Then, at $_MSSQL[User] you have to set the MSSQL User, at $_MSSQL[Pass] the MSSQL Password and at $_MSSQL[DBNa] the Gunz Database
Then you can select the Panel's Language, if you want it in english, just leave $_CONFIG[Language] = "english"; and if you want it in spanish, set it to $_CONFIG[Language] = "espanol";
You can create a new language pack, you have to go to the lang folder and traslate one of the language packs there to your language and then save it with the language name, that name will be set at $_CONFIG[Language]
Then if you never changed you GunzDB table names, don't touch the table configurations, if you changed them, there you can set the new names.
Finally, If you use my Country Restriction System for Gunz (
http://forum.ragezone.com/f245/relea...m-gunz-445764/)
You can enable the country restriction functions by setting $_CONFIG[CountryBlock] = 1;
That will allow you to allow or block the countries you want easily.
After that, all is set and you can save the config.php
The panel is ready to use.
Information:
Logs are saved at logs folder, there you can check your admin's and mod's activity
The UgradeIDs that are allowed to log in into the panel are: 255, 254 and 252, if you want to change that go to functions.php and edit function login() and function check_ugradeid()
Screenshots:
http://img518.imageshack.us/img518/8...nel1sr3.th.jpg http://img518.imageshack.us/img518/9...nel2vv1.th.jpg http://img518.imageshack.us/img518/1...nel3gf0.th.jpg http://img509.imageshack.us/img509/6...nel4sd1.th.jpg
http://img101.imageshack.us/img101/8...nel5tn3.th.jpg http://img521.imageshack.us/img521/4...nel6gq2.th.jpg http://img136.imageshack.us/img136/4885/2009tu4.th.jpg
Credits:
Panel fully coded by me.
Skin designed by Lambda
I hope you enjoy it.
If you have any problem, ask at this thread.
:thumbup:muito bueno xD
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
Azet
Thanx its awsome release..
Btw i am getting fatal error can u tell me y? And i configured the config.xml as told
and its right..
May it need to forward sm port if yes plz tell which 1 and how 2 forward it.
I don't have a crystal ball to know what error you have if you don't tell it.
Quote:
Originally Posted by
markuzz
What is the username and pass on admin?
Are you joking?
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
emisand
are you joking?
LMAO!
That was funneh.
No errors for me.
Going to say it again.
Great release.
-
Re: Emisand's Gunz Admin Panel v3
Thank you dude, great work on this!
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
whats the pass? for the file
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
mukul
whats the pass? for the file
learn to read
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
mukul
whats the pass? for the file
pass = emisandrz08
geeeeeeeeeeeeeeeezzzzzzzzzzzzzzzzzzzzzzzz
can anyone read these days.......
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
emisand
Then create a folder at your gunz website for the panel, named like panel or admin, w/e Unpack all the files of the panel inside that folder.
Can u explain this more? What if I dont have a website/website domain? I have Wamp, but idk what wamp is and how to use it...lol
EDIT
sorry for double post...
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
nice but pretty lame coding, so many undefined stuff...
-
Re: Emisand's Gunz Admin Panel v3
Can some please answer my question?
-
Re: Emisand's Gunz Admin Panel v3
There's a htdocs folder or something like that. That's your root.
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
Wizkidje
There's a htdocs folder or something like that. That's your root.
what?, idk what you r talking about...
and i dont know one thing about wamp...
just that i have it xD
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
biGGer
nice but pretty lame coding, so many undefined stuff...
There is nothing undefined.
I suppose that you have warnings enabled and you get a warning when the $_SESSION vars are empty.
-
Re: Emisand's Gunz Admin Panel v3
i added a Account List and Character list in it. Great Release [ said it again ]
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
emisand
There is nothing undefined.
I suppose that you have warnings enabled and you get a warning when the $_SESSION vars are empty.
do you know what constants is ? i bet you don't.
turn notices in your php and see yourself :wink:
here's just a small part of what i see: [Boink!]
PHP Code:
$loginquery = odbc_exec($connection, "
SELECT a.AID, a.UserID, a.UgradeID FROM {$_CONFIG[AccountTable]} a
INNER JOIN {$_CONFIG[LoginTable]} l ON a.AID = l.AID
WHERE l.UserID = '$userid' AND l.Password = '$password'
");
if( num_rows($loginquery) == 1 )
what the hell is that ? you chekin for double result ? why ?
you can just add limit 1
you chekin success of your result ? ^read upper post
ok. forget about lame coding and stuff, you're pro.
but there's one last thing...
i can steal admin PHPSESSID and login to admin page from anywhere in the world ! there's no any checks, even ip, even browser !
good work anyway
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
biGGer
do you know what constants is ? i bet you don't.
turn notices in your php and see yourself :wink:
PHP Code:
$loginquery = odbc_exec($connection, "
SELECT a.AID, a.UserID, a.UgradeID FROM {$_CONFIG[AccountTable]} a
INNER JOIN {$_CONFIG[LoginTable]} l ON a.AID = l.AID
WHERE l.UserID = '$userid' AND l.Password = '$password'
");
if( num_rows($loginquery) == 1 )
what the hell is that ? you chekin for double result ? why ?
you can just add limit 1
you chekin success of your result ? ^read upper post
I am checking if there is only one row, if there are 0 rows it means that the userid or password are incorrect, if there are more than 1 rows it's because there is something wrong in the db, like duplicate accounts.
Using LIMIT 1 is a security risk.
About the undefined constants, that is because of setting arrays like $_STR[something] and not $_STR['something'].
I did it without the ' ' because is the same than not using them and I don't have to concatenate strings that include those constants
-
Re: Emisand's Gunz Admin Panel v3
eek! i updated post, please reread :)
Quote:
Originally Posted by
emisand
I did it without the ' ' because is the same than not using them and I don't have to concatenate strings that include those constants
its not the same thingy!
by putting '' you assign them as constants
a constant is something that does not change, over time or otherwise: a fixed value.
you don't change keys so php tells you about this - they must be constants
and also, it takes more resources, start 10 benches and see yourself. using constants takes alot less ram and cpu time
if you still don't believe me look at php.net mailing lists
Twice as Fast, Half the Price.
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
biGGer
eek! i updated post, please reread :)
its not the same thingy!
by putting '' you assign them as constants
a constant is something that does not change, over time or otherwise: a fixed value.
you don't change keys so php tells you about this - they must be constants
and also, it takes more resources, start 10 benches and see yourself. using constants takes alot less ram and cpu time
if you still don't believe me look at php.net mailing lists
Twice as Fast, Half the Price.
Euhhh as far as i know you make a constant this way:
PHP Code:
define("constant", "I'm a constant one.");
echo constant;
-
Re: Emisand's Gunz Admin Panel v3
Example:
$_CFG[Name] = "George";
When PHP reads that, it will search if already exists a constant called Name, since I didn't defined any constant php "adds" the ' '. And that will be like $_CFG['Name'] = "George";
If you are a perfectionist and don't want those notices, you can disable notices from php.ini or you can edit all the array vars and add the ' '.
You can also define them as constants, but is unuseful. You wont take less ram and CPU since the panel is not massively used, it's just regularly used by the staff.
-
Re: Emisand's Gunz Admin Panel v3
i already know what php does.:)
i just said that doing it how you are doing is wrong
Quote:
Originally Posted by
Wizkidje
Euhhh as far as i know you make a constant this way:
PHP Code:
define("constant", "I'm a constant one.");
yep
even echo 'blabla '.$asd.' asd\n'; works faster than echo "blabla $asd asd\n";
-
Re: Emisand's Gunz Admin Panel v3
Something inside ' ' is a constant.
But if it's inside " " it may not be a constant, because you can do something like this:
$string = "My name is $name"; so it's not constant.
And if you do echo 'My name is $name' you will see My name is $name and not the content of $name
What i'm doing is not wrong, I have seen the method I used at many codes and it's accepted.
It's just a method that saves me from a complex syntax at the moment of using those constants inside strings.
If I use $_STR[Name] = "Me"; I can do: echo "My name is [$_STR[Name]";
But if I use $_STR['Name'] = "Me"; I am forced to do: echo "My name is ".$_STR['Name'];
-
Re: Emisand's Gunz Admin Panel v3
Its working fine for me except that "send item to storage" whenever i tried to send it. It always says "item send sucssecfully"
but der is not any thing in store.
But the"send item to inventory "is working fine.
Another question-
how to add the remaining things like account list and etc. I downloded the php but dont know how to add.
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
Azet
Its working fine for me except that "send item to storage" whenever i tried to send it. It always says "item send sucssecfully"
but der is not any thing in store.
But the"send item to inventory "is working fine.
Another question-
how to add the remaining things like account list and etc. I downloded the php but dont know how to add.
I will check the Send Item to Storage function, Someone else had the same problem.
Then, I think you don't need to add those phps, If you want to see the account list, go to the search functions, and in Search accounts, just leave the text box empty and click search, all the accounts should be displayed, the same for character list, but with the search characters, and the same for clans but with search clans.
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
emisand
Something inside ' ' is a constant.
But if it's inside " " it may not be a constant, because you can do something like this:
$string = "My name is $name"; so it's not constant.
And if you do echo 'My name is $name' you will see My name is $name and not the content of $name
What i'm doing is not wrong, I have seen the method I used at many codes and it's accepted.
It's just a method that saves me from a complex syntax at the moment of using those constants inside strings.
If I use $_STR[Name] = "Me"; I can do: echo "My name is [$_STR[Name]";
But if I use $_STR['Name'] = "Me"; I am forced to do: echo "My name is ".$_STR['Name'];
if you code somethin - don't get notices or its wrong coded :wink:
closed theme for now
-
Re: Emisand's Gunz Admin Panel v3
:O
i forgot to say thank you :)
thanks :D :P
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
biGGer
if you code somethin - don't get notices or its wrong coded :wink:
closed theme for now
I agree with emisand. The best / safest way of coding is:
PHP Code:
echo "My name is " . $res['name']. "";
However, i'm always doing it the same way as emisand:
PHP Code:
echo "My name is $res[name]";
It's just way easier to do. I'm getting teached both ways at school (Programming school, first year). But my teacher doesn't know PHP that well. (That's funny sometimes.)
-
Re: Emisand's Gunz Admin Panel v3
How'd you make your website. its looks great
-
Re: Emisand's Gunz Admin Panel v3
this is not website it is an admin pannel
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
Wizkidje
I agree with emisand. The best / safest way of coding is:
PHP Code:
echo "My name is " . $res['name']. "";
However, i'm always doing it the same way as emisand:
PHP Code:
echo "My name is $res[name]";
It's just way easier to do. I'm getting teached both ways at school (Programming school, first year). But my teacher doesn't know PHP that well. (That's funny sometimes.)
if you code like that
PHP Code:
echo "My name is " . $res['name']. "";
its useless to use ""
the best and fastest way is(text is a constant)
PHP Code:
echo 'My name is ' . $res['name']. '';
i haven't seen
PHP Code:
echo "My name is $res[name]";
for a long time in all major scripts, its because they probably coded for high-perf.
and also :)
PHP Code:
echo '1'.$2.'3'
echoes 123
echoes 1, if you need to use a variable without spaces you have to add ".." its double wrong, php have to define text as a constant 2 times.
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
biGGer
if you code like that
PHP Code:
echo "My name is " . $res['name']. "";
its useless to use ""
the best and fastest way is(text is a constant)
PHP Code:
echo 'My name is ' . $res['name']. '';
i haven't seen
PHP Code:
echo "My name is $res[name]";
for a long time in all major scripts, its because they probably coded for high-perf.
and also :)
PHP Code:
echo '1'.$2.'3'
echoes 123
echoes 1, if you need to use a variable without spaces you have to add ".." its double wrong, php have to define text as a constant 2 times.
I know, but the official way is still to use echo "My name is " . $res['name']. "";
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
faytman
Can u explain this more? What if I dont have a website/website domain? I have Wamp, but idk what wamp is and how to use it...lol
can someone answer my question?..
-
Re: Emisand's Gunz Admin Panel v3
you dont need it, all you need is AppServ install that and open up a Internet Browser and type in either http://127.0.0.1/ or localhost
-
Re: Emisand's Gunz Admin Panel v3
how to make tabbel for storage rent period???
-
Re: Emisand's Gunz Admin Panel v3
i think it would be in AccountItems.dbo
-
Re: Emisand's Gunz Admin Panel v3
can someone answer my question?
-
Re: Emisand's Gunz Admin Panel v3
It's in the GunzDB already.
-
Re: Emisand's Gunz Admin Panel v3
i got error to line 263
VALUES('$id', '$itemid', GETDATE(), '$rentperiod', 1)");
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
bussare
how to make tabbel for storage rent period???
If you have the Jan 2007 DB you may have it in there.
The table is dbo.AccountItem, and it uses the procedure: spSelectAccountItem
Quote:
Originally Posted by
bussare
i got error to line 263
VALUES('$id', '$itemid', GETDATE(), '$rentperiod', 1)");
You are not telling what error you have. I can't help you.
-
Re: Emisand's Gunz Admin Panel v3
this is the error but dunno if u understand because it's say in italian and i cant traslate because my english bad http://www.touch.game-host.org/immagine1
-
Re: Emisand's Gunz Admin Panel v3
Well first of all it looks like you didn't set the correct database as the Account Item table in the config.php
If it's set correctly, you may check with what table is asociated that foreign key.
-
Re: Emisand's Gunz Admin Panel v3
:O Finally Fixed just Edit db.Item. thx for help :thumbup:
-
Re: Emisand's Gunz Admin Panel v3
i cant understand why you use odbc over native sql -.-
for example, with obdc you need make a function to count the rows returned by a query when you have mssql_num_rows native from mssql functions. -.-
but its ok, i change odbc connection to mssql and work realy good, excelent release. ^^
-
Re: Emisand's Gunz Admin Panel v3
Nice release alot of private servers have been waiting on this
finally a way to delete glitched clans without having to be the hoster
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
phiber
i cant understand why you use odbc over native sql -.-
for example, with obdc you need make a function to count the rows returned by a query when you have mssql_num_rows native from mssql functions. -.-
but its ok, i change odbc connection to mssql and work realy good, excelent release. ^^
php_mssql functions are deprecated by micro$oft.
ODBC is way faster than php_mssql and it has better compatibility, because there are problems with ntwdblib.dll with some webservers.
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
emisand
php_mssql functions are deprecated by micro$oft.
ODBC is way faster than php_mssql and it has better compatibility, because there are problems with ntwdblib.dll with some webservers.
but my friend, if you host the panel on a linux box, you must use freetds (a open tool who emulate the mssql conection), that means... who care is mssql_php its deprecated by some one who want you use asp. :S
And of course you have better campatibilty... IF you use a win box like server xDDD.
And about odbc its much faster... i dont know how you get thats conclutions, but the speed you win ussing odbc, you lose it charging the webserver with a unusefull count for example.
but nvm, its a good released, you rock. :)
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
phiber
but my friend, if you host the panel on a linux box, you must use freetds (a open tool who emulate the mssql conection), that means... who care is mssql_php its deprecated by some one who want you use asp. :S
And of course you have better campatibilty... IF you use a win box like server xDDD.
And about odbc its much faster... i dont know how you get thats conclutions, but the speed you win ussing odbc, you lose it charging the webserver with a unusefull count for example.
but nvm, its a good released, you rock. :)
I also use freetds on linux, but if you want to use odbc + freetds on linux, you just have to complile php with iODBC or openODBC and FreeTDS
-
Re: Emisand's Gunz Admin Panel v3
how can i edit functions like:
GamerRandy - all rights
Gamerlol - cant make ppl admin and change lvls
GamerCool - can only ban unban and give items away
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
GamerRandy
how can i edit functions like:
GamerRandy - all rights
Gamerlol - cant make ppl admin and change lvls
GamerCool - can only ban unban and give items away
You have to add ugradeid verifications for each function.
-
Re: Emisand's Gunz Admin Panel v3
nice can u give an example of that?
-
Re: Emisand's Gunz Admin Panel v3
Ty Emisand, haha i GtaCity e.e:love:
-
Re: Emisand's Gunz Admin Panel v3
Very Good! Thanks you!!! :thumbup1:
-
Re: Emisand's Gunz Admin Panel v3
I got this error while adding items into storage.
Code:
Warning: odbc_exec()[function.odbc-exec]: SQL error:[Microsoft][ODBC SQL Server Driver][SQL Server]The INSERT statement conflicted with the FOREIGN
KEY constraint "Item_Table_FK1". The conflict occurred in database "GunzDB", table "dbo.Item", column 'ItemID'., SQL state 23000 in SQLExecDirect in
C:\wamp\www\gunz\Panel\accounts.php on line 263
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
ilovepie
I got this error while adding items into storage.
Code:
Warning: odbc_exec()[function.odbc-exec]: SQL error:[Microsoft][ODBC SQL Server Driver][SQL Server]The INSERT statement conflicted with the FOREIGN
KEY constraint "Item_Table_FK1". The conflict occurred in database "GunzDB", table "dbo.Item", column 'ItemID'., SQL state 23000 in SQLExecDirect in
C:\wamp\www\gunz\Panel\accounts.php on line 263
You should have to remove that Foreign Key at the dbo.Item Table.
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
Warning: session_start() [function.session-start]: open(C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2b\sess_ee8d6da0241e8d5ea42e5f69554c9134, O_RDWR) failed: No such file or directory (2) in C:\AppServ\www\cp\index.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\AppServ\www\cp\index.php:2) in C:\AppServ\www\cp\index.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\cp\index.php:2) in C:\AppServ\www\cp\index.php on line 2
Warning: Unknown: open(C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2b\sess_ee8d6da0241e8d5ea42e5f69554c9134, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2b) in Unknown on line 0
I get that.
No idea why.
Any help?
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
bonce1990
Warning: session_start() [function.session-start]: open(C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2b\sess_ee8d6da0241e8d5ea42e5f69554c9134, O_RDWR) failed: No such file or directory (2) in C:\AppServ\www\cp\index.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\AppServ\www\cp\index.php:2) in C:\AppServ\www\cp\index.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\cp\index.php:2) in C:\AppServ\www\cp\index.php on line 2
Warning: Unknown: open(C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2b\sess_ee8d6da0241e8d5ea42e5f69554c9134, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2b) in Unknown on line 0
I get that.
No idea why.
Any help?
Bad PHP Config.
The session save dir that is set in your php does not have permissions for writing data in there.
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
emisand
Bad PHP Config.
The session save dir that is set in your php does not have permissions for writing data in there.
Mehhhhh.
The config file is fine. The information is correct.
Is there a way I can give it premission?
-
Re: Emisand's Gunz Admin Panel v3
GLITCH REPORT!
When you use the change password function, it changes the password of every single account.
Don't believe me? Test it (but create a backup).
-
Re: Emisand's Gunz Admin Panel v3
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
GSDxLegacy
GLITCH REPORT!
When you use the change password function, it changes the password of every single account.
Don't believe me? Test it (but create a backup).
your query must be wrong, I have tried on my own and others accounts and they dont all change >.>
-
Re: Emisand's Gunz Admin Panel v3
there's error...
but only in "Send item to all Storage"
Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]The INSERT statement conflicted with the FOREIGN KEY constraint "Item_Table1_FK1". The conflict occurred in database "gunzDB", table "dbo.Item", column 'ItemID'., SQL state 23000 in SQLExecDirect in hidedl\accounts.php on line 199
all other works fine.
some solve for that thanks.
-
Re: Emisand's Gunz Admin Panel v3
how can i use that? XD all files are .php i can open only with blocknote ._.
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
Evilzner
there's error...
but only in "Send item to all Storage"
Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]The INSERT statement conflicted with the FOREIGN KEY constraint "Item_Table1_FK1". The conflict occurred in database "gunzDB", table "dbo.Item", column 'ItemID'., SQL state 23000 in SQLExecDirect in hidedl\accounts.php on line 199
all other works fine.
some solve for that thanks.
You have to REMOVE or DEACTIVATE that Foreign Key at dbo.Item table.
Quote:
Originally Posted by
STEALHEART
how can i use that? XD all files are .php i can open only with blocknote ._.
LOL at that. :lol:
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
STEALHEART
how can i use that? XD all files are .php i can open only with blocknote ._.
You're supposed to print them, then read them around 5 times and then code one yourself in wordpad. After that, you can use it safely.
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
emisand
You have to REMOVE or DEACTIVATE that Foreign Key at dbo.Item table.
LOL at that. :lol:
:lol: it's rotfl not lol XD bytheway: yes i'm noob o.o i'm not able to use that >.<
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
Wizkidje
You're supposed to print them, then read them around 5 times and then code one yourself in wordpad. After that, you can use it safely.
....rofl, nuf said.
-
Re: Emisand's Gunz Admin Panel v3
when i open the folder .rar i need password ...
what ?
-
Re: Emisand's Gunz Admin Panel v3
Read the topic again with glasses, a magnifying glass and a microscope.
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
Linear88
Read the topic again with glasses, a magnifying glass and a microscope.
xD lol
-
Re: Emisand's Gunz Admin Panel v3
I get this problem. And i followed your tut step by step. Don't say "oh its a bad set up" cause ill be like "NO,REALLY?!?!?!"
http://i217.photobucket.com/albums/c...ebuser/asd.jpg
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
BLACK_HEART
Why you don't read the errors you get?
It clearly says that the sessions path is bad set.
Set the php.ini with a correct session.save path
-
Re: Emisand's Gunz Admin Panel v3
and exactly where do i find the php.ini ?
-
Re: Emisand's Gunz Admin Panel v3
Quote:
Originally Posted by
BLACK_HEART
and exactly where do i find the php.ini ?
That depends on your php installation.
I won't give support with php, I only support the panel.
If you have problems with php, read the documentation at www.php.net
-
Re: Emisand's Gunz Admin Panel v3
i get this
Warning: fopen(logs/log.txt) [function.fopen]: failed to open stream: Permission denied in C:\functions.php on line 51
Warning: fputs(): supplied argument is not a valid stream resource in C:\Ifunctions.php on line 53
Warning: fclose(): supplied argument is not a valid stream resource in C:\functions.php on line 54
Doesnt make logs ??
Possibly coz of MIME ??
-
Re: Emisand's Gunz Admin Panel v3
This is the error i get:
http://i38.tinypic.com/11gsj0x.jpg
Any solutions?
-
Re: Emisand's Gunz Admin Panel v3
Edit PHP.ini and set display_errors=Off