[Release] PServerCMS a Website for your PServer

04/05/2017 00:52 OverLimitNetwork#136
Quote:
Originally Posted by KoKsPfLaNzE View Post
did you use the connection like @ your [Only registered and activated users can see links. Click Here To Register...] in the shard part

or what did you write there?

the error say connection error, maybe no tcp/ip enabled if you use a ip, or port is wrong
this is my info :
[Only registered and activated users can see links. Click Here To Register...]
04/05/2017 00:56 KoKsPfLaNzE#137
Quote:
Originally Posted by OverLimitNetwork View Post
this is my info :
[Only registered and activated users can see links. Click Here To Register...]
first
GameBackend\DBAL\Driver\PDOSqlsrv\Driver::class
and not
Doctrine\DBAL\Driver\PDOSqlsrv\Driver::class

the hostname realy exists?

i think your gameserver, website and db run on same server, or?
if yes just use same login parts like in the gameserver.

if its also not working, is there smth that blocks network connections?
04/05/2017 01:23 OverLimitNetwork#138
Quote:
Originally Posted by KoKsPfLaNzE View Post
first
GameBackend\DBAL\Driver\PDOSqlsrv\Driver::class
and not
Doctrine\DBAL\Driver\PDOSqlsrv\Driver::class

the hostname realy exists?

i think your gameserver, website and db run on same server, or?
if yes just use same login parts like in the gameserver.

if its also not working, is there smth that blocks network connections?
edited it from Doctrine to GameBackend
and yes i am running the db and website on same server
and i already write the login parts like my server files ...
also there's nothing that blocks network connections ..
no idea what is wrong

error is : PHP Fatal error: Uncaught PDOException: SQLSTATE[28000]: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Login failed for user 'sa'. in C:\Apache24\htdocs\pserverCMSFull\vendor\doctrine\ dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:43
04/05/2017 13:17 KoKsPfLaNzE#139
Quote:
Originally Posted by OverLimitNetwork View Post
edited it from Doctrine to GameBackend
and yes i am running the db and website on same server
and i already write the login parts like my server files ...
also there's nothing that blocks network connections ..
no idea what is wrong

error is : PHP Fatal error: Uncaught PDOException: SQLSTATE[28000]: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Login failed for user 'sa'. in C:\Apache24\htdocs\pserverCMSFull\vendor\doctrine\ dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:43

your sa login is wrong, maybe wrong password or smth
04/05/2017 14:01 OverLimitNetwork#140
Quote:
Originally Posted by KoKsPfLaNzE View Post
your sa login is wrong, maybe wrong password or smth
i am using the same info to connect to my game db already ...
04/05/2017 15:18 KoKsPfLaNzE#141
Quote:
Originally Posted by OverLimitNetwork View Post
i am using the same info to connect to my game db already ...
the error in your post say

Login failed for user 'sa'

so there is smth wrong with the sql access, i can not help with this access, maybe create a aother acc for web, and dont use in all places the sa user
04/05/2017 20:15 OverLimitNetwork#142
i manage to make it work
but i get this once i access to the admin panel : [Only registered and activated users can see links. Click Here To Register...]
04/05/2017 21:27 KoKsPfLaNzE#143
Quote:
Originally Posted by OverLimitNetwork View Post
i manage to make it work
but i get this once i access to the admin panel : [Only registered and activated users can see links. Click Here To Register...]
check [Only registered and activated users can see links. Click Here To Register...]

there is written how to fix that
04/18/2017 19:47 ebrahim hima#144
i'm wondering;
how to call a specific timer outside its main template (specifically in a twig template)
for ex: adding only fortress timer in detail-guide
04/18/2017 19:53 KoKsPfLaNzE#145
Quote:
Originally Posted by ebrahim hima View Post
i'm wondering;
how to call a specific timer outside its main template (specifically in a twig template)
for ex: adding only fortress timer in detail-guide
did you already read [Only registered and activated users can see links. Click Here To Register...]
04/18/2017 20:25 ebrahim hima#146
Quote:
Originally Posted by KoKsPfLaNzE View Post
did you already read [Only registered and activated users can see links. Click Here To Register...]
honestly i tried it with my own newbie knowledge something like this
Code:
{{ timerWidgetPServerCore().sidebarTimerWidget().getTimer().timeCache['name' => 'Fortress'] }}
04/19/2017 01:01 KoKsPfLaNzE#147
Quote:
Originally Posted by ebrahim hima View Post
honestly i tried it with my own newbie knowledge something like this
Code:
{{ timerWidgetPServerCore().sidebarTimerWidget().getTimer().timeCache['name' => 'Fortress'] }}
you just have to write

Code:
{{ fortressGuildViewSro() }}
for fortress info, for two different timers you need your own view-helper, thats not supportet in the base-system.
04/19/2017 15:14 ebrahim hima#148
Quote:
Originally Posted by KoKsPfLaNzE View Post
you just have to write

Code:
{{ fortressGuildViewSro() }}
for fortress info, for two different timers you need your own view-helper, thats not supportet in the base-system.
well, i will try then to create my own view-helper
also while searching among the view helpers i found an inspired syntax inside the vote twig script

got another request buddy:
is there any built-in method to update/increment certificate_num [varchar] column @ TB_User while registering ?
it's required for cSRO-R Files certifying the user, you know!
and should be initiated with for ex: '203103198405100000'
04/19/2017 15:21 KoKsPfLaNzE#149
Quote:
Originally Posted by ebrahim hima View Post
well, i will try then to create my own view-helper
also while searching among the view helpers i found an inspired syntax inside the vote twig script

got another request buddy:
is there any built-in method to update/increment certificate_num [varchar] column @ TB_User while registering ?
it's required for cSRO-R Files certifying the user, you know!
and should be initiated with for ex: '203103198405100000'

dont know smth about that coln. maybe you can join the gitter chat and tell me what is there missing and how it should look.

Quote:
Originally Posted by ebrahim hima View Post
well, i will try then to create my own view-helper
also while searching among the view helpers i found an inspired syntax inside the vote twig script

got another request buddy:
is there any built-in method to update/increment certificate_num [varchar] column @ TB_User while registering ?
it's required for cSRO-R Files certifying the user, you know!
and should be initiated with for ex: '203103198405100000'
added a dev-version

you just need to add following in your composer.json
`"kokspflanze/game-backend" : "dev-master as 0.99"`
and than run `php composer.phar update`
04/24/2017 11:09 hossammixawy#150
good job . best website