So it is a bug in home.ctp and cake.generic.css and it could be solved
as follows:
add an id tag to the div that includes the rewriting error, the tag
will take the value : id="url-rewriting-warning". then in
cake.generic.css at the end of it add the following rule:
#url-rewriting-warning{
display: none;
}
so if rewrite is going fine, it will load the css file anf hence the
error message will not be displayed.
On Jun 6, 11:59 pm, majna <[email protected]> wrote:
> You need to update webroot/css/cake.generic.css
> used by URL rewriting check
>
> #url-rewriting-warning {
> display: none;
>
> }
>
> https://github.com/cakephp/cakephp/blob/1.3/app/webroot/css/cake.gene...
>
> On Jun 6, 4:03 pm, Ryan Olton <[email protected]> wrote:
>
> > > Sounds like your config isn't checkable somehow by the new 'check for
> > > url rewriting' validation - work out why and file a bug report :)
>
> > It appears that in the default home.ctp page there is this block of
> > code just hanging out without any conditional code in place to show or
> > hide this text ... in other words, you see in to matter what:
>
> > <div id="url-rewriting-warning" style="background-color:#e32;
> > color:#fff; padding:3px; margin: 20px 0">
> > <?php __('URL rewriting is not properly configured on your server.
> > '); ?>
> > <ol style="padding-left:20px">
> > <li>
> > <a target="_blank"
> > href="http://book.cakephp.org/view/917/Apache-
> > and-mod_rewrite-and-htaccess" style="color:#fff;">
> > <?php __('Help me configure it')?>
> > </a>
> > </li>
> > <li>
> > <a target="_blank"
> > href="http://book.cakephp.org/view/931/CakePHP-
> > Core-Configuration-Variables" style="color:#fff;">
> > <?php __('I don\'t / can\'t use URL
> > rewriting')?>
> > </a>
> > </li>
> > </ol>
> > </div>
--
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