Jump to content
News ticker
  • Bienvenue sur le nouveau forum VeryGames
  • Welcome to the new VeryGames forum
  • VeryNews

    Sourceban


    Marechoux
     Share

    Recommended Posts

    ALors déjà t'as des erreurs sur ta page, en haut tu as

    Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_j4tg3uq5capumfafqiibmjc626, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/marechalsummers.gheberg.eu/subdomains/sourceban/httpdocs/index.php on line 22

    et en bas

    Warning: Unknown: open(/var/lib/php/session/sess_j4tg3uq5capumfafqiibmjc626, O_RDWR) failed: Permission denied (13) 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 (/var/lib/php/session) in Unknown on line 0

    Mis a part ca, quand tu ban on voit qui a ban etc. sa fonctionne correctement apparemment.

     

    Sinon ton databases.cfg devrait ressembler a ca

     

    "Databases"
    {
    "driver_default"		"mysql"
    
    "sourcebans"
    {
    	"driver"			"default"
    	"host"				"sql-1.verygames.net"
    	"database"			"dg_siteXXXX"
    	"user"				"dg_siteXXXX"
    	"pass"				"XXXXXXXX"
    	//"timeout"			"0"
    	"port"			"3306"
    }
    
    "default"
    {
    	"driver"			"default"
    	"host"				"localhost"
    	"database"			"sourcemod"
    	"user"				"root"
    	"pass"				""
    	//"timeout"			"0"
    	//"port"			"0"
    }
    
    "storage-local"
    {
    	"driver"			"sqlite"
    	"database"			"sourcemod-local"
    }
    
    "clientprefs"
    {
    	"driver"			"sqlite"
    	"host"				"localhost"
    	"database"			"clientprefs-sqlite"
    	"user"				"root"
    	"pass"				""
    	//"timeout"			"0"
    	//"port"			"0"
    }
    }
    

    en mettant les bonnes infos sql ;-)

    Link to comment
    Share on other sites

    Alors papy non sa ne fonctionne pas tout ce qu'il y a, je l'ai entré a la main et les erreurs, elles sont arrivées entre temps, et la case debugmode n'est pas cochée

    "driver_default"		"mysql"
    
    "sourcebans"
    {
    	"driver"			"default"
    	"host"				"localhost"
    	"database"			"MarechalSummers_********"
    	"user"				"****"
    	"pass"				"******"
    	//"timeout"			"0"
    	"port"			"3306"
    }
    

    Link to comment
    Share on other sites

    Mets comme sa plutot...

     

    "sourcebans"

    {

    "driver" "mysql"

    "host" "sql-1.verygames.net"

    "database" "ici tu mets serverXXXX ou si tu as un dedigame dg_siteXXXX"

    "user" "ici tu mets serverXXXX ou si tu as un dedigame dg_siteXXXX"

    "pass" "Ton pass"

    //"timeout" "0"

    "port" "3306"

    }

    X étant les numéros de ton serveur ou dédigame...

     

    Tu peux trouver tous sa ici:

     

    Mon Hébergement Web ---> Mon Site ---> Accès pour la base de données

    Link to comment
    Share on other sites

    Pour faire fonctionner sourcebans il faut que l'hébergeur web active sur sa machine une fonction que bien souvent des hébergeurs n'activent pas pour cause de sécurité. OVH par exemple.

    DOnc il se peut que cette fonction n'est pas activé sur ton hébergeur web.

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

     Share

    ×
    ×
    • Create New...