deansatch Posted August 4, 2011 Share Posted August 4, 2011 This only happens in the latest Safari on mac Lion os when clicking back, or swiping back. Doesn't happen in chrome or FF! I randomly get syntax errors such as unexpected $end , syntax error, unexpected T_ENCAPSED_AND_WHITESPACE etc...- but refreshing the page is fine. This is only happening if I use htaccess to remove php extensions. So if I run the site with extensions, it doesn't happen. This is my htaccess for removing the extension... Options -MultiViews Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)$ $1.php [L,QSA] Any ideas??? Quote Link to comment https://forums.phpfreaks.com/topic/243824-php-error-only-in-safari-on-lion-when-using-back-button/ Share on other sites More sharing options...
deansatch Posted August 5, 2011 Author Share Posted August 5, 2011 Anyone? Quote Link to comment https://forums.phpfreaks.com/topic/243824-php-error-only-in-safari-on-lion-when-using-back-button/#findComment-1252431 Share on other sites More sharing options...
deansatch Posted August 7, 2011 Author Share Posted August 7, 2011 *cough* Quote Link to comment https://forums.phpfreaks.com/topic/243824-php-error-only-in-safari-on-lion-when-using-back-button/#findComment-1253910 Share on other sites More sharing options...
deansatch Posted August 12, 2011 Author Share Posted August 12, 2011 no? Quote Link to comment https://forums.phpfreaks.com/topic/243824-php-error-only-in-safari-on-lion-when-using-back-button/#findComment-1256450 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.