Welcome, Guest
Please Login or Register.    Lost Password?

Parse error: syntax error, unexpected T_CONSTANT_E
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Parse error: syntax error, unexpected T_CONSTANT_E
#1109
Parse error: syntax error, unexpected T_CONSTANT_E 2 Years, 2 Months ago Karma: 0
when I click on the tester button at the backend, I got this error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/rcholic/administrator/components/com_jvideodirect/controllers/tester.php on line 25


what's the cause? thanks
RCholic
(Free Member)

Junior Boarder
Posts: 34
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1112
Re: Parse error: syntax error, unexpected T_CONSTANT_E 2 Years, 2 Months ago Karma: 8
in line 25 ...
require_once(JPATH_ROOT.DS.'components'.DS.'com_jvideodirect'.DS.'classes'.DS.'tools.php');
we are seeking a files.
in the path of that file we use a Joomla predefined variable called "JPATH_ROOT" to determine the full path to your root directory ...

seems like
1. the files is not there. jvideodirect is not installed properly.
2. Joomla is not installed properly.
ethan
jVideoDirect staff
Posts: 422
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1113
Re: Parse error: syntax error, unexpected T_CONSTANT_E 2 Years, 2 Months ago Karma: 8
you may like to add

jimport('joomla.filesystem.path');
right before line 25
ethan
jVideoDirect staff
Posts: 422
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1133
Re: Parse error: syntax error, unexpected T_CONSTANT_E 2 Years, 2 Months ago Karma: 0
well, after installing the 1.1 RC1c, I got this error when using the tester at the backend:

Fatal error: Only variables can be passed by reference in /var/www/rcholic/components/com_jvideodirect/tools/transformer/convertIt.php on line 794
RCholic
(Free Member)

Junior Boarder
Posts: 34
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/11/20 11:31 By RCholic.
The administrator has disabled public write access.
 
#1136
Re: Parse error: syntax error, unexpected T_CONSTANT_E 2 Years, 2 Months ago Karma: 16
please re-download the package
cassie
jVideoDirect staff
Posts: 1114
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1139
Re: Parse error: syntax error, unexpected T_CONSTANT_E 2 Years, 2 Months ago Karma: 0
thank you so much for the help.

My tester finally starts to work now, however, I got this error as shown in the image below:


I am sure mplayer has been installed correctly, and the path is /usr/local/bin/mplayer. What could be the cause for the error generating thumbnail pics? GD libraries are installed on my server as well.

edit:

The image maker log shows error, but I don't know what it means:

FFmpeg version SVN-r20541, Copyright (c) 2000-2009 Fabrice Bellard, et al.
built on Nov 20 2009 21:19:29 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44)
configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --enable-nonfree --enable-libfaad --enable-libfaac --enable-gpl --enable-libx264
libavutil 50. 4. 0 / 50. 4. 0
libavcodec 52.41. 0 / 52.41. 0
libavformat 52.39. 2 / 52.39. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
/home/public_html/components/com_jvideodirect/tools/transformer/../../../../administrator/components/com_jvideodirect/tools/tester/test/test-HD.mp4: Error while opening file
FFmpeg version SVN-r20541, Copyright (c) 2000-2009 Fabrice Bellard, et al.
built on Nov 20 2009 21:19:29 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44)
configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --enable-nonfree --enable-libfaad --enable-libfaac --enable-gpl --enable-libx264
libavutil 50. 4. 0 / 50. 4. 0
libavcodec 52.41. 0 / 52.41. 0
libavformat 52.39. 2 / 52.39. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
/home/public_html/components/com_jvideodirect/tools/transformer/../../../../administrator/components/com_jvideodirect/tools/tester/test/test-HD.mp4: Error while opening file
RCholic
(Free Member)

Junior Boarder
Posts: 34
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/11/20 21:39 By RCholic.
The administrator has disabled public write access.
 
#1144
Re: Parse error: syntax error, unexpected T_CONSTANT_E 2 Years, 2 Months ago Karma: 8
jvd uses background process to process video transcoding.
As a result, it's out of joomla framework and video produce are owned by apache or any other name representing your apache.

with this error message right at the bottom
/home/public_html/components/com_jvideodirect/tools/transformer/../../../../administrator/components/com_jvideodirect/tools/tester/test/test-HD.mp4: Error while opening file

obviously, permission is not correct,
have you set permission, according to directory-permission in forum/how-tos
ethan
jVideoDirect staff
Posts: 422
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
Moderators: cassie, tanny, ethan