Re: Webpage not finding webroot

2010-05-01 Thread Sam Sherlock
you can revisit the clean urls later and switch back to that in core.php
rewritebase seems to help but I am not sure if that will work for you. the
comments on the urls I sent you suggest that IIS needs extensive alteration


as for login and admin
the login is here
http://www.softwaresolutionsni.co.uk/newSite/index.php/users/login
 
hth - S



On 1 May 2010 21:09, WhyNotSmile  wrote:

> Thanks for the help.
>
> IIS is the problem.  I've uncommented the line
>Configure::write('App.baseUrl', env('SCRIPT_NAME'));
> in core.php, and with a couple of other tweaks, the site is now
> showing up at last!  The urls aren't pretty, but that's not a huge
> issue... the only thing is that I can't figure out how to get to the
> admin area now!
>
> If anyone can advise me 1) how to get the pretty urls working, or 2)
> how to get to my admin area, that'd be great!
>
> Thanks!
> Sharon
>
>
>
> On 1 May, 20:26, Sam Sherlock  wrote:
> > mod rwite is not working on the server or is not set correctly
> >
> > http://www.softwaresolutionsni.co.uk/newSite/pages/11- error 404
> >
> >  I don't use IIS but as far as I understand some have found a few tweaks
> > need to   be made to get IIS to work
> >
> > anyway as I say I don't use IIS but there are comments in those links
> from
> > people who are using cake & IIS
> >
> > in the config/core.php file you can set cake internal url rewrite as an
> > alternative
> >
> > - S
> >
> > On 1 May 2010 19:51, Andrei Mita  wrote:
> >
> >
> >
> > > mod_rewrite is on?
> >
> > > On Sat, May 1, 2010 at 9:23 PM, Sam Sherlock  >wrote:
> >
> > >> I think this is due to serving from IIS
> >
> > >>http://bakery.cakephp.org/articles/view/clean-urls-with-isapi-rewrite.
> ..
> > >>http://bakery.cakephp.org/articles/view/cakephp-on-iis<
> http://bakery.cakephp.org/articles/view/clean-urls-with-isapi-rewrite...>
> > >>  http://book.cakephp.org/comments/37
> >
> > >> On 1 May 2010 19:11, WhyNotSmile 
> wrote:
> >
> > >>> I have a site (in 1.2) which I have uploaded, but which seems to be
> > >>> unable to find its own webroot.
> >
> > >>> The content from the database is fine, but I am getting the following
> > >>> errors:
> >
> > >>> 1. Not finding images, javascript or css.  However, it finds them ok
> > >>> if I put them at the same level as 'app' and 'cake'.
> >
> > >>> 2. Not finding any page other than the home page.  If I click on any
> > >>> of the links to the rest of the site, I get 'The page cannot be
> > >>> found'.
> >
> > >>> All of this works fine on the localhost.
> >
> > >>> I'd appreciate if anyone could point me in the right direction.  The
> > >>> error dump and error logs aren't showing anything up.
> >
> > >>> The site iswww.softwaresolutionsni.co.uk/newSite
> >
> > >>> I did have it atwww.softwaresolutionsni.co.uk, but had exactly the
> > >>> same problems, so I don't think the subfolder is the problem.
> >
> > >>> Can anyone help?
> >
> > >>> Thanks!
> > >>> Sharon
> >
> > >>> 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+unsubscr...@googlegroups.com
> >For
> more options, visit this group at
> > >>>http://groups.google.com/group/cake-php?hl=en
> >
> > >>  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+unsubscr...@googlegroups.com
> >For
> more options, visit this group at
> > >>http://groups.google.com/group/cake-php?hl=en
> >
> > >  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+unsubscr...@googlegroups.com
> >For
> more options, visit this group at
> > >http://groups.google.com/group/cake-php?hl=en
> >
> > 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+unsubscr...@googlegroups.comFor
> >  more options, visit this group athttp://
> groups.google.com/group/cake-php?hl=en

Re: Webpage not finding webroot

2010-05-01 Thread WhyNotSmile
Thanks for the help.

IIS is the problem.  I've uncommented the line
Configure::write('App.baseUrl', env('SCRIPT_NAME'));
in core.php, and with a couple of other tweaks, the site is now
showing up at last!  The urls aren't pretty, but that's not a huge
issue... the only thing is that I can't figure out how to get to the
admin area now!

If anyone can advise me 1) how to get the pretty urls working, or 2)
how to get to my admin area, that'd be great!

Thanks!
Sharon



On 1 May, 20:26, Sam Sherlock  wrote:
> mod rwite is not working on the server or is not set correctly
>
> http://www.softwaresolutionsni.co.uk/newSite/pages/11- error 404
>
>  I don't use IIS but as far as I understand some have found a few tweaks
> need to   be made to get IIS to work
>
> anyway as I say I don't use IIS but there are comments in those links from
> people who are using cake & IIS
>
> in the config/core.php file you can set cake internal url rewrite as an
> alternative
>
> - S
>
> On 1 May 2010 19:51, Andrei Mita  wrote:
>
>
>
> > mod_rewrite is on?
>
> > On Sat, May 1, 2010 at 9:23 PM, Sam Sherlock wrote:
>
> >> I think this is due to serving from IIS
>
> >>http://bakery.cakephp.org/articles/view/clean-urls-with-isapi-rewrite...
> >>http://bakery.cakephp.org/articles/view/cakephp-on-iis
> >>  http://book.cakephp.org/comments/37
>
> >> On 1 May 2010 19:11, WhyNotSmile  wrote:
>
> >>> I have a site (in 1.2) which I have uploaded, but which seems to be
> >>> unable to find its own webroot.
>
> >>> The content from the database is fine, but I am getting the following
> >>> errors:
>
> >>> 1. Not finding images, javascript or css.  However, it finds them ok
> >>> if I put them at the same level as 'app' and 'cake'.
>
> >>> 2. Not finding any page other than the home page.  If I click on any
> >>> of the links to the rest of the site, I get 'The page cannot be
> >>> found'.
>
> >>> All of this works fine on the localhost.
>
> >>> I'd appreciate if anyone could point me in the right direction.  The
> >>> error dump and error logs aren't showing anything up.
>
> >>> The site iswww.softwaresolutionsni.co.uk/newSite
>
> >>> I did have it atwww.softwaresolutionsni.co.uk, but had exactly the
> >>> same problems, so I don't think the subfolder is the problem.
>
> >>> Can anyone help?
>
> >>> Thanks!
> >>> Sharon
>
> >>> 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+unsubscr...@googlegroups.comFor
> >>>  more options, visit this group at
> >>>http://groups.google.com/group/cake-php?hl=en
>
> >>  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+unsubscr...@googlegroups.comFor
> >>  more options, visit this group at
> >>http://groups.google.com/group/cake-php?hl=en
>
> >  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+unsubscr...@googlegroups.comFor
> >  more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
> 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+unsubscr...@googlegroups.com For more options, visit this group 
> athttp://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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Webpage not finding webroot

2010-05-01 Thread Sam Sherlock
mod rwite is not working on the server or is not set correctly

http://www.softwaresolutionsni.co.uk/newSite/pages/11 - error 404

 I don't use IIS but as far as I understand some have found a few tweaks
need to   be made to get IIS to work

anyway as I say I don't use IIS but there are comments in those links from
people who are using cake & IIS

in the config/core.php file you can set cake internal url rewrite as an
alternative

- S



On 1 May 2010 19:51, Andrei Mita  wrote:

> mod_rewrite is on?
>
>
>
> On Sat, May 1, 2010 at 9:23 PM, Sam Sherlock wrote:
>
>> I think this is due to serving from IIS
>>
>>
>> http://bakery.cakephp.org/articles/view/clean-urls-with-isapi-rewrite-on-iis
>> http://bakery.cakephp.org/articles/view/cakephp-on-iis
>>  http://book.cakephp.org/comments/37
>>
>>
>> On 1 May 2010 19:11, WhyNotSmile  wrote:
>>
>>> I have a site (in 1.2) which I have uploaded, but which seems to be
>>> unable to find its own webroot.
>>>
>>> The content from the database is fine, but I am getting the following
>>> errors:
>>>
>>> 1. Not finding images, javascript or css.  However, it finds them ok
>>> if I put them at the same level as 'app' and 'cake'.
>>>
>>> 2. Not finding any page other than the home page.  If I click on any
>>> of the links to the rest of the site, I get 'The page cannot be
>>> found'.
>>>
>>> All of this works fine on the localhost.
>>>
>>> I'd appreciate if anyone could point me in the right direction.  The
>>> error dump and error logs aren't showing anything up.
>>>
>>> The site is www.softwaresolutionsni.co.uk/newSite
>>>
>>> I did have it at www.softwaresolutionsni.co.uk, but had exactly the
>>> same problems, so I don't think the subfolder is the problem.
>>>
>>> Can anyone help?
>>>
>>> Thanks!
>>> Sharon
>>>
>>> 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+unsubscr...@googlegroups.comFor
>>>  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+unsubscr...@googlegroups.comFor
>>  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+unsubscr...@googlegroups.comFor
>  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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Webpage not finding webroot

2010-05-01 Thread Andrei Mita
mod_rewrite is on?


On Sat, May 1, 2010 at 9:23 PM, Sam Sherlock  wrote:

> I think this is due to serving from IIS
>
>
> http://bakery.cakephp.org/articles/view/clean-urls-with-isapi-rewrite-on-iis
> http://bakery.cakephp.org/articles/view/cakephp-on-iis
>  http://book.cakephp.org/comments/37
>
>
> On 1 May 2010 19:11, WhyNotSmile  wrote:
>
>> I have a site (in 1.2) which I have uploaded, but which seems to be
>> unable to find its own webroot.
>>
>> The content from the database is fine, but I am getting the following
>> errors:
>>
>> 1. Not finding images, javascript or css.  However, it finds them ok
>> if I put them at the same level as 'app' and 'cake'.
>>
>> 2. Not finding any page other than the home page.  If I click on any
>> of the links to the rest of the site, I get 'The page cannot be
>> found'.
>>
>> All of this works fine on the localhost.
>>
>> I'd appreciate if anyone could point me in the right direction.  The
>> error dump and error logs aren't showing anything up.
>>
>> The site is www.softwaresolutionsni.co.uk/newSite
>>
>> I did have it at www.softwaresolutionsni.co.uk, but had exactly the
>> same problems, so I don't think the subfolder is the problem.
>>
>> Can anyone help?
>>
>> Thanks!
>> Sharon
>>
>> 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+unsubscr...@googlegroups.comFor
>>  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+unsubscr...@googlegroups.comFor
>  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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Webpage not finding webroot

2010-05-01 Thread Sam Sherlock
I think this is due to serving from IIS

http://bakery.cakephp.org/articles/view/clean-urls-with-isapi-rewrite-on-iis
http://bakery.cakephp.org/articles/view/cakephp-on-iis
http://book.cakephp.org/comments/37


On 1 May 2010 19:11, WhyNotSmile  wrote:

> I have a site (in 1.2) which I have uploaded, but which seems to be
> unable to find its own webroot.
>
> The content from the database is fine, but I am getting the following
> errors:
>
> 1. Not finding images, javascript or css.  However, it finds them ok
> if I put them at the same level as 'app' and 'cake'.
>
> 2. Not finding any page other than the home page.  If I click on any
> of the links to the rest of the site, I get 'The page cannot be
> found'.
>
> All of this works fine on the localhost.
>
> I'd appreciate if anyone could point me in the right direction.  The
> error dump and error logs aren't showing anything up.
>
> The site is www.softwaresolutionsni.co.uk/newSite
>
> I did have it at www.softwaresolutionsni.co.uk, but had exactly the
> same problems, so I don't think the subfolder is the problem.
>
> Can anyone help?
>
> Thanks!
> Sharon
>
> 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+unsubscr...@googlegroups.comFor
>  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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en