Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
WanWizard
a.k.a. WanWizard
Discussions
4
Comments
8245
Activity
ORM error - 1064 You have an error in your SQL syntax .... near '."id" AS "t0_c0"
That query uses double quotes to escape column names, which MySQL doesn't like. Do you have 'identifier' defined somewhere in your db.php database definition? If not, it should be 'identifier' => '`', for M…
Comment by
WanWizard
December 2012
permalink
Could someone give me a hint on this relation limit?
rows_limit will only work on the query as a whole, not on a relation, as it will limit the entire query. if you want to use that, it has to be defined at the top level of the array, so the same level as 'where' and 'related'.
Comment by
WanWizard
December 2012
permalink
Fieldset::forge()->add_model()
You will get this message if in a defined property, 'form' is not an array.
Comment by
WanWizard
December 2012
permalink
Pagination twitter template
Pagination from 1.4+ supports Bootstrap out of the box. The configuration for it is even present in the default config file (in core/config/pagination.php).
Comment by
WanWizard
December 2012
permalink
URL key for themes and data
I don't know Magento, so I haven't got a clue what this is about, sorry. Perhaps some examples?
Comment by
WanWizard
December 2012
permalink
Fuel Base CMS
Ah, they've put it back online. It was taken down after the infringement complaint. I see the source isn't back on github yet, which also means there's nothing to download.
Comment by
WanWizard
December 2012
permalink
What is best way to extend Orm and Fieldset behavior for custom select options?
Are the options really a runtime property? It's a lot easier to simply add a _init() method to your model, and have that add the options to the property.
Comment by
WanWizard
December 2012
permalink
Looking to override package files/classes
The Orm package doesn't contain core classes, so there's nothing to override. You can only extend the Orm classes in the traditional way, but they will not be used by the Orm model unless you change that too. What customizations are you …
Comment by
WanWizard
December 2012
permalink
Sentry activate_user issue
Which Sentry package and version are you using? The latest one can be found at http://github.com/fuel-packages
Comment by
WanWizard
December 2012
permalink
Bug With Model crud
That is ORM syntax, not Model_Crud syntax. In Model_Crud, find() is an implicit "all" query, it only accepts an array.
Comment by
WanWizard
December 2012
permalink
Sentry - Authentication Package
There is a new developer for Sentry that has taken over the Fuel version, see the repository on http://github.com/fuel-packages
Comment by
WanWizard
December 2012
permalink
Domain Install
If the files are really there (the paths you see in the error message), then it can't be something else then a rights issue. If doesn't have to be a file rights issue, it could also be that your (shared?) hoster has implemented some weird…
Comment by
WanWizard
December 2012
permalink
Config::set turn on profiling from controller
The profiler is activated in the framework initialisation. After that, the setting isn't used anymore. If you want to enable the profiler manually, you have to init the profiler too using: \Profiler::init();
Comment by
WanWizard
December 2012
permalink
Problem with Auth::get_roles() in MyAuth SimpleAuth replacement
Because you haven't disabled it in your app/config/config.php? Set "index_file" to false.
Comment by
WanWizard
December 2012
permalink
Problem with Auth::get_roles() in MyAuth SimpleAuth replacement
You can't call get_roles in the default Auth installation too. A quick scan of the code reveals you can only call methods in the Login driver statically, as the methods are called on the Auth instance. The Group and ACL drivers are properties …
Comment by
WanWizard
December 2012
permalink
Problem with Auth::get_roles() in MyAuth SimpleAuth replacement
You do have multiple drivers active? The static calls only work if there is only one driver present.
Comment by
WanWizard
December 2012
permalink
Fuel Base CMS
Where? What they did was take the PyroCMS code, swapped CodeIgniter for FuelPHP, and adapted the code so it would work. And removed all the original copyright notices...
Comment by
WanWizard
December 2012
permalink
Domain Install
What error?
Comment by
WanWizard
December 2012
permalink
Domain Install
No, nothing is in public_html, except what is (in the zip) in public. So you get: [root] /fuel /fuel/app /fuel/core /fuel/packages /public_html oil
Comment by
WanWizard
December 2012
permalink
Domain Install
Ok. So the message is that you have to unzip one directory up, and move everything from public to public_html.
Comment by
WanWizard
December 2012
permalink
Domain Install
The idea behind the current structure is that the public folder is going to be your docroot. It is not required that this folder is called "public", we had to give it a name. In your case, this folder is called "public_html". So…
Comment by
WanWizard
December 2012
permalink
Domain Install
Then at least your index.php should load when you request /fuelphp-1.4/public/index.php. As long as that is not happening you have a basic webserver issue. If that loads, you'll have to figure out how to rewrite this path, as it's a non-s…
Comment by
WanWizard
December 2012
permalink
Fuel Base CMS
From what I understand it wasn't intentional, and they are discussing it with the Pyro team.
Comment by
WanWizard
December 2012
permalink
Domain Install
Sounds like a rights issue on your server. Does the webserver have (at least) read-rights on the files you uploaded?
Comment by
WanWizard
December 2012
permalink
Fuel Base CMS
It was taken offline after it was discovered it was a copy of the PyroCMS code, without attributing the copyright owners.
Comment by
WanWizard
December 2012
permalink
More Comments
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
About
Username
WanWizard
Joined
January 2011
Visits
2,422
Last Active
2:50PM
Roles
Administrator