[Release] PServerCMS a Website for your PServer

02/25/2016 07:47 ebrahim hima#46
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()
02/25/2016 08:08 KoKsPfLaNzE#47
you can easy change the formTemplate that will be used at formWidget if you use the secound parameter.

[Only registered and activated users can see links. Click Here To Register...]


you can also overwrite the default form

[Only registered and activated users can see links. Click Here To Register...]

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

example
[Only registered and activated users can see links. Click Here To Register...]
02/29/2016 17:02 ebrahim hima#48
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
03/01/2016 00:46 KoKsPfLaNzE#49
little example to use the [Only registered and activated users can see links. Click Here To Register...]

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 [Only registered and activated users can see links. Click Here To Register...]


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 @ [Only registered and activated users can see links. Click Here To Register...]
03/01/2016 02:46 XxGhostSpiriTxX#50
It can be used in Zend Server? there any guide?

thanks
03/01/2016 16:25 KoKsPfLaNzE#51
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 @ [Only registered and activated users can see links. Click Here To Register...]
readme you can find there [Only registered and activated users can see links. Click Here To Register...]
this is for normal apache with a php 5.6,sure you can also use php7

also added new features like

Features BanHistory - CharacterList
03/04/2016 10:25 soerenwe#52
Someone can help me to install? (German)?
03/04/2016 14:48 KoKsPfLaNzE#53
where you need help?

there is a readme, to install the apache2 with php and some basics
03/16/2016 22:49 ebrahim hima#54
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
03/16/2016 23:25 KoKsPfLaNzE#55
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
[Only registered and activated users can see links. Click Here To Register...]
03/17/2016 00:01 ebrahim hima#56
Quote:
Originally Posted by KoKsPfLaNzE View Post
you have to overwrite the view-helper
[Only registered and activated users can see links. Click Here To Register...]
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 :D

i appreciate your cooperation
keep the best project up
greetings
04/13/2016 14:50 KoKsPfLaNzE#57
added public room @ gitter

[Only registered and activated users can see links. Click Here To Register...]
04/17/2016 18:50 soerenwe#58
( ! ) 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?!

[Only registered and activated users can see links. Click Here To Register...]
04/17/2016 18:59 KoKsPfLaNzE#59
looks like that you didnt work with composer.

did you run "php composer.phar update"
04/19/2016 21:40 MrSh0x!#60
Awesome Release