I am confronting a strange issue, noticeable only on Safari when accessing the site in the production site (it doesn’t happen with local MAMP) [difference between both is PHP in MAMP 5.3 whereas in site 5.2, in the process of changing to 5.3].
Click on a link that should bring a create Form
Request URL:http://matricula.me/costo/create/GID/5/T/2
Request Method:GET
Status Code:200 OK
Request Headers
Accept:application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Referer:http://matricula.me/grado/view/id/5
User-Agent:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Response Headers
Accept-Ranges:bytes
Connection:Keep-Alive
Content-Length:466
Content-Type:text/plain
Date:Thu, 02 Jun 2011 19:30:45 GMT
Etag:"27b831d-1d2-4ddb2b8c;4de7e4cc"
Keep-Alive:timeout=15, max=98
Last-Modified:Tue, 24 May 2011 03:52:44 GMT
Server:Apache
Instead it displays the content of the /index.php
[html]<?php
// change the following paths if necessary
$yii=dirname(FILE).’/yii-1.1.6/framework/yii.php’;
$config=dirname(FILE).’/protected/config/main.php’;
// remove the following lines when in production mode
defined(‘YII_DEBUG’) or define(‘YII_DEBUG’,true);
// specify how many levels of call stack should be shown in each log message
defined(‘YII_TRACE_LEVEL’) or define(‘YII_TRACE_LEVEL’,3);
require_once($yii);
Yii::createWebApplication($config)->run();[/html]
Notice that Safari shows the right URL and if I hit REFRESH the form shows up !
The form shows properly with Firefox, Chrome and IE8
Any hint will be greatly appreciated