CodeTalk
CodeTalk

Reputation: 3667

Views in CakePhp INTERNAL SERVER ERROR

I have the following Layout (called: "MyView.ctp") in /app/view/layouts

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title><?php echo $title_for_layout; ?></title>
        <!-- add favicon here-->
        <!-- js -->
        <?php echo $scripts_for_layout; ?>    
     </head>

    <body> 

    </body>
</html>

I have the following View (called MyView.ctp) in /app/view

<?php $html->css('fup-prototype','stylesheet', array('media”=>”all' ), false); ?>

The following css file (called fup-prototype.css) in app/webroot/css/

But am getting this error: img1

What am I doing wrong here?

Upvotes: 0

Views: 162

Answers (1)

rid
rid

Reputation: 63610

Instead of

array('media”=>”all' )

you most likely meant

array('media'=>'all' )

Upvotes: 4

Related Questions