digitalpublishingtoolkit / epubster Goto Github PK
View Code? Open in Web Editor NEWA web application to create and edit EPUBs, written in CakePHP.
License: GNU General Public License v2.0
A web application to create and edit EPUBs, written in CakePHP.
License: GNU General Public License v2.0
Hi there,
I don't seem to be able to find the full database schema ... or should it self create.
Cheers,
Michael
I'm trying to get it to run on a vintage CentOS 6.5 / ISPConfig / Ajenti server.
I've cloned both the cakephp and epubster into a private folder that cannot be accessed by the web server first.
cp ~/cakephp/app/ ~/../web/
cp ~/cakephp/lib ~/../web/
cp -f ~/epubster/ ~/../web/
Don't remember the right syntax right now; used
mc
. Only represented as reference.
After the files had been in place, they could be tampered with.
cp Config/database.php.default Config/database.php
and editing it to meet the local settings. Uncommenting the encoding would just meet the case.
$ mysql -u db_user -pDB_PASS
and then got that stuff inside
mysql> use db;
mysql> source database.sql;
mysql> quit;
[Sun Feb 08 01:40:41 2015] [warn] [client ::1] mod_fcgid: stderr: PHP Warning: include(): open_basedir restriction in effect. File(/var/www/clients/client4/web50/lib/Cake/bootstrap.php) is
not within the allowed path(s): (/var/www/clients/client4/web50/web:/var/www/clients/client4/web50/private:/var/www/clients/client4/web50/tmp:/var/www/epub.allmende.io/web:/srv/www/epub.allm
ende.io/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client4/web50/web/webroot/index.php on line 98
[Sun Feb 08 01:40:41 2015] [warn] [client ::1] mod_fcgid: stderr: PHP Warning: include(/var/www/clients/client4/web50/lib/Cake/bootstrap.php): failed to open stream: Operation not permitted
in /var/www/clients/client4/web50/web/webroot/index.php on line 98
[Sun Feb 08 01:40:41 2015] [warn] [client ::1] mod_fcgid: stderr: PHP Warning: include(): Failed opening '/var/www/clients/client4/web50/lib/Cake/bootstrap.php' for inclusion (include_path=
'.:/usr/share/pear:/usr/share/php') in /var/www/clients/client4/web50/web/webroot/index.php on line 98
[Sun Feb 08 01:40:41 2015] [warn] [client ::1] mod_fcgid: stderr: PHP Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It sh
ould point to the directory containing your /cake core directory and your /vendors root directory. in /var/www/clients/client4/web50/web/webroot/index.php on line 103
wherefore I adapted define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'web' . DS . 'lib');
in index.php
date_default_timezone_set('Europe/Berlin');
if (!is_numeric($this->settings['duration'])) {
$this->settings['duration'] = strtotime($this->settings['duration']) - time();
}
return true;
to CacheEngine.php
and weird time errors disappeared.
[Sun Feb 08 02:40:32 2015] [warn] [client ::1] mod_fcgid: stderr: PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /var/www/clients/client4/web50/web/lib/Cake/Cache/CacheEngine.php on line 60
Finally a PHP application is presenting its "frontend" errors.
Notice (1024): Please change the value of 'Security.salt' in APP/Config/core.php to a salt value specific to your application. [APP/lib/Cake/Utility/Debugger.php, line 846]
Notice (1024): Please change the value of 'Security.cipherSeed' in APP/Config/core.php to a numeric (digits only) seed value specific to your application. [APP/lib/Cake/Utility/Debugger.php, line 850]
security.salt
and .cypherSeed
and can now go on to create the first user.Should I update the docs and create a PR from my fork?
This looks interesting!
Is there a demo available somewhere?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.