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 URL http://localhost/cakephp1.3.8/ and see 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.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 >>>>>>>>>> > >>>>>>>>>> > >> -- >>>>>>>>>> > >> >>>>>>>>>> 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.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.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 >>>>>>>>>> > >>>>>>>>>> > -- >>>>>>>>>> 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.organd >>>>>>>>>> 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.organd >>>>>>>>> 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 >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> 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 >>>>>>> >>>>>> >>>>>> -- >>>>>> 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 >>>>> >>>> >>>> -- >>>> 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 >>> >> >> -- >> 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 > -- 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
