ErrorException: Fatal Error: syntax error, unexpected T_CLASS -
Where is it wrong now ?
<?php
/**
* View to handle displaying an attachment.
*
* @package XenForo_Attachment
*/
class XenForo_ViewPublic_Attachment_View extends XenForo_ViewPublic_Base
{
public function renderRaw()...
Thats what I done was uploaded the new one from the zip folder to fix the problem. Now chrome and IE11 sends the server error when trying to play the attached song. IE 8 works fine... I am at work and my backup file is at home so I can not get to it for now.. I am sure its a small coding thing...
Well its fried now... I took the added code out and none of our attachments work now. I used FTP to download the file to edit as I do not know how to do it from the admin side..
After adding that in I am getting server errors:
Fatal Error: syntax error, unexpected T_CLASS 2 minutes ago - library/XenForo/ViewPublic/Attachment/View.php:1
Hey Jake,
Added that in and made no difference. Still not working :(
$imageTypes = array(
'gif' => 'image/gif',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'png' => 'image/png'...
I should add that when using IE11 the play button does work as it will switch from play to pause when clicking the play button so that works.
Just will not play the attached file for some reason. Blows my mind that IE8 works but not IE11...
Hey Jake, Thanks for the reply.
The player is Mediaelement, Guest are not allowed to see anything unless they join our board.
The player showing with no problem and plays in IE 8, Chrome and Firefox but will not play in IE 11.
It shows in IE11 but will not play.
I added in your code in the...
Hello folks,
I seem to have a major problem with IE11 not playing our attached mp3's in post.
I have tried at least 10 players now and none will play. The player shows but you can click the play button till your finger falls off and nothing happens...lol
Chrome and FF has no problems its just...