Is it just one test case, or all. I've had this happen in one case, using
the ACL tables... Have you checked the database config file
(App/Config/database)?
There should be an entry in there like this:
public $test = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => '127.
Are you set on using the .htaccess file? If not, use the Auth component,
it's pretty easy to use on it's own.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"Ca
When I logout of my site it redirects me to /login.
If I then hit login (nothing entered in user / pass) I get black-holed.
The requested address '/login' was not found on this server.
Why is that? It should just show the errors "Invalid User / Pass" Or
validation errors. Not black hole the w
Hi lowpass thank you for the reply...
I have access to httpd log, but there is no log...
I set the debug level to 2 and it is still the same...
At the phpinfo , the property log_errors is On
i removed white spaces at the end of files... but still have white screen
on index actions
2013/3/1
Neato. I hadn't seen those spanking new function_exists wrappers.
On Wed, Mar 13, 2013 at 7:17 PM, AD7six wrote:
>
>
> On Thursday, 14 March 2013 00:03:13 UTC+1, cricket wrote:
>>
>> No, because it's not a class method. You could create your own
>> function in bootstrap.php which then calls __().
On Tue, Mar 12, 2013 at 8:26 PM, Eduardo Barbosa Moreira
wrote:
> There is an inconsistent logic in method start() in CakeSession class
> (lib/Model/DataSource/CakeSession.php):
>
> at line 192
>
> if (!$id && self::started())
>
> the value of self::started() is never "true" because it was tested
I'm really curious to know what you're doing. Are these being set by
the user? Javascript?
On Wed, Mar 13, 2013 at 6:50 AM, Ernesto wrote:
> i solved by increasing the
>
> max_inputs_vars
>
> value in php.ini
>
> Il giorno mercoledì 13 marzo 2013 09:53:29 UTC+1, Ernesto ha scritto:
>>
>> hi romel
On Tue, Mar 12, 2013 at 3:33 PM, André Luis wrote:
> Hi people, I have model User and model Image, and the model User hasMany
> Image, so when i use $this->User->find('all'), it comes with the respective
> related images, but in the table of model Image, I also have the field
> "category", wich is
I have found a case in which running testAction will result in the system
adding a record to the default database instead of the test database.
If I have in my Controller:
App::uses('Comment', 'Model')
at the top of the file i.e. before the class definition, it will add any
records to the defa
On Thursday, 14 March 2013 00:03:13 UTC+1, cricket wrote:
>
> No, because it's not a class method. You could create your own
> function in bootstrap.php which then calls __(). What are you trying
> to do?
>
Actually yes, yes you can.
Since 2.3.beta you can override all functions that are in
No, because it's not a class method. You could create your own
function in bootstrap.php which then calls __(). What are you trying
to do?
On Wed, Mar 13, 2013 at 4:15 AM, onur wrote:
> is there any way to override __() in basics php ?
>
>
> --
> Like Us on FaceBook https://www.facebook.com/CakeP
Do you mean that you have no access to the httpd log, or that nothing
appears there? Have you tried debug level 2? Perhaps 3 is using too
much memory. I presume, though, that the white screen was happening
before you tried to debug, so it's probably not an issue.
Do you know what the server's PHP
> VALUES (N'Marcelo',
You have a stray single quote( ' ). Actually, you have several: All
your strings have N before them. Where do the Ns come from? Are you
passing an array to save() or are you using $this->query to save the
data?
On Tue, Mar 12, 2013 at 10:57 AM, rogerbenevento
wrote:
> Good
can anyone help please,...
On Sunday, March 3, 2013 2:32:57 PM UTC-8, Chris wrote:
>
> hi guys,... can anyone help please,... I'm using jQuery,...
> how can I reset form after submission with unique ID, this is what I have
> so far,... but it reset ONLY for last comment report. this form is fo
Hello all,
I've been trying to find a way to easily password protect the entire site.
This will allow me to troubleshoot the site while unauthenticated users
cannot have access.
I've tried editing the htaccess file in the webroot, but while it does
bring up the authentication after entering t
hi cricket,...
I did manage that, and the code is slightly different from above,... In my
case,... and here is the code if anyone needs it:
$(document).ready(function() {
$('#photo_comments_dialog_ a').each(function() {
var $link = $(this);
v
Hi Phantom,
Finally someone also got stuck on this bug. Actually when you also
set any different date format, it seems the merdian ignore or gets
from a 24hr date format. Can you also submit this bug in CakePHP.
several workaround i did. First either set your field to a 24hr
format, or manually
hi
for Q&A you can see here : http://forum.cakephp.ir/
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop re
> CakePHP calls your controller beforeFilter() which already contains a call
> to parent::beforeFilter() and then calls the AppController's beforeFilter()
> again.
>
That's not how CakePHP works.
AD
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter
This happens in CakePHP 2.3.
If you define a beforeFilter() method in any of your controllers and call
public function beforeFilter(){
parent::beforeFilter();
//Other controller code here
}
CakePHP calls your controller beforeFilter() which already contains a call
to parent::
Hello fellow bakers,
I've been trying to figure out a route challenge.
I have the following routes which work fine:
*Router::connect('/category/*', array('controller' => 'categories',
'action' => 'index', 'category'));*
*Router::connect('/subcategory/*', array('controller' => 'categories',
'a
Problem solved deleting this helper Usermgmt.Image from var $helpers!
Greetz!
El miércoles, 13 de marzo de 2013 13:23:08 UTC-4:30, Lenyn Alcántara
escribió:
>
> Hi, i'm using this plugin, when try load the login page, i have the next
> fail:
>
> *Helper class ImageHelper could not be found.*
>
Hi, i'm using this plugin, when try load the login page, i have the next
fail:
*Helper class ImageHelper could not be found.*
*Error: An Internal Error Has Occurred.*
Search doc about this helper but don't find it!
Greetz!
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Tw
I have also asked an updated version of this question on Stack Overflow:
http://stackoverflow.com/questions/15390026/cakephp-2-2-3-formhelper-cannot-set-default-meridian-when-using-minute-interval
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakeP
App::uses() is supposed to be used this way, it only takes two arguments.
Please see the documentation on how to use it.
Am Mittwoch, 13. März 2013 17:02:32 UTC+1 schrieb kaiszy:
>
> Hi Euromakr,
>
> ok..problem solved. Next time i let me more time to understand your email
> ;)
>
> When i use in
Hi Euromakr,
ok..problem solved. Next time i let me more time to understand your email ;)
When i use in my component:
App::uses('Component', 'Controller','Security', 'Utility');
i get the error in debug mode < 1
If i use
App::uses('Security', 'Utility');
App::uses('Component', 'Controller');
Hi again ;)
Sorry for my fuzzy mail ;)
For example i modify
cakeroot/app/Controller/AppController.php
cakeroot/app/View/Layouts/defaults.ctp
a.s.o.
These files are (ofcourse ;) also in then distribution archiv.
So i ask myself: What is the best practice to update Cakephp Installations
Hi Euromark,
thanks for your answer.
> Do not use classes in your files without properly App::uses() them at the
top of your classes
As you mention i put the following line in my Component:
App::uses('Component', 'Controller', "Security", "Utility");
But also with this line in my component
I agree - A meta component (maybe together with a MetaHelper to allow
fallback/overwrite in the view layer) would be the cleanest approach here
Am Mittwoch, 13. März 2013 12:38:42 UTC+1 schrieb André Luis:
>
> I´ve done somthing similiar. I have a component wich sends the $keywords
> and $desc
Do not use classes in your files without properly App::uses() them at the
top of your classes
In your case
App::uses('Security', 'Utility')
right after the opening `
> Hi!
>
> In my some views and one component i use a method from Security Class for
> encryption and decryption. On my dev-Serve
All those files are not core files (and cannot or should not be touched in
the core)
They are app files.
Please be more specific what you do.
But bear in mind that you should not touch files in the core but overwrite
them in your app or replace them by putting them in /APP/Lib
Am Mittwoch, 13.
Hi!
I wan't to update from 2.3.0 to 2.3.1. But i made some changes in
"core"-Files (i.e. AppController for DebugKit, Views/Layout/default.ctp
a.s.o.).
That makes it complex to update without comparsion file by file :)
How do update your installations ?
Best regards,
Kai.
--
Like Us on Fac
Hi there,
I have a checkout controller with the following in it:
$this->Security->validatePost = false;
$this->Security->csrfCheck = false;
$this->Security->blackHoleCallback = 'forceSSL';
$this->Security->requireSecure('index');
$this->Security->allowedCon
Hi!
In my some views and one component i use a method from Security Class for
encryption and decryption. On my dev-Server (debug > 0) everything works
fine.
Today i try to deploy to the Liveserver and set debug to 0. But then i get
the error:
2013-03-13 15:21:04 Error: Fatal Error (1): Class
Hey guys,
I'm having some difficulties figuring out what everything really does in
this UserController. I inherited this from a previous developer and I'm
not entirely sure what the functions do. It's not working as intended. Any
help understanding why this isn't an effective UserController fi
On Sunday, December 30, 2012 4:39:54 PM UTC-3, cPage wrote:
>
>
>
> Le dimanche 30 décembre 2012 13:46:35 UTC-5, cPage a écrit :
>>
>> The example :
>>
>> // app/View/Common/view.ctp<--PARENT
>>
> here is nesesary a div class 'view'
> fetch('title'); ?>
>> f
There is an inconsistent logic In the method start() in CakeSession class
(lib/Model/DataSource/CakeSession.php):
at line
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Goog
In my application, the following is expected to output the hour, minute,
and meridian s for a 12-hour time with 4:30pm selected by default:
Form->input('time_example', array(
'interval' => 5,
'timeFormat' => '12',
'type' => 'time',
'selected' => array(
I'm deploying a CakePhp project that works fine in localhost but at
production i have white screen when i call any index action of any
controller. Debug level is 3, no cake php error log, no httpd error log, no
php error log... nothing to debug with logs.
Permissions are ok, cache folders are
There is an inconsistent logic in method start() in CakeSession class
(lib/Model/DataSource/CakeSession.php):
at line 192
if (!$id && self::started())
the value of self::started() is never "true" because it was tested at line 183:
if (self::started()) {
return true;
}
How can i report thi
I´ve done somthing similiar. I have a component wich sends the $keywords
and $description directly to the view, but it can be overrided at the
controller´s action... the component sends the values at initialize, so at
the controller if you override the variables in a action or in a callback
it
i solved by increasing the
max_inputs_vars
value in php.ini
Il giorno mercoledì 13 marzo 2013 09:53:29 UTC+1, Ernesto ha scritto:
>
> hi romel.
>
> the only thing i can do is splitting the form in multiple views.
> ajax won't help as all those fields are needed
>
> Il giorno venerdì 8 marzo 201
If you overwrite it in basics.php then you will always ovewrite it when you
update cakephp
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2013/3/13 onur
> is there any way to override __() in basics php ?
>
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter ht
hi romel.
the only thing i can do is splitting the form in multiple views.
ajax won't help as all those fields are needed
Il giorno venerdì 8 marzo 2013 17:13:56 UTC+1, romel javier gomez herrera
ha scritto:
>
> hi ernesto.
>
> Why 1000 fields? there is probably a better way to do the job, have
is there any way to override __() in basics php ?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receivi
45 matches
Mail list logo