Scholieren.com forum

Scholieren.com forum (https://forum.scholieren.com/index.php)
-   Software & Hardware (https://forum.scholieren.com/forumdisplay.php?f=20)
-   -   [web] wat moet ik in dit config.php invullen (https://forum.scholieren.com/showthread.php?t=1058973)

halilo 31-12-2004 13:46

[web] wat moet ik in dit config.php invullen
 
hii hai. ik heb een weblog gedownload. ik moet eerst de config.php wijzigen.
dit is de config.php:

Citaat:

<?php
$CONF['general'] = array(
'site_name' => 'aPanel Website',
'apanel_directory' => '/public/apanel/',
'global_path' => '/home/cbomain/public_html/',
'mainsite_url' => 'http://localhost/public/apanel/',
'template' => 'Gray',
);
$CONF['sql'] = array(
'host' => 'localhost',
'user' => 'root',
'pass' => '',
'apdb' => 'apanel',
'prefix' => 'ap_',
'port' => 3306,
'protocol' => 1,
'driver' => 'mysql',
);
$CONF['features'] = array(
'poll' => 'on',
'counter' => 'on',
'shoutbox' => 'on',
'forum' => 'on',
'usersonline' => 'on',
'news_sidebar' => 'on',
'news_page' => 'on',
'announcments' => 'on',
'login_reg' => 'on',
);
$CONF['banned'] = array(
'banned_ips' => '',
);
$CONF['boardoff'] = array(
'shutdown' => 'off',
'offlinetitle' => 'Site will be back soon',
'offlinereason' => 'testing....',
);
?>
ik begrijp dat je een MySQL Database nodig hebt dus heb ik gedaan:

DataBase name: halillo_halil
Password: blabla

DataBase host: : freefronthost.com

hoe moet ik dit informatie nou in dit config.php invullen.

ik krijg iedere keer dit:

Citaat:

aPanel Critical Error: There was a problem with the database!
--------------------------------------------------------------------------------
MySQL Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
MySQL Error Number: 2002
Query:
alvast bedankt,

groetjes, halil

Triloxigen 31-12-2004 13:47

database host moet waarschijnlijk localhost zijn....

halilo 31-12-2004 13:58

nee lukt nie. ik krijg dit :

aPanel Critical Error: There was a problem with the database!
--------------------------------------------------------------------------------
MySQL Error: Access denied for user: 'halil@freefronthost.com' (Using password: YES)
MySQL Error Number: 1045
Query

Triloxigen 31-12-2004 14:37

Daar staat ook dat je niet localhost hebt ingesteld...

Energie 31-12-2004 19:54

haha, wil je zeker een warez log beginnen (y)

Triloxigen 01-01-2005 12:19

Citaat:

Energie schreef op 31-12-2004 @ 20:54 :
haha, wil je zeker een warez log beginnen (y)
Hoe kom je daarbij?

plishing 01-01-2005 16:18

Citaat:

Energie schreef op 31-12-2004 @ 20:54 :
haha, wil je zeker een warez log beginnen (y)
:|


Alle tijden zijn GMT +1. Het is nu 11:45.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.