Monday, May 31, 2010

Re: The page isn't redirecting properly

vikas,

I have solved that an error "The page redirected isn't properly'. In
config/boostrap.php they did header redirect according to www
existence so i have commented it.
Now i having black screen.

Also I followed your steps but there is no one line you have mentioned
in the file config/core.php so i have added that line
(Configure::write('App.baseUrl', env('SCRIPT_NAME'));) in that file.
Although no change in the result. The home page is blank.

Note: I'm tying in the localhost.

On May 31, 5:43 pm, vikas bose <chipheardwe...@gmail.com> wrote:
> hai
> now u goto the core.php file to make some changes on it, see the line number
> 56 Configure::write('App.baseUrl', env('SCRIPT_NAME')); if it is commented
> then open it so that your url would behttp://example.com/index.php/<controller>/<action>/<parm1>/<parm2>....
> etc.
> because some time the .htaccess file are not working properly so that u
> apply this step definitely u get the good result.And I hope so that it will
> help u more.
>
> On Sun, May 30, 2010 at 10:24 PM, karuppu <gkaruppusamy2...@gmail.com>wrote:
>
> > Thank you very much for your kind reply. I'm using xamp so i have
> > installed that script in the location htdocs/karuppu/test but when i
> > try to load the home page i getting that error (The page isn't
> > redirecting properly). My default controller is 'actions' and an
> > action (method) is 'home'. That is defined in the routes.php in the
> > config folder.
>
> > Router::connect('/', array('controller' => 'auctions', 'action' =>
> > 'home'));
>
> > Also I have set the configuration variable that is $config['App']
> > ['url'] = 'http://localhost'in my config.php that is located in the
> > config (app) folder;
>
> > Also rule in the htaccess as following
>
> > <IfModule mod_rewrite.c>
> >   RewriteEngine on
> >   RewriteRule    ^$ app/webroot/    [L]
> >   RewriteRule    (.*) app/webroot/$1 [L]
> > </IfModule>
>
> > - karuppusamy
>
> > On May 29, 4:24 pm, John Andersen <j.andersen...@gmail.com> wrote:
> > > Please provide more information - like which controller and which
> > > action you are trying to access through your browser (the url). Then
> > > show your controllers code for the corresponding action. Maybe then we
> > > will better be able to point you somewhere :)
> > > Enjoy,
> > >    John
>
> > > On May 29, 9:46 am, karuppu <gkaruppusamy2...@gmail.com> wrote:
>
> > > > Dear all,
>
> > > > I have installed my site created in cakePHP in local environment (my
> > > > pc) unfortunately when i run that on browser that browser is showing a
> > > > following error message "Thepageisn'tredirectingproperly". I
> > > > couldn't find what is the cause of this. Kindly show the way to me.
>
> > > > Thank you
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: