1. Download CakePHP version 2.10.14 from the below link
2. Extract CakePHP into your web server directory and rename the folder
to "webzash"
Webpage after installing cakephp 2.10.14
3. Edit the app/Config/core.php file and change the following lines
After changing security.salt
4. Copy the app/Config/database.php.default file to app/Config/database.php
use phpmysql to create database "webzashfrmscratch"
Before changes:
After changes:
Screenshot after including database details
Screenshot after including
5. Edit the app/Config/bootstrap.php file and add the following lines
6. Edit the app/Config/routes.php file and comment out the default route
7. Install BoostCake plugin
for windoz used git for windows
8. Install Webzash plugin
zzz
Screenshot of webzash
Follow the link below to resolve the error
http://ncsu.librelab.org/2019/10/installing-webzash-v28-downloaded-from.html
Followed Readme.txt instruction in https://github.com/prashants/webzash
https://github.com/cakephp/cakephp/archive/2.10.14.tar.gz
NPriya@ODCGZM42SH MINGW64 /c/Bitnami/wampstack-7.2.22-0/apache2/htdocs/webzashfrmscratch $ tar -xzf cakephp-2.10.14.tar.gz NPriya@ODCGZM42SH MINGW64 /c/Bitnami/wampstack-7.2.22-0/apache2/htdocs/webzashfrmscratch $ ls cakephp-2.10.14/ cakephp-2.10.14.tar.gz NPriya@ODCGZM42SH MINGW64 /c/Bitnami/wampstack-7.2.22-0/apache2/htdocs/webzashfrmscratch $
2. Extract CakePHP into your web server directory and rename the folder
to "webzash"
Webpage after installing cakephp 2.10.14
3. Edit the app/Config/core.php file and change the following lines
Configure::write('Security.salt', 'IMPORTANT_CHANGE_THIS_VALUE'); Configure::write('Security.cipherSeed', 'IMPORTANT_CHANGE_THIS_VALUE'); date_default_timezone_set('UTC');
After changing security.salt
4. Copy the app/Config/database.php.default file to app/Config/database.php
use phpmysql to create database "webzashfrmscratch"
Before changes:
public $default = array( 'datasource' => 'Database/Mysql', 'persistent' => false, 'host' => 'localhost', 'login' => 'user', 'password' => 'password', 'database' => 'database_name', 'prefix' => '', //'encoding' => 'utf8', );
After changes:
public $default = array( 'datasource' => 'Database/Mysql', 'persistent' => false, 'host' => '127.0.0.1', 'login' => 'root', 'password' => 'r978867', 'database' => 'webzashfrmscratch', 'prefix' => '', //'encoding' => 'utf8', );
Screenshot after including database details
Screenshot after including
'port' => '3307',
5. Edit the app/Config/bootstrap.php file and add the following lines
CakePlugin::load('BoostCake'); CakePlugin::load('Webzash', array('routes' => true, 'bootstrap' => true));
6. Edit the app/Config/routes.php file and comment out the default route
// Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home')); // Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display'));
7. Install BoostCake plugin
NPriya@ODCGZM42SH MINGW64 /c/Bitnami/wampstack-7.2.22-0/apache2/htdocs/webzashfrmscratch/webzash $ pwd /c/Bitnami/wampstack-7.2.22-0/apache2/htdocs/webzashfrmscratch/webzash
for windoz used git for windows
$git clone https://github.com/slywalker/cakephp-plugin-boost_cake.git app/Plugin/BoostCake
8. Install Webzash plugin
zzz
$git clone https://github.com/prashants/webzash.git app/Plugin/Webzash
NPriya@ODCGZM42SH MINGW64 /c/Bitnami/wampstack-7.2.22-0/apache2/htdocs/webzashfrmscratch/webzash $ git clone https://github.com/prashants/webzash.git app/Plugin/Webzash Cloning into 'app/Plugin/Webzash'... remote: Enumerating objects: 4628, done. remote: Total 4628 (delta 0), reused 0 (delta 0), pack-reused 4628 Receiving objects: 100% (4628/4628), 4.14 MiB | 256.00 KiB/s, done. Resolving deltas: 100% (3298/3298), done. Updating files: 100% (220/220), done. NPriya@ODCGZM42SH MINGW64 /c/Bitnami/wampstack-7.2.22-0/apache2/htdocs/webzashfrmscratch/webzash $
Screenshot of webzash
Follow the link below to resolve the error
http://ncsu.librelab.org/2019/10/installing-webzash-v28-downloaded-from.html
Followed Readme.txt instruction in https://github.com/prashants/webzash