thalord
Community Developer
- Joined
- Apr 24, 2011
- Messages
- 651
Jop und da links jetzt auf bot und dann auf Struktur
Jop und da links jetzt auf bot und dann auf Struktur
Mist ist richtig... Dann fällt mir spontan nix mehr ein -.-
K?nnen wir ja ma schauensofern du m?chtest / zeit hast kannst du dich per icq/skype einmal melden bei mir, dann k?nnen wir uns das auf meinen funpic.de server einmal gemeinsam anschauen, aber im enteffekt ist es ja nur ein sch?nheitsfehler![]()
You mean the screenshot upload? In the BuddyCon Thread is a how to?How do i make the upload Scrip. please help a noobie like me.
@Error:[bC]: Screenshot requested
[bC]: url: http://mydon.hey/BuddyCon/upload.php
[bC]: Fehler: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /BuddyCon/upload.php was not found on this server.</p>
</body></html>
how to fix it ?
And does we Get Battelnet and Hbrelog kill in selfhost too?
Hi,
thx for sharing
I tested this configuration but got any problems.
After i configured my webserver and created my MySQL DB i tested to create an buddycon user
.../buddycon/index.php?r=user/create
I got this error:
CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
...
.../buddycon/yii/framework/yiilite.php(7924)
7912 if(empty($this->connectionString))
7913 throw new CDbException('CDbConnection.connectionString cannot be empty.');
7914 try
7915 {
7916 $this->_pdo=$this->createPdoInstance();
7917 $this->initConnection($this->_pdo);
7918 $this->_active=true;
7919 }
7920 catch(PDOException $e)
7921 {
7922 if(YII_DEBUG)
7923 {
7924 throw new CDbException('CDbConnection failed to open the DB connection: '.
7925 $e->getMessage(),(int)$e->getCode(),$e->errorInfo);
7926 }
7927 else
7928 {
7929 Yii::log($e->getMessage(),CLogger::LEVEL_ERROR,'exception.CDbException');
7930 throw new CDbException('CDbConnection failed to open the DB connection.',(int)$e->getCode(),$e->errorInfo);
7931 }
7932 }
7933 }
7934 }
7935 protected function close()
7936 {
Could you help me pls. thx
what do you mean particular?It would be awesome If you could update it, there are many improvements done on buddycon.eu that I would love to see on selfhosted server![]()
what do you mean particular?
Some of feature will not be in the self hosted buddycon. Simply because you need a dedicated server an some linux admin skills
Which one exactly? I guess the Bots overview page?I played a littlebit with server side config, I got rid of some stats I dont need, but I cant disable pagination (sorting by pages), can you point me where did you implement it?
public function actionIndex()
{
//Yii::app()->user->setFlash('success', '<strong>Well done!</strong> You successfully read this important alert message.');
$dataProvider=new CActiveDataProvider('Bot',array(
'criteria'=>array(
'condition'=>'user_id='.Yii::app()->user->id,
'order'=>'latestupdate DESC',
)));
$this->render('index',array(
'dataProvider'=>$dataProvider,
));
}
public function actionIndex()
{
//Yii::app()->user->setFlash('success', '<strong>Well done!</strong> You successfully read this important alert message.');
$dataProvider=new CActiveDataProvider('Bot',array(
'criteria'=>array(
'condition'=>'user_id='.Yii::app()->user->id,
'order'=>'latestupdate DESC',
),
'pagination'=>array(
'pageSize'=>20,
)
));
$this->render('index',array(
'dataProvider'=>$dataProvider,
));
}
PHP Version?
I don't know if thats an error or not.[bC]: {"response":"No User"}
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=db',
'db'=>array(
'connectionString' => 'mysql:host='/var/mysql/socket/;dbname=db',
'db'=>array(
'connectionString' => 'mysql:unix_socket=/var/mysql/socket/;dbname=db',