Comments (9)
can u paste the SQL error message
from ravel.
SQLSTATE[HY000]: General error: 1 no such function: if (SQL: select *, if(user_id = 2,"private","shared") as type from "mcollections" where "user_id" = ? or ("shared" = ?) limit 10 offset 0) (Bindings: array ( 0 => '2', 1 => 1, ))
Would that also explain the stall on the Dashboard tab?
from ravel.
I haven't finished the dashboard and since there are no controllers and no service requests, the ajax loader is displayed.
As for the SQL error, seems like your MySQL version is not supporting the Control Flow Function IF()
http://dev.mysql.com/doc/refman/5.0/en/control-flow-functions.html#function_if
Can you tell me your MySQL version ? RavelCMS Requires MySQL 5.0+
from ravel.
I think I should probably avoid that line of SQL to make it comply with other databases via PDO.
from ravel.
I'm running MySQL 5.5.29 via MAMP Pro.
from ravel.
Thats strange, I can't seem to replicate the same issue. Did you add a collection to the media, or is that error shown straight after you have clicked to Media ?
Can you check if the database table 'mcollections' exists? Also make sure you are using MySQL by checking the app/config/database.php file where the array key for 'default' should be 'mysql'
from ravel.
I get the error immediately after clicking on the Media tab. No collections have yet been added.
The table mcollections does exist.
BUT, I am running Laravel 4 locally with a SQLite database!
Must I be running MySQL to use Ravel?
from ravel.
Yes, that is the issue. You will need to use MySQL to use Ravel as of now, as I need to remove some of those SQL query statements to make it work with other databases.
from ravel.
OK, I'll try that next. I thought the Laravel environment was pretty database agnostic.
from ravel.
Related Issues (20)
- Doesn't seed the `users` table while ravel:install HOT 2
- SQLSTATE[42000]: Syntax error or access violation: 1071 HOT 5
- Installation problems HOT 3
- Call to undefined method Html\HtmlHandler::style() HOT 2
- Unable to install when using SQLite HOT 7
- Installation error HOT 3
- A little problem with documentation (Installation process) HOT 2
- Max Key Length Exceeded HOT 2
- Themes HOT 1
- [Proposal] Add theme level below views HOT 1
- i cannot install ravel in laravel 4.0.5 HOT 2
- Access Denied badge HOT 6
- Is it possible to turn off Ravel's authentication? HOT 1
- Impressions HOT 1
- Pagination Control Errors on Users Tab HOT 3
- laravel backend/angular frontend how include ravel csm
- Can't Install HOT 2
- no found error after install HOT 3
- Install error: key too long HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ravel.