Plain page is displayed :( On Wed, May 4, 2011 at 5:12 AM, Miloš Vučinić <[email protected]>wrote:
> I typed quickly, the home page is located in /app/views/pages/ > home.ctp . See if it is blank, and if it is, type smth there.. > > On May 3, 11:44 am, Miloš Vučinić <[email protected]> wrote: > > If you are using security component, turn it off, by not including it > > anywhere. It happens when you include it in the wrong place. Also , > > see your homepage view page. Suppose it is /home/page/home.ctp and > > type there anything to see if it will render. > > > > On May 2, 11:47 am, jyoti bhandari <[email protected]> wrote: > > > > > > > > > > > > > > > > > i did the same a new refresh loading. did all the changes as told in > the > > > installation. I got a page where u get to know, is ur db accesible, > > > connected , temp is writeable,and two things to be changed that is > some > > > cipher etc. i am testing it on localhost, nt on online dns. > > > > > On Mon, May 2, 2011 at 9:10 PM, Sam Sherlock <[email protected]> > wrote: > > > > try to do the same with a fresh download of cakephp and see if you > can get > > > > pages/ home to display > > > > > > what is you host? GoDaddy or 1&1 or other? > > > > - S > > > > > > On 2 May 2011 16:27, jyoti bhandari <[email protected]> wrote: > > > > > >> i did that also > > > > > >> On Mon, May 2, 2011 at 8:39 PM, Sam Sherlock < > [email protected]>wrote: > > > > > >>> in the core.php file uncomment the following line (line 69 for me) > > > > > >>> //Configure::write('App.baseUrl', env('SCRIPT_NAME')); > > > > > >>> that will then enable cake internal url rewrite > > > > > >>> - S > > > > > >>> On 2 May 2011 15:42, jyoti bhandari <[email protected]> wrote: > > > > > >>>> i haver emoved all the thee files > > > > > >>>> On Mon, May 2, 2011 at 7:58 PM, Sam Sherlock < > [email protected]>wrote: > > > > > >>>>> It means the rewrite in htaccess are not work > > > > > >>>>> either use cakes internal alternative or try to alter the > htaccess > > > > > >>>>> adding the following lines to you htaccess files may sort this > out (if > > > >>>>> you have app dir cakephp1.3.8 & have 3 htaccess files) - add the > following > > > >>>>> within the Rewrite section > > > > > >>>>> RewriteBase /cakephp1.3.8/ > > > > > >>>>> RewriteBase /cakephp1.3.8/app/ > > > > > >>>>> RewriteBase /cakephp1.3.8/app/webroot/ > > > > > >>>>> - S > > > > > >>>>> On 2 May 2011 15:17, jyoti bhandari <[email protected]> > wrote: > > > > > >>>>>> It is plain. That means it is off. how to on it? > > > > > >>>>>> On Mon, May 2, 2011 at 6:34 PM, Ma'moon <[email protected]> > wrote: > > > > > >>>>>>> just check the URLhttp://localhost/cakephp1.3.8/andsee if you > get > > > >>>>>>> a nice default welcome page colored and styled, if you get this > page then > > > >>>>>>> your mod_rewrite is ON otherwise it will be OFF or not enabled. > > > > > >>>>>>> Ma'moon > > > > > >>>>>>> On Mon, May 2, 2011 at 3:51 PM, jyoti bhandari < > > > >>>>>>> [email protected]> wrote: > > > > > >>>>>>>> Ma'moom: I actually donno is that on or not. how to figure > that out? > > > > > >>>>>>>> On Mon, May 2, 2011 at 6:08 PM, Ma'moon <[email protected]> > wrote: > > > > > >>>>>>>>> Can you see the page "http://localhost/cakephp1.3.8/< > http://localhost/cakephp1.3.8/posts/index>" > > > >>>>>>>>> rendered properly with all style sheets elements? are you > sure that you have > > > >>>>>>>>> mod_rewrite enabled in your web server's configuration? > > > > > >>>>>>>>> Ma'moon > > > > > >>>>>>>>> On Mon, May 2, 2011 at 3:32 PM, jyoti bhandari < > > > >>>>>>>>> [email protected]> wrote: > > > > > >>>>>>>>>> Hi Anand, > > > > > >>>>>>>>>> I did not get what u said, can u please elaborate :D > > > > > >>>>>>>>>> Thanks > > > >>>>>>>>>> Jyothi > > > > > >>>>>>>>>> On Mon, May 2, 2011 at 5:36 PM, andy_the ultimate baker < > > > >>>>>>>>>> [email protected]> wrote: > > > > > >>>>>>>>>>> first write the name of controller before helper > > > >>>>>>>>>>> then ur punching index in url where as there is no need, > just > > > >>>>>>>>>>> punch > > > >>>>>>>>>>> posts > > > >>>>>>>>>>> then in ur action on controller > > > >>>>>>>>>>> write > > > >>>>>>>>>>> print_r($this->data);exit; > > > >>>>>>>>>>> and see waht u get, > > > >>>>>>>>>>> if nothing then check action of the ctp > > > > > >>>>>>>>>>> by > > > >>>>>>>>>>> Anand > > > > > >>>>>>>>>>> On May 2, 4:43 pm, jyoti bhandari <[email protected]> > wrote: > > > >>>>>>>>>>> > HI, > > > > > >>>>>>>>>>> > i have created three pages like following > > > > > >>>>>>>>>>> > I have created model "post,php" within models folder > > > > > >>>>>>>>>>> > <?php > > > >>>>>>>>>>> > class Post extends AppModel { > > > >>>>>>>>>>> > var $name = 'Post';} > > > > > >>>>>>>>>>> > ?> > > > > > >>>>>>>>>>> > I have created controller "posts_controller.php" within > > > >>>>>>>>>>> controller folder. > > > >>>>>>>>>>> > <?php > > > >>>>>>>>>>> > class PostsController extends AppController { > > > >>>>>>>>>>> > var $helpers = array('Html', 'Form'); > > > >>>>>>>>>>> > var $name = 'Posts'; > > > >>>>>>>>>>> > function index() { > > > > > >>>>>>>>>>> > } > > > >>>>>>>>>>> > } > > > > > >>>>>>>>>>> > ?> > > > > > >>>>>>>>>>> > I have created folder called as posts within views. > > > >>>>>>>>>>> > within Posts folder, i have created index.ctp file and > these > > > >>>>>>>>>>> are the > > > >>>>>>>>>>> > contents within that file. > > > > > >>>>>>>>>>> > <!-- File: /app/views/posts/index.ctp --> > > > >>>>>>>>>>> > <h1>Blog posts</h1> > > > > > >>>>>>>>>>> > After creating all this , i am calling the following url > > > > > >>>>>>>>>>> >http://localhost/cakephp1.3.8/posts/index > > > > > >>>>>>>>>>> > This is all situation, now please help me out. It would > be gr8 > > > >>>>>>>>>>> help > > > > > >>>>>>>>>>> > Thanks > > > >>>>>>>>>>> > Jyothi > > > > > >>>>>>>>>>> > On Mon, May 2, 2011 at 12:22 PM, Ma'moon < > [email protected]> > > > >>>>>>>>>>> wrote: > > > >>>>>>>>>>> > > What is the URL that you are calling in order to render > the > > > >>>>>>>>>>> page? > > > > > >>>>>>>>>>> > > Ma'moon > > > > > >>>>>>>>>>> > > On Mon, May 2, 2011 at 8:00 AM, jyoti bhandari < > > > >>>>>>>>>>> [email protected]>wrote: > > > > > >>>>>>>>>>> > >> It is already set to 2. :( > > > > > >>>>>>>>>>> > >> On Mon, May 2, 2011 at 4:48 AM, Ma'moon < > [email protected]> > > > >>>>>>>>>>> wrote: > > > > > >>>>>>>>>>> > >>> in file app/config/core.php change the value of > {debug} and > > > >>>>>>>>>>> set it to > > > >>>>>>>>>>> > >>> "2", refresh the page and check if it throws any > errors or > > > >>>>>>>>>>> warnings. > > > > > >>>>>>>>>>> > > On Sun, May 1, 2011 at 7:20 AM, Jo < > [email protected]> > > > >>>>>>>>>>> wrote: > > > > > >>>>>>>>>>> > >>>> Hi, > > > > > >>>>>>>>>>> > >>>> I am new to cakephp. I am installing the cakephp and > > > >>>>>>>>>>> created model, > > > >>>>>>>>>>> > >>>> controller and view according to the tutorial. but i > am > > > >>>>>>>>>>> getting this > > > >>>>>>>>>>> > >>>> error "The requested URL /cakephp1.3.8/posts/index > was not > > > >>>>>>>>>>> found on > > > >>>>>>>>>>> > >>>> this server." Where in , it exists in the folder. I > donno > > > >>>>>>>>>>> where am i > > > >>>>>>>>>>> > >>>> getting wrong? > > > > > >>>>>>>>>>> > >>>> Please help me out. It is urgent. > > > > > >>>>>>>>>>> > >>>> Thanks > > > >>>>>>>>>>> > >>>> Jyothi > > > > > >>>>>>>>>>> > >>>> -- > > > >>>>>>>>>>> > >>>> Our newest site for the community: CakePHP Video > Tutorials > > > >>>>>>>>>>> > >>>>http://tv.cakephp.org > > > >>>>>>>>>>> > >>>> Check out the new CakePHP Questions > > > >>>>>>>>>>> sitehttp://ask.cakephp.organd > > > >>>>>>>>>>> > >>>> help others with their CakePHP related questions. > > > > > >>>>>>>>>>> > >>>> To unsubscribe from this group, send email to > > > >>>>>>>>>>> > >>>> [email protected] For more > options, > > > >>>>>>>>>>> visit this > > > >>>>>>>>>>> > >>>> group athttp://groups.google.com/group/cake-php > > > > > >>>>>>>>>>> > >>> -- > > > >>>>>>>>>>> > >>> Our newest site for the community: CakePHP Video > Tutorials > > > >>>>>>>>>>> > >>>http://tv.cakephp.org > > > >>>>>>>>>>> > >>> Check out the new CakePHP Questions > > > >>>>>>>>>>> sitehttp://ask.cakephp.organdhelp > > > >>>>>>>>>>> > >>> others with their CakePHP related questions. > > > > > >>>>>>>>>>> > >>> To unsubscribe from this group, send email to > > > >>>>>>>>>>> > >>> [email protected] For more > options, > > > >>>>>>>>>>> visit this group > > > >>>>>>>>>>> > >>> athttp://groups.google.com/group/cake-php > > > > > >>>>>>>>>>> > >> -- > > > > > >>>>>>>>>>> > http://picasaweb.google.co.in/jytbhandari/Signature#5495483545646503058 > > > > > >>>>>>>>>>> > >> -- > > > >>>>>>>>>>> > >> Our newest site for the community: CakePHP Video > Tutorials > > > >>>>>>>>>>> > >>http://tv.cakephp.org > > > >>>>>>>>>>> > >> Check out the new CakePHP Questions > > > >>>>>>>>>>> sitehttp://ask.cakephp.organdhelp > > > >>>>>>>>>>> > >> others with their CakePHP related questions. > > > > > >>>>>>>>>>> > >> To unsubscribe from this group, send email to > > > >>>>>>>>>>> > >> [email protected] For more > options, > > > >>>>>>>>>>> visit this group > > > >>>>>>>>>>> > >> athttp://groups.google.com/group/cake-php > > > > > >>>>>>>>>>> > > -- > > > >>>>>>>>>>> > > Our newest site for the community: CakePHP Video > Tutorials > > > >>>>>>>>>>> > >http://tv.cakephp.org > > > >>>>>>>>>>> > > Check out the new CakePHP Questions > > > >>>>>>>>>>> sitehttp://ask.cakephp.organdhelp > > > >>>>>>>>>>> > > others with their CakePHP related questions. > > > > > >>>>>>>>>>> > > To unsubscribe from this group, send email to > > > >>>>>>>>>>> > > [email protected] For more > options, > > > >>>>>>>>>>> visit this group > > > >>>>>>>>>>> > > athttp://groups.google.com/group/cake-php > > > > > >>>>>>>>>>> > -- > > > >>>>>>>>>>> > http://picasaweb.google.co.in/jytbhandari/Signature#5495483545646503058 > > > > > >>>>>>>>>>> -- > > > >>>>>>>>>>> Our newest site for the community: CakePHP Video Tutorials > > > >>>>>>>>>>>http://tv.cakephp.org > > > >>>>>>>>>>> Check out the new CakePHP Questions > sitehttp://ask.cakephp.organdhelpothers with their CakePHP related > questions. > > > > > >>>>>>>>>>> To unsubscribe from this group, send email to > > > >>>>>>>>>>> [email protected] For more options, > visit > > > >>>>>>>>>>> this group athttp://groups.google.com/group/cake-php > > > > > >>>>>>>>>> -- > > > > > >>>>>>>>>> > http://picasaweb.google.co.in/jytbhandari/Signature#5495483545646503058 > > > > > >>>>>>>>>> -- > > > >>>>>>>>>> Our newest site for the community: CakePHP Video Tutorials > > > >>>>>>>>>>http://tv.cakephp.org > > > >>>>>>>>>> Check out the new CakePHP Questions > sitehttp://ask.cakephp.organdhelpothers with their CakePHP related > questions. > > > > > >>>>>>>>>> To unsubscribe from this > > > > ... > > > > read more » > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- http://picasaweb.google.co.in/jytbhandari/Signature#5495483545646503058 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
