'''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#IcantremembermyAdminloginandorpassword.HowcanIrestoreorchangeit I can't remember my Admin login and/or password. How can I restore or change it?]'''
'''[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"]'''
'''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#Q:IseethiserrorwhenIopenmysite:Warning:Missingargument1forTopMenuDesigncalledin...templatestmpl_...scriptsBxTemplMenu.phponline45anddefinedin...incmenu.inc.phponline250 I see this error when I open my site: "Warning: Missing argument 1 for TopMenuDesign(), called in ...templates\tmpl_...\scripts\BxTemplMenu.php on line 45 and defined in ...inc\menu.inc.php on line 250"]'''
'''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#Mysecurityimagedoesntshowup.Sonoonecanjoinmysite My security image doesn't show up. So no one can join my site]'''
'''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#Igetthiserrormessagethroughoutmysite:Fatalerror:Calltoundefinedfunction:mb_internal_encoding I get this error message throughout my site: Fatal error: Call to undefined function: mb_internal_encoding]'''
'''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#IreceivethiserrorwhenItrytoinstallDolphin:Theserverencounteredaninternalerrorormisconfigurationandwasunabletocompleteyourrequest I receive this error when I try to install Dolphin: "The server encountered an internal error or misconfiguration and was unable to complete your request"]'''
----
== I can't remember my Admin login and/or password. How can I restore or change it? ==
You should empty the Admins table and create a new admin record there.
The following script will allow you to do that. Place the script in the main directory of your Dolphin site, name it so its name would end with .php and run it in your browser, for example http://yoursite/admin_restore.php:
{{{
Success";
?>
}}}
where '''ADMIN_NAME''' and '''ADMIN_PASSWORD''' should be replaced with their real values.
----
== 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'' ==
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.
----
== I get ''Uploading file error'' when uploading audio/video files in Ray Media and Video Players ==
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.
----
== When I try to open somebody's profile, I get this page: ''Not Found'' ==
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'''
----
== I see this error when I open my site: ''Warning: Missing argument 1 for !TopMenuDesign(), called in ...templates\tmpl_...\scripts\!BxTemplMenu.php on line 45 and defined in ...inc\menu.inc.php on line 250'' ==
Templates created for versions under 6.0.0004 will generate this error. But it can be fixed the following way:
'''1)''' open '''templates/tmpl_TEMPLATE-NAME/scripts/BxTemplMenu.php'''
'''2)''' replace
{{{
$ret .= TopMenuDesign( ... );
}}}
with
{{{
$ret .= TopMenuDesign( (int)getParam('topmenu_items_perline'), '
' );
}}}
This should solve the problem.
----
== My security image doesn't show up. So no one can join my site ==
This may be caused by a few reasons:
1) You either don't have '''GD library''' or '''!ImageMagick''' installed.
2) If you still have GD library installed it may be not compiled with !TrueType fonts.
3) Another reason for this problem may be unchecked '''Use GD library for image processing''' in '''Settings -> Advanced Settings'''.
4) And at last, if you're using !ImageMagick, not GD library, you may have incorrect paths to its applications in '''inc/header.inc.php'''. In this case you should check the paths to '''$MOGRIFY''', '''$CONVERT''' and '''$COMPOSITE'''.
If all this doesn't help, you can just disable security image in '''Settings -> Advanced Settings -> Enable security image on join page'''.
----
== I get this error message throughout my site: ''Fatal error: Call to undefined function: mb_internal_encoding'' ==
The default PHP installation does not always have the mb_string extension enabled, but the program requires that you run the PHP multibyte-string extension which is not enabled by default. In brief, in order to do this you will need to (in Windows):
* uncomment out the line
{{{
extension=php_mbstring.dll
}}}
in the '''php.ini''' file
* ensure that the path to this file is set correctly, again in php.ini, for example:
{{{
extension_dir = "./ext"
}}}
* Note that you can ensure that this file is correctly loaded by setting in php.ini:
{{{
display_errors = on
}}}
* Restart your webserver, e.g. restart Apache
* You can check via phpinfo() that '''mbstring''' appears within the information page
* Here's how to do it in UNIX-based systems: http://php.net/mb_string
----
== I receive this error when I try to install Dolphin: ''The server encountered an internal error or misconfiguration and was unable to complete your request'' ==
This is most probably caused by some '''.htaccess''' instructions which your server refuses to handle.
These instructions usually are
{{{
php_flag register_globals Off
}}}
in the .htaccess file of the main Dolphin folder
and
{{{
Options -Indexes
}}}
in the .htaccess files of the subfolders
Comment out these statements, for example:
{{{
# Options -Indexes
}}}
and try to run installation again.