I had a similar problem over the weekend.  Mine turned out to be a corrupted basics.php file

Danielle

chanh.ong wrote:
I rename all .htaccess as you suggested but still get a blank page.

One interesting thing is I have the rewritebase set to cake on my cake
1.1 install and 1.1 works in both rewrite on and off.

So that is a different between 1.1 and 1.2 on how the dispatcher
determine to return a page.

Thanks

On Jul 2, 10:00 pm, Geoff Ford <[EMAIL PROTECTED]> wrote:
  
This is still a rewrite problem.  You discovered previously that the
servers root htdocs folder is not where your files are located.
Therefore when rewrite invoked it is starting in the wrong location.
Delete .htaccess completely, and you will see the default page.

If you set up a local server with xampp or similar you will see that
there is no problem with the default cake install. The problem clearly
lies in sourceforges non-standard server setup.

You need to read and understand the followinghttp://httpd.apache.org/docs/1.3/mod/mod_rewrite.html.  Especially the
part about RewriteBase

RewriteBase /caketest wont work because /var/www/caketest does not
exist
RewriteBase /my_alias/caketest is what you need, you will have to
figure out what your my_alias is as I have no idea.

Otherwise do away with .htaccess and use urls like index.php/pages/
hello

Geoff
--http://lemoncake.wordpress.com

On Jul 3, 2:15 pm, "chanh.ong" <[EMAIL PROTECTED]> wrote:

    
I have been having problem and go through various debugging to
determine what kind of problem that I might have with Cake 1.2alpha.
      
I have been chasing the wrong path in thinking that my problem might
be the rewrite but the real problem is the dispatcher where it just
return a blank page.
      
I download the latest nightly Cake 1.2.
      
Here is what I have done:
. edit .htaccess to add rewritebase /caketest
. rename app/webroot/index.php to idx.php
      
I want to see whether the rewrite work and it does.
      
When Ihttp://coaddons.sourceforge.net/caketest/itbrought me to the
url where webroot folder is located and I see the idx.php which I
rename earlier.
      
When I click on the idx.php that is where I got a blank page.
      
My question is what factors that cause Cake 1.2alpha dispatcher to
return a blank page rather than a sample Cake page like 1.1?
      
Thanks
      




  


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to