Re: Blank Lines before DOCTYPE

2007-04-09 Thread PaulV
I've sorted it now with the help of Matti. I had extra lines at the end of a helper. I never thought to check those. Paul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group,

Blank Lines before DOCTYPE

2007-04-08 Thread PaulV
Hi, I am using cake 1.13 and I am getting 1 blank line before the DOCTYPE on all my pages. I have checked my layout file and there is no blank line there, Any suggestions how I track down where the extra line is coming from? Paul --~--~-~--~~~---~--~~ You

Re: Blank Lines before DOCTYPE

2007-04-08 Thread PaulV
On 9 Apr, 00:38, PaulV [EMAIL PROTECTED] wrote: Hi, I am using cake 1.13 and I am getting 1 blank line before the DOCTYPE on all my pages. I have checked my layout file and there is no blank line there, Cake version 1.1.13 I have also checked all my model files, controller files which do

Re: View Caching of Home Page

2007-02-21 Thread PaulV
On Feb 21, 1:49 am, lloydhome [EMAIL PROTECTED] wrote: The easiest solution off the top of my head is to use mod_rewrite to force ^$ and ^/$ to go to your custom controller/action RewriteRule ^$ index.php?url=/mycontroller/myaction [QSA,L] RewriteRule ^/$

AJAX form submit in Opera

2007-02-12 Thread PaulV
Hi, I am trying to submit a form via an ajax request and I seem to have a problem that while it works in IE and FF, in Opera, the button click does nothing. I am using ajax-form and later on html-submit Is there a way such, that if ajax fails, the form is submitted via post rather than the

Re: mod rewrite issue with 1and1 servers

2007-02-09 Thread PaulV
I am also using the Business Pro account from UK 11 and also had the same problems with mod_rewrite. I fixed mine by using the following .htaccess files /.htaccess IfModule mod_rewrite.c RewriteEngine on RewriteRule^$ /app/webroot/[L] RewriteRule(.*) /app/webroot/$1 [L]

Re: Sessions with a multi-server hosting environment

2007-02-07 Thread PaulV
On Feb 7, 6:09 pm, Chris Hartjes [EMAIL PROTECTED] wrote: Database sessions are what we used on our project as well. So what are the pros and cons for each of the choices for sessions Database Sessions - More easily scalable since database server is accessible from all machines in cluster.

ife function

2007-02-05 Thread PaulV
Hi, I have just installed 1.1.13.4450 in my existing application and have been getting the error Fatal error: Call to undefined function ife() in K:\net\xampp\htdocs \cake\libs\view\helpers\ajax.php on line 667 ife seems to be a new function introduced in 1.2 according to https://

Re: d_auth : login problems

2007-01-15 Thread PaulV
Steniskis wrote: I get this Real hash : 903a6e1948193c9da492c4a06aa571816b0f274a Submitted hash : b174737ff0ba3f2ce29f20ec792ac25209fb76b9 Anyone has a hunch about this ? I seem to remember that I had a problem similar to this. I had cut and pasted the javascript from the bakery, but

Admin Controller

2007-01-09 Thread PaulV
Hi, Having added CAKE_ADMIN functions to several controllers, I would like to add an action somewhere so that I can go to the URL /admin/ and get an interface screen containing all the various admin actions I can call. Is there a prefered place to put this admin action (do I have to create an

Re: dAuth 0.3

2006-12-29 Thread PaulV
[EMAIL PROTECTED] wrote: I assume that most of your problems are solved now, given what we've discussed on the bakery ;-) Yes. Thanks. For those people who don't read the bakery comments (or read the text properly like me ;) ), The hash problem was due to the code in the Bakery for the

dAuth 0.3

2006-12-28 Thread PaulV
Hi, I am having a few problems using dAuth 0.3 I am running cake v1.1.12.4205 under xampp and Windows XP. I have placed all the code specified in the bakery (http://bakery.cakephp.org/articles/view/147) in installation option 1 into the appropriate files I think. (Option 2 is unusable since