| 31 | |
| 32 | ---- |
| 33 | |
| 34 | == Some or all of my widgets keep on loading and do not work. == |
| 35 | |
| 36 | 1) This problem usually happens when there are writable permissions on folders and files when PHP is running in CGI mode. |
| 37 | |
| 38 | To check the mode your PHP is running in, log into your Dolphin's Admin Panel and then open the page '''administration/phpinfo.php'''. |
| 39 | |
| 40 | To fix it, you will need to set all folders permissions to 755 and all files to 644. The file '''flash/modules/global/app/ffmpeg.exe''' should be also set to 755. |
| 41 | |
| 42 | 2) This problem may also be caused by script's inability to open widgets' default skins. You can try the following tweak which will be harmless for the rest of the script functionality: |
| 43 | |
| 44 | open the file '''flash/modules/MODULE_NAME/skins/index.php and replace the line |
| 45 | {{{ |
| 46 | $sFile = $aResult['current'] . "." . $aResult['extension']; |
| 47 | }}} |
| 48 | with |
| 49 | {{{ |
| 50 | $sFile = "default.swf"; |
| 51 | }}} |
| 52 | |
| 53 | You can also try to comment out these lines if you still experience the problem: |
| 54 | {{{ |
| 55 | /* - comment start |
| 56 | require_once("../../../../inc/header.inc.php"); |
| 57 | require_once($sIncPath . "functions.inc.php"); |
| 58 | require_once($sIncPath . "apiFunctions.inc.php"); |
| 59 | require_once($sIncPath . "xml.inc.php"); |
| 60 | |
| 61 | $aPathParts = explode("/", $_SERVER['PHP_SELF']); |
| 62 | $iPartsCount = count($aPathParts); |
| 63 | $aResult = getExtraFiles($aPathParts[$iPartsCount-3], $aPathParts[$iPartsCount-2]); |
| 64 | comment end - */ |
| 65 | |
| 66 | }}} |
| 67 | |
| 68 | '''''MODULE_NAME''''' stands for '''board''', '''chat''', '''desktop''', '''im''', '''mp3''', '''photo''', '''video''' or '''video_comments'''. |