Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 11:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] PServerCMS a Website for your PServer

Discussion on [Release] PServerCMS a Website for your PServer within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Closed Thread
 
Old 02/25/2016, 07:47   #46
 
ebrahim hima's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 44
Received Thanks: 7
Quote:
Originally Posted by ILowe View Post
help zendserver

PHP Code:
Fatal errorUncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'username'@'localhost' (using password: YES)' in 
C
:\Program Files (x86)\Zend\Apache2\htdocs\pserverCMSFull\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:43 Stack trace#0 
C:\Program Files (x86)\Zend\Apache2\htdocs\pserverCMSFull\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php(43): PDO->__construct('mysql:host=loca...''username''password', Array) #1 
C:\Program Files (x86)\Zend\Apache2\htdocs\pserverCMSFull\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOMySql\Driver.php(45): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...''username''password', Array) #2 
C:\Program Files (x86)\Zend\Apache2\htdocs\pserverCMSFull\vendor\doctrine\dbal\lib\Doctrine\DBAL\Connection.php(360): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'username''password', Array) #3 
C:\Program Files (x86)\Zend\Apache2\htdocs\pserverCMSFull\vendor\doctrine\dbal\lib\Doctrine\DBAL\Conne in 
C
:\Program Files (x86)\Zend\Apache2\htdocs\pserverCMSFull\vendor\zendframework\zend-servicemanager\src\ServiceManager.php on line 943 
Code:
Doctrine\DBAL\Driver\PDOMySql\Driver
there you go change that part

@KoKsPfLaNzE would be nice if you separate register, login & pw-lost forms in the next updates
i'm curious about the twig syntax for eg.formLabel($element) so i can just use the forms within the twig files instead of formWidget()
ebrahim hima is offline  
Old 02/25/2016, 08:08   #47
 
KoKsPfLaNzE's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 731
Received Thanks: 233
you can easy change the formTemplate that will be used at formWidget if you use the secound parameter.




you can also overwrite the default form



but you have to be carefull, if you change it, better is to use seperate form-template.

example
KoKsPfLaNzE is offline  
Thanks
1 User
Old 02/29/2016, 17:02   #48
 
ebrahim hima's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 44
Received Thanks: 7
thanks, that helped a little
so now what should be the php syntax to get each $element individually ?
eg: if using a bootstrap template which has username in form-group individually unlike email && emailVerify which are in the same form-group
something like that:-
(Email, Password && Confirm Password)


One more thing-> AdminPanel layout is a kinda bugged


as you can see Statics menu is missing or not visible IDK
it would be nice if you fix it or add a capability for main routes to be collapsible (like for ex:Settings, TicketSystem...) or something similar to the navigation menu
ebrahim hima is offline  
Old 03/01/2016, 00:46   #49
 
KoKsPfLaNzE's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 731
Received Thanks: 233
little example to use the

PHP Code:
/** @var \Zend\Form\Form $form */
$form $this->registerForm;

// this will return the element of the form for the username
$form->get('username'
the list of the element names of a form, you can find in the class like


about the adminpanel design its on todolist, if you want you can also push a new design or fixes for the design with a PullRequest @
KoKsPfLaNzE is offline  
Thanks
1 User
Old 03/01/2016, 02:46   #50

 
XxGhostSpiriTxX's Avatar
 
elite*gold: 53
Join Date: Jul 2012
Posts: 541
Received Thanks: 190
It can be used in Zend Server? there any guide?

thanks
XxGhostSpiriTxX is offline  
Old 03/01/2016, 16:25   #51
 
KoKsPfLaNzE's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 731
Received Thanks: 233
Quote:
Originally Posted by KoKsPfLaNzE View Post

SYSTEM REQUIREMENTS
  • works on Linux and Windows Server
  • PHP 5.5+
  • Apache2, NGINX, ZendServer, Wamp and other (IMPORTANT PHP 5.5)
  • MYSQL or MSSQL DB
  • OnlineOffline Table in LOG DB (Colns [CharID] and [Status]) more infos @
readme you can find there
this is for normal apache with a php 5.6,sure you can also use php7

also added new features like

Features BanHistory - CharacterList
KoKsPfLaNzE is offline  
Old 03/04/2016, 10:25   #52
 
elite*gold: 0
Join Date: Apr 2011
Posts: 182
Received Thanks: 38
Someone can help me to install? (German)?
soerenwe is offline  
Old 03/04/2016, 14:48   #53
 
KoKsPfLaNzE's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 731
Received Thanks: 233
where you need help?

there is a readme, to install the apache2 with php and some basics
KoKsPfLaNzE is offline  
Old 03/16/2016, 22:49   #54
 
ebrahim hima's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 44
Received Thanks: 7
after a long search on my best friend ever (Google) i managed to finally understand it
here's my output regForm

but like you notice captcha img and input will never separate
any idea about it ? i searched all over google and didn't find anything interesting about it
ebrahim hima is offline  
Old 03/16/2016, 23:25   #55
 
KoKsPfLaNzE's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 731
Received Thanks: 233
Quote:
Originally Posted by ebrahim hima View Post
after a long search on my best friend ever (Google) i managed to finally understand it
here's my output regForm

but like you notice captcha img and input will never separate
any idea about it ? i searched all over google and didn't find anything interesting about it

you have to overwrite the view-helper
KoKsPfLaNzE is offline  
Thanks
1 User
Old 03/17/2016, 00:01   #56
 
ebrahim hima's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 44
Received Thanks: 7
Quote:
Originally Posted by KoKsPfLaNzE View Post
you have to overwrite the view-helper
boom sounds like a dead end for me
yeah i already have read something like that
my previous search on google lead me to something like extends Zend_Form_Element_Captcha & Zend_Form_Decorator_Captcha
but since i'm not that expert with zf yet, i shouldn't take the risk at the moment, and stop bumping

i appreciate your cooperation
keep the best project up
greetings
ebrahim hima is offline  
Old 04/13/2016, 14:50   #57
 
KoKsPfLaNzE's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 731
Received Thanks: 233
added public room @ gitter

KoKsPfLaNzE is offline  
Old 04/17/2016, 18:50   #58
 
elite*gold: 0
Join Date: Apr 2011
Posts: 182
Received Thanks: 38
( ! ) Fatal error: Uncaught exception 'Zend\ModuleManager\Exception\RuntimeException' with message 'Module (ZendDeveloperTools) could not be initialized.' in C:\Program Files (x86)\Zend\ZendServer\data\libraries\Zend_Framewor k_2\2.4.8\library\Zend\ModuleManager\ModuleManager .php on line 195
( ! ) Zend\ModuleManager\Exception\RuntimeException: Module (ZendDeveloperTools) could not be initialized. in C:\Program Files (x86)\Zend\ZendServer\data\libraries\Zend_Framewor k_2\2.4.8\library\Zend\ModuleManager\ModuleManager .php on line 195

i get this error someone can help me?!

soerenwe is offline  
Old 04/17/2016, 18:59   #59
 
KoKsPfLaNzE's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 731
Received Thanks: 233
looks like that you didnt work with composer.

did you run "php composer.phar update"
KoKsPfLaNzE is offline  
Old 04/19/2016, 21:40   #60
 
elite*gold: 40
Join Date: Apr 2016
Posts: 6
Received Thanks: 1
Awesome Release
MrSh0x! is offline  
Closed Thread

Tags
php, pservercms, website, zend


Similar Threads Similar Threads
[Release]pserver website (green white grey)
11/10/2009 - CO2 PServer Guides & Releases - 14 Replies
hey all, i made this website cause simplyperfection told me to make one with more lighter colors . Ok this isn't that light but yea i tried :p. If u like it press thanks If u wanna use it press thanks Want me to edit it or to finish it for u? leave me a msg Do u need a website let me know ;) screenshot:http://a.imagehost.org/0989/index.gif
[INFO] Pre-Release Conquer PServer WEBSITE based CMS
10/18/2009 - CO2 PServer Guides & Releases - 75 Replies
hi all... RELEASED Conquer PServer web "CONQUER CMS" (based DynastyCMS (RoseOnlineCMS). WHATS FITURE ??? ADMIN CP (what can admin do it ???) : - Banned Account = 100% FINISH - UnBanned Account = 100% FINISH - Added NEWS = 100% FINISH - Make a GM = 100% FINISH - Make a PM = 100% FINISH



All times are GMT +1. The time now is 11:58.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.