WASSIm. Posted June 30, 2013 Share Posted June 30, 2013 hi guyss. all file sql (.db) not working and if i want delete resource with admin panel not working i think problem server failed connected files. its working in my server local but in my server hosting not working! why ? Link to comment
0 Adde Posted July 1, 2013 Share Posted July 1, 2013 (edited) For the problem with removing resources with Admin panel try to download a new panel again and replace the whole admin resource. Or you maybe haven´t permission to do that. Edited July 1, 2013 by Guest Link to comment
0 WASSIm. Posted July 1, 2013 Author Share Posted July 1, 2013 For the problem with removing resources with Admin panel try to download a new panel again and replace the whole admin resource. Or you maybe haven´t permission to do that. Check acl first and see if you have "command.deleteresource" true for you. Else do as I said, download the admin panel again. script working but can't connect file and this if delete file normally auto create but tell me outputDebugString ( "Failed to connect to file.db", 3 ) addEventHandler ( "onResourceStart", resourceRoot, function ( ) connection = dbConnect( "sqlite", "file.db" ) if ( connection )then dbExec ( connection, "..." ) - JUST FOR EXMPLE outputDebugString ( "Successfully connected to file.db" ) else outputDebugString ( "Failed to connect to file.db", 3 ) end end ) Link to comment
0 Adde Posted July 1, 2013 Share Posted July 1, 2013 Well okay, then I probably don´t know. Link to comment
0 iPrestege Posted July 1, 2013 Share Posted July 1, 2013 addEventHandler ( "onResourceStart", resourceRoot, function ( ) if dbConnect( "sqlite", "file.db" ) then outputDebugString ( "Successfully connected to file.db" ) else outputDebugString ( "Failed to connect to file.db", 3 ) end end ) Link to comment
0 WASSIm. Posted July 1, 2013 Author Share Posted July 1, 2013 addEventHandler ( "onResourceStart", resourceRoot, function ( ) if dbConnect( "sqlite", "file.db" ) then outputDebugString ( "Successfully connected to file.db" ) else outputDebugString ( "Failed to connect to file.db", 3 ) end end ) its exmple Link to comment
0 WASSIm. Posted July 1, 2013 Author Share Posted July 1, 2013 hi guyss. all file sql (.db) not working and if i want delete resource with admin panel not working i think problem server failed connected files. its working in my server local but in my server hosting not working! why ? Link to comment
Question
WASSIm.
hi guyss. all file sql (.db) not working and if i want delete resource with admin panel not working i think problem server failed connected files. its working in my server local but in my server hosting not working! why ?
Link to comment
8 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now