raftalks / ravel Goto Github PK
View Code? Open in Web Editor NEWCMS developed with Laravel 4 PHP framework and Angularjs
License: BSD 3-Clause "New" or "Revised" License
CMS developed with Laravel 4 PHP framework and Angularjs
License: BSD 3-Clause "New" or "Revised" License
Use own BaseController class and not the one in app directory.
If anybody changed that it will throw an error so thats an additional dependency.
Hello, when i install ravel in laravel 4.0.5, i received a error:
http://i.imgur.com/7SA8rse.jpg
'D:\xampp\htdocs\project\ravel\vendor/raftalks/ravel/50b660ff32267ae90be839
2e27c8a129' is not a zip archive.
Can you help me? Thank you.
Sr, my english is very bad :)
There's a little problem in the procedure for installing ravel. Your documentation says to add ravel to composer.json file and then add the provider to app.php in config directory. Then to issue composer update.
However, it should be:
your helper function dd() conflict with laravel helper function ..
PHP Fatal error: Cannot redeclare dd() (previously declared in /Users/Zaher/Sites/rav/vendor/laravel/framework/src/Illuminate/Support/helpers.php:434) in /Users/Zaher/Sites/rav/vendor/raftalks/ravel/src/Raftalks/Ravel/RavelHelpers.php on line 36
Script php artisan optimize handling the post-update-cmd event returned with an error: PHP Fatal error: Cannot redeclare dd() (previously declared in /Users/Zaher/Sites/rav/vendor/laravel/framework/src/Illuminate/Support/helpers.php:434) in /Users/Zaher/Sites/rav/vendor/raftalks/ravel/src/Raftalks/Ravel/RavelHelpers.php on line 36
I installed Ravel with composer and that seemed to work fine. When I go to mysite.com/admin I can log into Ravel and see the admin interface. But when I click on the Dashboard tab, I get a view with a spinner at the top that never loads any content.
When I click the Media tab I get a big SQL state error message, briefly, at the top.
How do I get Ravel working?
Bob
Looks like my install is getting some functions crossed. Can't find the culprit, the error page points me to Html.php, but best I can figure is something is getting called incorrectly in the __callStatic function, as HtmlHandler has no style method.
EDIT: After examination, it appears that ravel is overwriting the default Laravel HTML class, thus disabling the HTML::style() protocol in the blade templates. I'm trying to find the documentation for the new L4 HTML classes, but as far as I can tell, HTML is still a valid class to use. Am I missing something here?
$ php artisan ravel:install
Configuration published for package: raftalks/ravel
Assets published for package: raftalks/ravel
Migration table created successfully.
[Exception]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table contents
add unique contents_slug_content_type_lang_publish_date_unique(slug
, content_type
, lang
, publish_date
)) (Bindings: array (
))
ravel:install
Just a heads up :)
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length
is 1000 bytes (SQL: alter table contents
add unique contents_slug_content_type_lang_publish_dat
e_unique(slug
, content_type
, lang
, publish_date
)) (Bindings: array (
))
I'm not sure if this was something only for me, but passing the array in line 38 of the create_contents_table migration did not work.
So i commented it out and added the unique part to each line that was in the array and it then worked.
Right after fresh install Access Denied badge keeps appearing
Can't manage Users and do other things.
got this error in console
GET http://example.com/ravel/api/mcollection 403 (Forbidden) angular.min.js:96
Object {error: "Access Denied"}
Hey guys,
Thanks for your work! After running php artisan ravel:install, everything throws a 500 error, including /admin. Also, when I run composer update, I'm getting:
Script php artisan optimize handling the post-update-cmd event returned with an error: (no error shown)
Just trying to get it installed to poke around! Any ideas?
Hi
Could you please include the new theme (for version 1) in the repository and make it possible to choose between themes in the config (this might already be possible).
I would like to have the option to add my twitter-bootstrap theme for ravel and don't want to be working on old code.
Regards
Victor
After a clean install, I'm not able to login on Ravel.
When I submit the form, it loops back to the form without any errors/message.
The Javascript console return the error: "Error: No module: app" from "jquery.min.js".
I understand that Ravel is in the alpha development stage, however I feel that this should be addressed.
If I attempt to install Ravel using artisan ravel:install
, I get an SQL syntax error.
I think that you should specify which database systems are supported. Unfortunately, my client does not have MySQL support. Therefore, I have to use SQLite. This is the only CMS made with Laravel 4 (to my knowledge), and looks to be very promising.
Hey,
nice work, for the theming thing, get some impressions from https://github.com/concrete5/concrete5
Keep up the good work, greets
Environment Win XP SP3, wamp local server, PHP 5.4.3.
Installed L4 and edited composer.json and app.php, created db.
Running composer update gives error :
The only I can think of is that TODAY I found out that while Apache on wamp runs PHP 5.4.3, command line PHP is 5.3.13 from an old installation of wamp.
Thanks
Petros
@raftalks How do you plan on implementing the 'frontend_theme' config option? I suggest we add a subfolder level to views so that we have
views
theme1
admin
layouts
templatestheme2
admin
layouts
templates
Also can we add a 'backend_theme' config option?
I've got my own authentication system built and running on my site, but I simply need a CMS to manage some content. Is there an easy way to disable ravel's authentication and just have it use Laravel's built in auth?
It all looked pretty hardcoded so I'm guessing not.
php artisan ravel:install
command produces this error:
[Exception]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; > max key length is 1000 bytes (SQL: alter table
contents
add unique contents_slug_content_type_lang_publish_date_unique(slug
, >content_type
,lang
,publish_date
)) (Bindi
ngs: array (
))
i think contents_slug_content_type_lang_publish_date_unique
key is way too long.
I would like to ask if your can tell me how I can include ravel in my application. I have a laravel backend and a angular frontend. For now I would like to manage the angular static content with the cms (maybe multilanguage in the future).
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- intervention/image 1.4.1 requires ext-gd * -> the requested PHP extension gd is missing from your system.
- raftalks/ravel dev-master requires intervention/image 1.4.* -> satisfiable by intervention/image[1.4.1].
- Installation request for raftalks/ravel * -> satisfiable by raftalks/ravel[dev-master].
after I run composer.phar update, I tend to have the previous error. This may be a newb question, but I'm stuck at getting this to work. Any bumps would be of great help!
Jan
[Exception]
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update
a child row: a foreign key constraint fails (`ravel`.`users`, CONSTRAINT `u
sers_usergroup_id_foreign` FOREIGN KEY (`usergroup_id`) REFERENCES `usergro
ups` (`id`) ON UPDATE CASCADE) (SQL: insert into `users` (`activated`, `api
_token`, `updated_at`, `created_at`) values (?, ?, ?, ?)) (Bindings: array
(
0 => true,
1 => '54097519e5bd614cd151b8247e77a11a',
2 => '2013-06-06 19:22:53',
3 => '2013-06-06 19:22:53',
))
hi,
i have installed it successfully this time, and i have logged in to the admin area ..
now with a fresh install i got an error "Not Found" which does not describe any thing, so a small dig you find that there is a request for :
ravel/api/posts?page=1
ravel/api/pages?page=1
ravel/api/postcategories?page=1
now the second issue which i have found is that when you go to the users tab, you will find only one user, but the pagination is wrong, http://d.pr/i/NTes
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.