* '''[http://www.boonex.net/dolphin/wiki/GenDolTShooter#Q:Iseethiserroronsomeofmysitespages:Calltoundefinedfunction:mb_ereg_replaceinpath_to_dolphinincutils.inc.phponline120 I see this error on some of my site's pages: "Call to undefined function: mb_ereg_replace() in /path_to_dolphin/inc/utils.inc.php on line 120"]''' * '''[http://www.boonex.net/dolphin/wiki/GenDolTShooter#Q:IgetUploadingfileerrorwhenuploadingaudiovideofilesinRayMediaandVideoPlayers I get "Uploading file error" when uploading audio/video files in Ray Media and Video Players]''' * '''[http://www.boonex.net/dolphin/wiki/GenDolTShooter#Q:WhenItrytoopensomebodysprofileIgetthispage:NotFound When I try to open somebody's profile, I get this page: "Not Found"]''' == Q: I see this error on some of my site's pages: ''Call to undefined function: mb_ereg_replace() in /path_to_dolphin/inc/utils.inc.php on line 120'' == '''A:''' This error and similar errors (yielding about functions starting with '''mb_''') refer to '''mbstring''' extension being absent from your PHP compilation. You should either re-compile it with '''--with-mbstring''' directive (under Linux) or uncomment '''extension=php_mbstring.dll''' in '''php.ini''' (under Windows). Then you should restart Apache web server. ---- == Q: I get ''Uploading file error'' when uploading audio/video files in Ray Media and Video Players == '''A:''' 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: {{{ SecFilterEngine off }}} 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), [http://www.boonex.com/ffmpeg_win.zip Windows] or [http://www.boonex.com/ffmpeg_freebsd62.tgz 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. ---- == Q: When I try to open somebody's profile, I get this page: ''Not Found'' == '''A:''' The problem is that your Apache server is not compiled with rewrite module or you don't have rewrite instructions in your Dolphin's root .htaccess file. These instructions should be as follows: {{{ RewriteEngine on RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .+ - [L] RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L] }}} If you can't solve these problems, you can disable '''Friendly profile permalinks''' in '''Settings -> Advanced Settings'''