cakephp-2.2 Questions
6
Solved
I'm getting this error:
Error: [CakeSessionException] Unable to configure the session, setting session.auto_start failed.
I'm using Cakephp 2.2.4.
EDIT
It seems this guy had the same issue: Cak...
Orontes asked 25/9, 2013 at 12:6
3
Solved
I use Zend Studio to develop in PHP with CakePHP, and one of the problems with CakePHP is that the views all reference undeclared local variables.
So for example, in the controller you would
$thi...
Roobbie asked 22/1, 2013 at 15:44
4
Solved
I'm developing a CakePHP 2.2 site locally with MAMP. Every so often, I get one or more warnings similar to this, about not being able to write to one or more cache files:
Warning: SplFileInfo::ope...
Parthenos asked 3/10, 2012 at 23:31
3
Solved
I often use properties in my classes that store an array of options. I'd like to be able to somehow merge those options from defaults declared in a parent class.
I demonstrated with some code.
cl...
Grapnel asked 19/1, 2013 at 18:26
2
Solved
I have noticed there's no datasource for Oracle in CakePHP 2.0 for the moment, although it seems they are working on in it now: http://ask.cakephp.org/questions/view/any_news_about_oracle_datasourc...
Ether asked 17/1, 2013 at 10:16
4
Solved
I'm invoking a controller function:
$.get("http://localhost/universityapp/courses/listnames", function(data){
alert("Data Loaded: " + data);
});
And in my Controller:
public function listnames...
Andria asked 18/10, 2012 at 20:7
1
I am using Cakephp framework 2.2.2.
I want to create a personalized URL for the user. For example, if a user enters username=pragnesh,
then they can access my site like: http://pragnesh.mylocalhos...
Korella asked 6/10, 2014 at 7:59
4
Solved
I have seen many questions regarding linking to theme assets in CakePHP and none of them are resolving my issue and also the most recent post was in 2012 so I thought I'd float my question out ther...
Heimer asked 13/8, 2013 at 20:39
4
Solved
I'm generating XML in a view with CakePHP's Xml core library:
$xml = Xml::build($data, array('return' => 'domdocument'));
echo $xml->saveXML();
View is fed from the controller with an array:...
Honig asked 9/4, 2014 at 8:1
2
Solved
I can't find any reference to the Security.level configuration setting from Cake 1.3 in the CakePHP 2.2 manual.
I also can't find any reference to this setting in the migration guide.
This settin...
Levo asked 21/1, 2013 at 19:47
0
My cakephp 2x site working fine on my local machine.
But i have upload on sub domain server it is not working.
I want my cakephp site working on sub domain with admin Prefix
http://vertaxtechnol...
Doctrinaire asked 2/12, 2013 at 12:41
3
I am using a custom validation rule in CakePHP to be sure a value is entered into a field when a corresponding checkbox is marked:
Here's the validation rule within my model's validation array.....
Crore asked 26/4, 2013 at 23:34
1
Solved
I wonder if it is possible with CakePHP validation rules to validate a field depending on another.
I have been reading the documentation about custom validation rules but the $check param only con...
Compony asked 8/1, 2013 at 14:43
2
Solved
Currently, I have a big CakePHP application with a layout and a lot of views. In the layout, I load Javascript files in the head which are needed by most views. In the views themself, I either load...
Landlordism asked 29/12, 2012 at 17:24
0
What I did:
I make a project in CakePHP 2.2.3. It worked fine till I did some changes in css.
What happened
When i refreshed the page in browser I get following error
Fatal error: Class 'D...
Tetrafluoroethylene asked 2/11, 2012 at 5:30
4
Solved
I know there are a couple of other topics about this subject, but non of them seems to fit my needs.
What I have
example.com/log/
LogsController.php
I have LogsController instead of LogControl...
Podgorica asked 12/8, 2012 at 20:18
1
Solved
I am moving from CakePHP 1.3 to CakePHP 2.2.2 and want to use Basic Http authentication for a simple admin area. I am just not able to make it work and I am thinking that I understood something wro...
Incapacitate asked 25/9, 2012 at 15:13
1
Solved
I stuck in a situation. I am using JS Helper. I used the following code.
<?php $this->Js->get('#client_id')
->event('change', $this->Js->request(array('action' => '../ajax/ge...
Uri asked 3/7, 2012 at 6:29
2
Solved
I want to include Google API in my app. I want to Define Outh2 Key, Secret Key and Developer Keys as Constants which i can call and use in the App controller.
Which is the best place to define the...
Mating asked 6/6, 2012 at 14:52
1
© 2022 - 2024 — McMap. All rights reserved.