Elxis CMS Forum

Extensions => Modules => Topic started by: sawaedy on August 08, 2011, 23:43:08

Title: problem with UPPOD multimedia Player
Post 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?
Title: Re: problem with UPPOD multimedia Player
Post by: rentasite on August 08, 2011, 23:58:04

You opened the english.php file? Did you save it in UTF-8 without Bom characters encoding?

Copy and paste here line 12
Title: Re: problem with UPPOD multimedia Player
Post by: sawaedy on August 09, 2011, 05:13:45
i doing what you tell me, but not work and repeat the eror
Title: Re: problem with UPPOD multimedia Player
Post by: Ivan Trebješanin on August 09, 2011, 11:25:35
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.
Title: Re: problem with UPPOD multimedia Player
Post by: webgift on August 09, 2011, 11:40:46
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 ?
Title: Re: problem with UPPOD multimedia Player
Post by: Ivan Trebješanin on August 09, 2011, 13:02:39
This error usually be displayed when we use php 4.x. However Elxis requires php 5.x! isn't it ?

aaaahhh, of course!
Title: Re: problem with UPPOD multimedia Player
Post by: webgift on August 09, 2011, 13:14:06
 ;) :)
Title: Re: problem with UPPOD multimedia Player
Post by: sawaedy on August 09, 2011, 14:36:19
no. i  using php version 5.2.17
Title: Re: problem with UPPOD multimedia Player
Post by: Ivan Trebješanin on August 09, 2011, 16:13:03
Then post here mentioned line, so we can see what's wrong.
Title: Re: problem with UPPOD multimedia Player
Post by: sawaedy on August 09, 2011, 20:53:26
defined (' _VALID_MOS') or die (' Direct Access to this location is not allowed. ');
is the line12
Title: Re: problem with UPPOD multimedia Player
Post by: Ivan Trebješanin on August 09, 2011, 22:12:07
the line should be:
Code: [Select]
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
Title: Re: problem with UPPOD multimedia Player
Post by: sawaedy on August 09, 2011, 22:23:22
whats differences ? is the line were had
Title: Re: problem with UPPOD multimedia Player
Post by: wbread on August 09, 2011, 22:43:01
test and no problem
http://delkis.bisar.ru/en/demo/module/uppod-multimedia-player.html
version, link or screenshot?
Title: Re: problem with UPPOD multimedia Player
Post by: rentasite on August 09, 2011, 23:14:07

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!
Title: Re: problem with UPPOD multimedia Player
Post by: sawaedy on August 09, 2011, 23:17:07
but in my site not work and in administrator show error
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
Title: Re: problem with UPPOD multimedia Player
Post by: rentasite on August 09, 2011, 23:18:54

did you do what i told you, just one post before?
Title: Re: problem with UPPOD multimedia Player
Post by: wbread on August 09, 2011, 23:27:12
in administrator show error
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
in main page? or in module
Title: Re: problem with UPPOD multimedia Player
Post by: sawaedy on August 09, 2011, 23:28:09
im remove the file complete and reinstall , were work correct
thanks from all
Title: Re: problem with UPPOD multimedia Player
Post by: sawaedy on August 10, 2011, 06:13:38
what insert file in uppod? have any help in English?
Title: Re: problem with UPPOD multimedia Player
Post by: Ivan Trebješanin on August 10, 2011, 10:17:37
I gave you corrected line. Your line was
Code: [Select]
defined (' _VALID_MOS') or die (' Direct Access to this location is not allowed. ');[/color]

and it should be
Code: [Select]
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

Title: Re: problem with UPPOD multimedia Player
Post by: wbread on August 10, 2011, 11:43:23
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
Title: Re: problem with UPPOD multimedia Player
Post by: herve34000 on October 10, 2011, 07:36:56
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  ;)

Title: Re: problem with UPPOD multimedia Player
Post by: wbread on October 10, 2011, 10:50:50
thanks, corrected version on EDC