Junior Spellweaver
- Joined
- Jun 30, 2008
- Messages
- 118
- Reaction score
- 0
i got error to line 263
VALUES('$id', '$itemid', GETDATE(), '$rentperiod', 1)");
VALUES('$id', '$itemid', GETDATE(), '$rentperiod', 1)");
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
If you have the Jan 2007 DB you may have it in there.how to make tabbel for storage rent period???
You are not telling what error you have. I can't help you.i got error to line 263
VALUES('$id', '$itemid', GETDATE(), '$rentperiod', 1)");
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.
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.
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
[B]Warning:[/B] odbc_exec()[[U]function.odbc-exec[/U]]: 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
[B]C:\wamp\www\gunz\Panel\accounts.php[/B] on line [B]263[/B]
I got this error while adding items into storage.
Code:[B]Warning:[/B] odbc_exec()[[U]function.odbc-exec[/U]]: 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 [B]C:\wamp\www\gunz\Panel\accounts.php[/B] on line [B]263[/B]
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?