Jump to content
  • 0

problem


WASSIm.

Question

Posted

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 ?

8 answers to this question

Recommended Posts

  • 0
Posted (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 by Guest
  • 0
Posted
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 
) 

  • 0
Posted
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 
) 

  • 0
Posted
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

  • 0
Posted
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 ?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...