Elxis CMS Forum
Extensions => Modules => Topic started by: sawaedy on August 08, 2011, 23:43:08
-
hi
im have problem for install UPPOD multimedia Player is show the eror: Parse error: syntax error, unexpected T_STRING in / /public_html/modules/mod_uppod/language/english.php on line 12
can any body help me?
-
You opened the english.php file? Did you save it in UTF-8 without Bom characters encoding?
Copy and paste here line 12
-
i doing what you tell me, but not work and repeat the eror
-
Parse error: syntax error, unexpected T_STRING in / /public_html/modules/mod_uppod/language/english.php on line 12
Check line 12 in english.php as PHP tells you, probably missed some quote.
-
Is there any subject about php version, Ivan ?
This error usually be displayed when we use php 4.x. However Elxis requires php 5.x! isn't it ?
-
This error usually be displayed when we use php 4.x. However Elxis requires php 5.x! isn't it ?
aaaahhh, of course!
-
;) :)
-
no. i using php version 5.2.17
-
Then post here mentioned line, so we can see what's wrong.
-
defined (' _VALID_MOS') or die (' Direct Access to this location is not allowed. ');
is the line12
-
the line should be:
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
-
whats differences ? is the line were had
-
test and no problem
http://delkis.bisar.ru/en/demo/module/uppod-multimedia-player.html
version, link or screenshot?
-
sawaedy download again "UPPOD multimedia Player" on your pc. Unzip it and upload only english.php and replace the old file. Don't open - don't save the new english.php till you upload it.
tell us if it works. If it doesn't... the problem is something else!
-
but in my site not work and in administrator show error
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
-
did you do what i told you, just one post before?
-
in administrator show error
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
in main page? or in module
-
im remove the file complete and reinstall , were work correct
thanks from all
-
what insert file in uppod? have any help in English?
-
I gave you corrected line. Your line was
defined (' _VALID_MOS') or die (' Direct Access to this location is not allowed. ');
[/color]
and it should be
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
[/color]
As you can see there was one extra space before _VALID_MOS
-
update module on EDC
PS:
I do not think that the forum will discuss the module from the third party, as was written in another topic ;D
-
Dear all,
Error on this file : english:php
<? php error here
/* UPPOD multimedia Player module v.1.6.1 for Elxis CMS
* Copyright (C) 2011 www.runsite.ru - All rights reserved.
* Licence http://creativecommons.org/licenses/by-sa/3.0/deed.en Creative Commons 3.0 SA
* uppod player (http://uppod.ru/) is video player for the Web
*
* ---- THIS FILE MUST BE ENCODED AS UTF-8!---
*
*/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
define (' CX_MODUP_DESC ', ' <h2>Module "UPPOD multimedia Player" </h2>
the first line need to change.
Correction:
change <? php to <?php
Cordially Herve ;)
-
thanks, corrected version on EDC