I get the "undefined" error when trying to register my widgets
My RMS widgets (Chat, IM, Video Recorder) end up in "Connecting". What should I do?
My widgets result in "Invalid parameters" error
I get "Uploading file error" when uploading audio/video files in Ray Media and Video Players
My Free/Ad-Free licenses don't work resulting in "wrong license number" message
My Audio/Video widgets (Chat, IM, Video Recorder and Whiteboard) can't connect
I get the "undefined" error when trying to register my widgets
As soon as Adobe has made some changes in the base XML class of their latest Flash Player, it has become incompatible with Ray.
So, you need to make sure that your Flash Player version is 8 or 9. If you have upgraded Flash Player to the 10th version, you should downgrade it to 8 or 9 version.
My RMS widgets (Chat, IM, Video Recorder) end up in "Connecting". What should I do?
Use RMS is enabled in Plugins -> Ray Suite -> Base Settings but:
1) your RMS is not installed or not properly installed (refer to RMS installation manual)
2) you are using Ad-Free widgets and your RMS is not properly specified in Plugins -> Ray Suite -> Base Settings (refer to RMS installation manual)
3) you are using Free widgets and BoonEx RMS is not properly specified in Plugins -> Ray Suite -> Base Settings (refer to Dolphin install: Final step)
4) you have specified BoonEx RMS but you're using Ad-Free widgets; in this case you're not eligible to use BoonEx RMS so you should install your own one (refer to the 1) step)
Note: If you somehow still can't make RMS work, you can disable it by unticking the Use RMS checkbox. But in this case you won't be able to use audio/video streaming features in Ray widgets.
Some of the widgets show "Not Installed" in the Ray Suite Panel though I have a regular Dolphin installation
This is typically caused by the wrong permissions on some XML files inside the ray/modules directory.
Check if the following files have 666 permissions:
./ray/modules/global/xml/config.xml ./ray/modules/global/xml/main.xml ./ray/modules/board/xml/config.xml ./ray/modules/board/xml/langs.xml ./ray/modules/board/xml/main.xml ./ray/modules/board/xml/skins.xml ./ray/modules/chat/xml/config.xml ./ray/modules/chat/xml/langs.xml ./ray/modules/chat/xml/main.xml ./ray/modules/chat/xml/skins.xml ./ray/modules/im/xml/config.xml ./ray/modules/im/xml/langs.xml ./ray/modules/im/xml/main.xml ./ray/modules/im/xml/skins.xml ./ray/modules/presence/xml/config.xml ./ray/modules/presence/xml/langs.xml ./ray/modules/presence/xml/main.xml ./ray/modules/presence/xml/skins.xml ./ray/modules/video/xml/config.xml ./ray/modules/video/xml/langs.xml ./ray/modules/video/xml/main.xml ./ray/modules/video/xml/skins.xml ./ray/modules/mp3/xml/config.xml ./ray/modules/mp3/xml/langs.xml ./ray/modules/mp3/xml/main.xml ./ray/modules/mp3/xml/skins.xml ./ray/modules/movie/xml/config.xml ./ray/modules/movie/xml/langs.xml ./ray/modules/movie/xml/main.xml ./ray/modules/movie/xml/skins.xml ./ray/modules/music/xml/config.xml ./ray/modules/music/xml/langs.xml ./ray/modules/music/xml/main.xml ./ray/modules/music/xml/skins.xml ./ray/modules/desktop/xml/config.xml ./ray/modules/desktop/xml/langs.xml ./ray/modules/desktop/xml/main.xml ./ray/modules/desktop/xml/skins.xml ./ray/modules/shoutbox/xml/config.xml ./ray/modules/shoutbox/xml/langs.xml ./ray/modules/shoutbox/xml/main.xml ./ray/modules/shoutbox/xml/skins.xml
and if the permissions are wrong set them using SSH or FTP's chmod command, for example:
chmod 666 ./ray/modules/global/xml/config.xml ./ray/modules/global/xml/main.xml ./ray/modules/board/xml/config.xml ./ray/modules/board/xml/langs.xml ./ray/modules/board/xml/main.xml ./ray/modules/board/xml/skins.xml ./ray/modules/chat/xml/config.xml ./ray/modules/chat/xml/langs.xml ./ray/modules/chat/xml/main.xml ./ray/modules/chat/xml/skins.xml ./ray/modules/im/xml/config.xml ./ray/modules/im/xml/langs.xml ./ray/modules/im/xml/main.xml ./ray/modules/im/xml/skins.xml ./ray/modules/presence/xml/config.xml ./ray/modules/presence/xml/langs.xml ./ray/modules/presence/xml/main.xml ./ray/modules/presence/xml/skins.xml ./ray/modules/video/xml/config.xml ./ray/modules/video/xml/langs.xml ./ray/modules/video/xml/main.xml ./ray/modules/video/xml/skins.xml ./ray/modules/mp3/xml/config.xml ./ray/modules/mp3/xml/langs.xml ./ray/modules/mp3/xml/main.xml ./ray/modules/mp3/xml/skins.xml ./ray/modules/movie/xml/config.xml ./ray/modules/movie/xml/langs.xml ./ray/modules/movie/xml/main.xml ./ray/modules/movie/xml/skins.xml ./ray/modules/music/xml/config.xml ./ray/modules/music/xml/langs.xml ./ray/modules/music/xml/main.xml ./ray/modules/music/xml/skins.xml ./ray/modules/desktop/xml/config.xml ./ray/modules/desktop/xml/langs.xml ./ray/modules/desktop/xml/main.xml ./ray/modules/desktop/xml/skins.xml ./ray/modules/shoutbox/xml/config.xml ./ray/modules/shoutbox/xml/langs.xml ./ray/modules/shoutbox/xml/main.xml ./ray/modules/shoutbox/xml/skins.xml
I get Uploading file error when uploading audio/video files in Ray Media and Video Players
1) This is a common problem and most of the time it is caused by the following reasons:
1) You're trying to upload files bigger than 2 Megabytes which is the default value for PHP configuration. To fix it, edit php.ini file which is used as a configuration file by your PHP processor. You have to find two variables: upload_max_filesize and post_max_size and assign bigger values to them.
2) You don't have .htaccess or have it corrupted in the ray folder. Here's the code that this file must contain:
<IfModule mod_security.c> SecFilterEngine off </IfModule>
3) You have the correct .htaccess file but it gets overridden by other Apache settings on your server. You should contact your hosting provider in this case.
4) You don't have the proper ffmpeg.exe in ray/modules/global/app or it doesn't have 777 permissions (readable, writable, executable). In this case change the permissions and make sure the ffmpeg.exe file is applicable to your operating system: Linux (provided with Dolphin), Windows or FreeBSD.
5) You have incorrect permissions for the following folders:
ray/modules/mp3/files/, ray/modules/movie/files and ray/modules/music/files These folders must have 777 permissions.
6) You have PHP exec() function disabled on your server. Advise with your hosting provider in order to figure this out.
2) If you still can't make it work, please follow this diagnostic procedure:
- To determine the reason of such problems, create a php file with the following contents, upload it in your Dolphin's root directory and run it in your browser window:
echo "<br/><b>PHP INI settings</b><br/>";
echo "<br>safe mode = ".ini_get('safe_mode');
echo "<br>disabled functions = ".ini_get('disable_functions');
echo "<br>max execution time = ".ini_get('max_execution_time');
echo "<br>post_max_size = ".ini_get('post_max_size');
echo "<br>upload max filesize = ".ini_get('upload_max_filesize');
echo "<br/><br/><b>ffmpeg output</b><pre>";
$s = realpath("ray/modules/global/app/ffmpeg.exe");
echo `$s -version 2>&1`;
Output analysis:
safe_mode = if this variable has non-empty value then ffmpeg will not be able to execute; in this case advise with your hosting about disabling safe mode.
disabled_functions = if this variable contains exec then this function is forbidden by hosting and thus your script won't be able to run ffmpeg.
max_execution_time, max_input_time = it's usually set to 30 seconds; you should increase its value several times.
post_max_size = the size of POST data that PHP can handle; it's usually set at 2M; you should increase its value up to 8M or more.
upload_max_filesize = the size limit of uploaded files; it's usually set at 2M; you should increase its value up to 8M or more.
ffmpeg output: - this command will result in a message like this:
FFmpeg version SVN-r9115, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-libmp3lame --enable-xvid --enable-x264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static libavutil version: 49.4.0 libavcodec version: 51.40.4 libavformat version: 51.12.1 built on Aug 14 2007 18:26:46, gcc: 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9) ffmpeg SVN-r9115 libavutil 3212288 libavcodec 3352580 libavformat 3345409
If you didn't see anything like this your hosting doesn't allow your web script to run exe files (this can be the result of safe_mode and disabled_functions values, see above).
Possible ways to fix this problem:
- safe_mode and disabled_functions issues can be resolved only by hosting provider.
- There are 3 ways to resolve the issue with max_execution_time:
1) Create an .htaccess file in Dolphin's root directory (or edit the existing .htaccess file) with the following lines:
php_value max_execution_time 1000 php_value max_input_time 1000
2) If your hosting doesn't accept commands in .htacces files (for example, if your PHP is running in CGI mode), add the following line in the ray/modules/movie/inc/functions.inc.php file, after global $sFilesPath; line in function convert:
@set_time_limit(1000);
3) If PHP is running in CGI mode on your server, create a php.ini file and upload it in every subdirectory of your site. The contents of the file should be as follows:
max_execution_time=1000 max_input_time=1000
- upload_max_filesize and post_max_size can be dealt in two ways:
1) Create .htaccess file in Dolphin's root directory (or edit the existing .htaccess file) with the following lines:
php_value upload_max_filesize 100M php_value post_max_size 200M
2) If PHP is running in CGI mode on your server, create a php.ini file and upload it in every subdirectory of your site. The contents of the file should be as follows:
upload_max_filesize=100M post_max_size=200M
- you should also increase or comment out the value for the wait_timeout variable in the my.cnf file (on Linux) or my.ini file (on Windows) - the configuration file for MySQL; then restart MySQL service.
My widgets result in "Invalid parameters" error
- This problem is mostly caused by unsuccessful integration of Ray widgets.
In this case refer to Ray Integration Manual.
- Referring to Dolphin, it can be caused by efforts to replace the ray folder with that from the Ray package and install it which is obviously not needed because Ray is already integrated into Dolphin.
Here are the steps of fixing it in this case:
- Backup the media files if they already have been uploaded by your members. They reside in the folders ray/modules/WIDGET_NAME/files, where WIDGET_NAME stands for the name of the widget (chat, im, etc.)
- Replace the whole ray folder with that from your original Dolphin package (for example Dolphin 6.1.4 Free or AdFree)
- Set the following permissions using an FTP or SSH client
chmod 777 ./ray/modules/board/files ./ray/modules/chat/files ./ray/modules/im/files ./ray/modules/movie/files ./ray/modules/mp3/files ./ray/modules/music/files ./ray/modules/global/app/ffmpeg.exe chmod 666 ./ray/modules/board/xml/config.xml ./ray/modules/board/xml/langs.xml ./ray/modules/board/xml/main.xml ./ray/modules/board/xml/skins.xml ./ray/modules/chat/xml/config.xml ./ray/modules/chat/xml/langs.xml ./ray/modules/chat/xml/main.xml ./ray/modules/chat/xml/skins.xml ./ray/modules/desktop/xml/config.xml ./ray/modules/desktop/xml/langs.xml ./ray/modules/desktop/xml/main.xml ./ray/modules/desktop/xml/skins.xml ./ray/modules/global/data/integration.dat ./ray/modules/global/inc/cron.inc.php ./ray/modules/global/inc/header.inc.php ./ray/modules/global/xml/config.xml ./ray/modules/global/xml/main.xml ./ray/modules/im/xml/config.xml ./ray/modules/im/xml/langs.xml ./ray/modules/im/xml/main.xml ./ray/modules/im/xml/skins.xml ./ray/modules/movie/xml/config.xml ./ray/modules/movie/xml/langs.xml ./ray/modules/movie/xml/main.xml ./ray/modules/movie/xml/skins.xml ./ray/modules/mp3/xml/config.xml ./ray/modules/mp3/xml/langs.xml ./ray/modules/mp3/xml/main.xml ./ray/modules/mp3/xml/skins.xml ./ray/modules/music/xml/config.xml ./ray/modules/music/xml/langs.xml ./ray/modules/music/xml/main.xml ./ray/modules/music/xml/skins.xml ./ray/modules/presence/xml/config.xml ./ray/modules/presence/xml/langs.xml ./ray/modules/presence/xml/main.xml ./ray/modules/presence/xml/skins.xml ./ray/modules/shoutbox/xml/config.xml ./ray/modules/shoutbox/xml/langs.xml ./ray/modules/shoutbox/xml/main.xml ./ray/modules/shoutbox/xml/skins.xml ./ray/modules/video/xml/config.xml ./ray/modules/video/xml/langs.xml ./ray/modules/video/xml/main.xml ./ray/modules/video/xml/skins.xml
- Open the file ray/modules/global/inc/header.inc.php and replace [path_to] with the server path to Dolphin's folder, for example /home/user/community/
- Log into Dolphin's Admin Panel and navigate to Plugins -> Ray Suite. Register all your widgets and specify your RMS in Base Settings. Please refer to Dolphin Installation Manual.
- Restore the media files from backup placing them into the same folders where they used to be.
- Backup the media files if they already have been uploaded by your members. They reside in the folders ray/modules/WIDGET_NAME/files, where WIDGET_NAME stands for the name of the widget (chat, im, etc.)
My Free/Ad-Free licenses don't work resulting in "wrong license number" message
- The most common reason for this is that you're trying to apply your licenses on incompatible package, i.e. you're trying to register Free Ray widgets with Ad-Free licenses or vice versa. To check the version of your widgets, open the following file inside each widget's folder:
inc/constants.inc.php
Search for the version number which looks like this:
'code' => "chat_3.0.0000_free" or
'code' => "chat_3.0.0000"
The Free widgets contain _free wording in these lines, while the Ad-Free ones don't.
To replace the current Ray package in Dolphin with the appropriate one, please refer to Ray FAQ.
My Ray widgets show "Not Registered" on user end though they have been successfully registered on admin end
- You're probably using the wrong license number. In order to check it out, open ray/modules/module_name/xml/main.xml and replace CDATA[enabled] with CDATA[not registered]. Then try to register your widgets again and you will probably encounter a problem mentioned in the previous paragraph.
- If there's no problem registering the widget again, but it still appears to be unregistered on users end, you have most probably installed 3.1 widgets together with 3.0. In this case you need to install all widgets of the same verson.
My Audio/Video widgets (Chat, IM, Video Recorder and Whiteboard) can't connect
- If you're using Free widgets, you need to enable RMS and specify its location (rms.boonex.com) in Admin Panel -> Plugins -> Ray Suite -> Base Settings.
Set the following ports: RMS Port: 10000, RMS HTTP Port: 10080.
- If you're using Ad-Free widgets, you need to install RMS, enable it and specify its IP address in Admin Panel -> Plugins -> Ray Suite -> Base Settings.
Set the following ports: RMS Port: 1935, RMS HTTP Port: 5080.
Ray 3.1 HotFix
Ray 3.1 HotFix. Download Free or AdFree version. This Hotfix is with a minor fixes in Ray modules. They are:
- Problem with version check in Ray Base
- Corrections of buttons representation in VPlayer abd VRecorder
- Minor bugs in Chat and IM interface
The archives contain only .swf files. This HotFix does not require any specific instruction on how to apply it. You should just upload .swf files according to their location in Ray modules and that's all.










