probably the method of the form is GET. and he is thinking, okay im in
login page, if i dont have specified action, set this current url for the
action.
just a wild guess. it is odd situation.
On Tue, Jan 15, 2013 at 6:58 AM, Jeremy Burns
wrote:
> I have a view that contains two forms; a login f
I have a view that contains two forms; a login form and a forgotten
password form. The latter is fine. The action of the login form is
/login?url=login, which seems odd. The form and its controls are built
using the Form helper. Any idea why ?url=login is on the url? It's the only
instance of t
Hallo
I "only" want to use the bootstrap framework to style my cakephp app.
What's the easiest way to do this?
I tried https://github.com/visionred/BootstrapCake but I cannot install it
(console tells me that it cant find the plugin, "bake" works and paths seem
right) and https://github.com/n
Typo, core.php should be bootstrap.php above
On Monday, January 14, 2013 9:54:26 PM UTC-6, sixthpoint wrote:
>
> I am trying to make my own custom logger but the write method gets called
> twice oddly enough. Here is the code I am using
>
> DatabaseLogger.php in the Lib/Engine/ directory:
>
> App
I am trying to make my own custom logger but the write method gets called
twice oddly enough. Here is the code I am using
DatabaseLogger.php in the Lib/Engine/ directory:
App::uses('CakeLogInterface', 'Log');
>
>
>> class DatabaseLogger implements CakeLogInterface {
>
> private $types = array()
Just think, how many ways are there to cook steak?
Broil, Fry, Smoke, BBQ etc. and they all taste equally as good.
For example, I have the Facebook Graph API packaged as a vendor file, and the
actual interaction with the object is handled as a Singleton. ( Tight Deadline
on that )
Another examp
I need to integrate a FitBit API class into Cake and I have never done this
before so just looking for some tips to point me in the right direction.
The class can be seen here
https://github.com/heyitspavel/fitbitphp/blob/master/fitbitphp.php
Modify the file name to Fitbit.php place in Cont
Looks like this has already been reported, "fixed" but is still
broken.
http://cakephp.lighthouseapp.com/projects/42648/tickets/1357-database-name-cannot-contain-period
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this
"It allows you to force the toolbar to display regardless of the value of
Configure::read('debug');. This is useful when profiling an application
with debug kit as you can enable the toolbar even when running the
application in production mode"
As the documentation states you should only use for
My assumption is that you wish to terminate SSL requests on your load balancer.
In my setup, I use HAPROXY as my LB, and use NGINX to terminate my ssl requests.
In your NGINX configuration that is binding port 443. you can have it set
headers to proxy over to HAPROXY.
IE:
location / {
Running LAMP stack on RedHat EL6.1 x64, PHP 5.4.10, MySQL 5.5.29, and
CakePHP 1.3.15
I have a MySQL database named cms3.drupal and while CakePHP can connect to
it just fine, it can't see any of the tables. I could rename the database
(I did to test this issue and it worked fine), but that defea
see this old thread for more info about nginx config:
https://groups.google.com/d/topic/cake-php/3b5fkhIrHs0/discussion
basically nginx configuration has to be tweaked to give cake something
similar to what apache provides. cake is looking for the scheme in the
SCRIPT_URI to determine if the req
On Monday, 14 January 2013 20:28:31 UTC+1, McScreech wrote:
>
> On Monday, January 14, 2013 11:12:05 AM UTC-5, McScreech wrote:
>>
>> Hello, [ Apache 2.2.22 (Win32), MySQL 5.5.21, PHP 5.3.5, cakePHP 2.2.1 ]
>>
>> I'm having odd (IMO) behaviour from DebugKit - the toolbar only shows up
>> if ther
Thanks lbejohn818 and sophistry.
You're pushing me outside my nginx knowledge here. Would those methods also
be open to spoofing by anyone who can directly send HTTP requests to the
server? The fastcgi_param, if that will work with multiple boxes, still
needs to get from load balancer to web se
I too am stuck on how to do this. Were you able to figure this out?
On Friday, October 26, 2012 7:32:28 AM UTC-4, Tokeiito wrote:
>
> Hello,
>
> I'm stuck on configuring phpUnit bootstrap for running cakephp unit test
> in Zend Studio 9. Any advice on how to accomplish this is more than
> welcom
On Monday, January 14, 2013 11:12:05 AM UTC-5, McScreech wrote:
>
> Hello, [ Apache 2.2.22 (Win32), MySQL 5.5.21, PHP 5.3.5, cakePHP 2.2.1 ]
>
> I'm having odd (IMO) behaviour from DebugKit - the toolbar only shows up
> if there are errors on the page and NOT if it renders correctly.
>
> Is this e
I use a setup with NGINX forwarding my port 443 traffic to HAPROXY.
Have NGINX pass the scheme in the headers like so:
nginx.conf
proxy_set_header SCHEME $scheme;
You will them be able to access this parameter in your $_SERVER array.
On Jan 14, 2013, at 9:51 AM, sophistry wrote:
> env() in
env() in lib/Cake/basics.php also checks the $_SERVER SCRIPT_URI (in
addition to the $_SERVER HTTPS you are working off)
I put this in nginx conf to provide cake with a way to know about the
scheme of the connection as it hits the nginx server:
fastcgi_param SCRIPT_URI $scheme://$host$r
No, it should always show by default.
Also - debug() has nothing to do with the plugin.
You can use ans many debug() as you want anywhere in your code.
Just notice that outputting data before actually rendering the view usually
messes up the output (it also affects headers like the redirect heade
On Monday, January 14, 2013 11:12:05 AM UTC-5, McScreech wrote:
>
> Hello, [ Apache 2.2.22 (Win32), MySQL 5.5.21, PHP 5.3.5, cakePHP 2.2.1 ]
>
> I'm having odd (IMO) behaviour from DebugKit - the toolbar only shows up
> if there are errors on the page and NOT if it renders correctly.
>
> Is this
Hello, [ Apache 2.2.22 (Win32), MySQL 5.5.21, PHP 5.3.5, cakePHP 2.2.1 ]
I'm having odd (IMO) behaviour from DebugKit - the toolbar only shows up if
there are errors on the page and NOT if it renders correctly.
Is this expected behavior? If so, how do I force the DebugKit toolbar to
always disp
Without seeing the code we cannot tell you more than PHP already does (and
which should suffice usually..)
Am Montag, 14. Januar 2013 09:27:35 UTC+1 schrieb Dr. Drijk:
>
> How silly, it was tagged out.
>
> But now I get another error.
> It can't get an object from an element.
> *Fatal error*: Ca
How silly, it was tagged out.
But now I get another error.
It can't get an object from an element.
*Fatal error*: Call to a member function add() on a non-object in *
D:\xampp\htdocs\VR\V6\app\View\Layouts\default.ctp* on line *47*
Op donderdag 10 januari 2013 17:35:17 UTC+1 schreef euromark he
23 matches
Mail list logo