|
Troubleshooting
TroubleshootingIn case of errors, first check most common errors below. If none of those help with your problem, do following steps before reporting new issue: 1. Check for configuration file errors Modify script "backend/check.php" and enable the script as instructed in the file. Open url in your browser: http://yourhost/backend/check.php. If the script tells that file is OK, continue with other steps. Otherwise correct the problem as instructed, and try again. 2. Enable server side logging by adding following settings in configuration.php: $SETTINGS = array( "debug" => TRUE, "debug_log" => "/mollify/debug.log", // CHANGE THIS ); If you have other settings already, add this to the same list, for example: $SETTINGS = array( "enable_file_upload" => TRUE, "enable_zip_download" => TRUE, "debug" => TRUE, "debug_log" => "/mollify/debug.log", //CHANGE THIS ); The debug log file must be located in a folder where PHP has read and write permissions. 3. Recreate the error situation 4. Open url in your browser: http://yourhost/backend/r.php/debug NOTE! Debug url requires admin user. NOTE! Debug log is emptied every time the url is opened. 5. Copy the debug info and attach into error report NOTE! Once the logs are reported, remember to disable server side debug logging option as it generates lots of log entries. Client side debuggingSometimes server side debug log is not enough to solve problems, and then you need to install debug client that provides also client side debug information. 1. Download debug client from http://code.google.com/p/mollify/downloads/list (select the debug client for the same version as installed) 2. In Mollify installation directory create a new folder called "debug-client" 3. Unzip the package into created folder 4. Modify host page client script location to use the debug client <script type="text/javascript" language="javascript" src="client/org.sjarvela.Mollify.nocache.js"></script> into <script type="text/javascript" language="javascript" src="debug-client/org.sjarvela.Mollify.nocache.js"></script> Once the debug client is installed, you should see the debug window. Recreate the error, and copy all the logging information into the issue report Most Common ErrorsError "Cannot modify header information" or "Got malformed JSON response"Error "Cannot modify header information, headers already sent" means PHP output is started prematurely before the Mollify session is initialized. Error "Got malformed JSON response" means response is received to the client, but it's format is not valid. Usually these are due to following content in configuration.php file:
Error "Parse error: syntax error, unexpected '{'"Error "Parse error: syntax error, unexpected '{'" occurs when PHP version is lower than the minimum required. Timezone error in log, or file popup does not work properlyMollify uses PHP date function to get file modification timestamp, but if PHP timezone has not been set, this function will cause an error. To add timezone, either edit PHP.ini and add setting "date.timezone", or add Mollify setting "timezone" in configuration.php. Possible values for both can be found from http://php.net/manual/en/timezones.php $SETTINGS = array( "timezone" => "Europe/Helsinki" ); Error "Cannot resolve host"Some features, like sharing file links, requires the public URL to access the resources. If possible, Mollify will try to resolve this, but in some cases this information is not available. In this case, you need to define this manually with setting "host public address", see http://code.google.com/p/mollify/wiki/BackendSettings#Host_public_address_(_host_public_address_) Some operations, like rename or editing descriptions, don't workMollify uses REST HTTP protocol for the requests, which means all HTTP methods (ie. GET, PUT, POST and DELETE) must be supported by the web server. If these are not supported, many operations will fail (error in the server log indicate protocol error or missing resource). To fix this, Mollify can be set to operate on limited HTTP methods mode by adding following setting in configuration.php: $SETTINGS = array( "enable_limited_http_methods" => TRUE ); and following client setting into the index.html (merge into your existing settings): <script type="text/javascript">
mollify.init({
"limited-http-methods": true,
});
</script>Filenames have corrupted chars, or file upload/download does not work with special charsMollify operates on UTF-8, so all the data handled must be in UTF-8. First make sure your Mollify web page is set to display UTF-8 content, with following tag in head section: <meta http-equiv="content-type" content="text/html; charset=UTF-8"> If this is correct, then most likely your filesystem does not operate on UTF-8 (usually Windows). In this case you need to configure charset conversion: 1) If you are using MySQL, make sure the charset used is UTF-8. If not sure, you can add following variable: $DB_CHARSET = "utf8"; 2) Setup conversion as instructed in http://code.google.com/p/mollify/wiki/BackendSettings#Convert_filesystem_filenames_(_convert_filenames_) Godaddy hosting and error "No input file specified"1) Enter the Godaddy Hosting Control Center 2) Choose settings-file extensions management-default extensions 3) In the table that is presented edit ".php" Runs under "PHP 5.2.x" (instead of "PHP 5.2.x FastCGI") Downloaded files are corruptedMake sure configuration.php does not have any characters outside <?php - ?> tags, including spaces or line feeds. These characters are interpreted as output, and will corrupt file downloads. See troubleshooting step 1 to check your configuration.php. Error "Failed to get response from server"When response failure error occurs, it is due to either of two things: a) Client cannot connect to the server b) Client can connect to server, but server never responds In both cases, it is always best to first check PHP error log, usually the reason can be found there. If there are no PHP error log entries, it is case of client cannot connect to server (ie. it tries to access backend interface files in a wrong place). If possible, you should check your web server access logs to see what resource it tries to access. Also check your backend interface file locations (see Installation wiki), that it is set up properly. In such error cases, it may be useful to see client logs, see configuration wiki (chapter 6.2, Client Logging) for more information. Firebug plugin for Firefox browser is also very good tool for investigating what resources a page tries to access. If, on the other hand, PHP log reveals errors, it is a case of invalid system setup or configuration. Common PHP errors and their reasons are:
Nothing happens on zip download, or downloaded zip is unreadableWhen a file or a folder is downloaded as zip package and nothing happens or downloaded zip cannot be read, zip package processing fails. Check your PHP error log, and see Installation wiki for more information about zip options. |
with nginx-webserver you should use something like that to call fastcgi:
location ~* r.php { fastcgi_split_path_info ^(/r\.php)(.*)$; include /etc/nginx/fastcgi_params; fastcgi_pass 127.0.0.1:1215; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; }i got something like this....
http://myhost.com/backend/r.php/session/info/1_5_0?type=admin
it just not found by nginx....i try your suggestion hufnagl1971...but nihil...it still doesn't work....
i use nginx/0.7.65....i believe it is all about the url...and nginx think it as a folder but it is not. hmmm i wonder about the fastcgi stuff...
i already try the sugestion if mollify work on limited HTTP methods....it is still the same....T_T
is there anyone ever got trouble like this one?
Hello I need your help. I have a big problem using Mollify in Ubuntu server. I installed it and viewed it in client size, I tried to file upload and create folder , and also trying to delete some put it in pictures but whatever I did , it showing "Unknown error occurred".What should I do and where do I need to change somethings. Does any body help me? Please help me.Plz
plz
I found this error , any solution for this, I used it in Ubuntu sever 10.04. please help me...I can not deleted any file and can not remove , rename. What should I do? Details PHP error #2, unlink(/var/www/administrator/server3/backend/Images/image003.jpg): Permission denied (/home/administrator/public_html/server3/backend/include/filesystem/LocalFilesystem?.class.php:224)
I found this error, when I delete file ,What should I do? I can not delete , rename, and any function of action are not work properly...I used mollify in Ubuntu server. Please , kindly help me.. Details PHP error #2, unlink(/var/www/administrator/server_1/backend/Audio/As Long As You Love .mp3): Permission denied (/home/administrator/public_html/server_1/backend/include/filesystem/LocalFilesystem?.class.php:224)
Debug log MySQL DB: adminbob@localhost:bob_123(bob) port= socket=/var/run/mysqld/mysqld.sock VERSION: 1.7.5 SERVER: {CONTENT_TYPE:text/plain; charset=utf-8, HTTP_REFERER:http://localhost/administrator/server_1/, HTTP_COOKIE:MOLLIFY-SESSION=6jfj836iefdoqk42cucg9li4t0, SCRIPT_FILENAME:/var/www/administrator/server_1/backend/r.php, SERVER_PROTOCOL:HTTP/1.1, REQUEST_METHOD:DELETE, QUERY_STRING:, REQUEST_URI:/administrator/server_1/backend/r.php/filesystem/MTovQXMgTG9uZyBBcyBZb3UgTG92ZSAubXAz/, SCRIPT_NAME:/administrator/server_1/backend/r.php, PATH_INFO:/filesystem/MTovQXMgTG9uZyBBcyBZb3UgTG92ZSAubXAz/, PATH_TRANSLATED:/var/www/filesystem/MTovQXMgTG9uZyBBcyBZb3UgTG92ZSAubXAz/, PHP_SELF:/administrator/server_1/backend/r.php/filesystem/MTovQXMgTG9uZyBBcyBZb3UgTG92ZSAubXAz/, REQUEST_TIME:1296065123} SETTINGS: {enable_file_upload:1, enable_zip_download:1, debug:1} CONFIGURATION PROVIDER (MySQLConfigurationProvider): supported features={0:change_password, 1:description_update, 2:administration, 3:permission_update, 4:user_groups, 5:permission_inheritance} auth=1 FEATURES: {limited_http_methods:, file_upload:1, folder_actions:1, file_upload_progress:, zip_download:1, change_password:1, description_update:1, permission_update:1, administration:1, user_groups:1, public_links:, mail_notification:, retrieve_url:} FILESYSTEM: allowed_file_upload_types={} SESSION: {user_id:1, groups:{}, username:adminbob, default_permission:A} AUTH: is_authentication_required=1, is_authenticated=1 REQUEST: method=delete, path={0:filesystem, 1:MTovQXMgTG9uZyBBcyBZb3UgTG92ZSAubXAz}, ip=127.0.0.1, params={}, data= SERVICE (FilesystemServices?): is_auth_required=1 DB: SELECT id, name, path FROM bob_folder where id='1' deleting [1:/As Long As You Love .mp3] PHP error #2, unlink(/var/www/administrator/server_1/backend/Audio/As Long As You Love .mp3): Permission denied (/home/administrator/public_html/server_1/backend/include/filesystem/LocalFilesystem?.class.php:224) RESPONSE error {0:999, 1:Unexpected server error, 2:500} PHP error #2, unlink(/var/www/administrator/server_1/backend/Audio/As Long As You Love .mp3): Permission denied (/home/administrator/public_html/server_1/backend/include/filesystem/LocalFilesystem?.class.php:224)
any body cann't help me..
Hi Samuli,
I recently installed the lastest version (1.7.9.2) of Mollify and for some reason I keep getting the following error after attempting to add a new user. I also can't log out.
Invalid configuration Error executing query (select distinct ntf.id, ntf.name, ntf.message_title, ntf.message, evt.event_type, ntf_user.id as ntf_usr_id, ntf_user.name as ntf_usr_name, ntf_user.email as ntf_usr_email, ntf_rcp_user.id as ntf_rcp_usr_id, ntf_rcp_user.name as ntf_rcp_usr_name, ntf_rcp_user.email as ntf_rcp_usr_email from mollify_notificator_notification ntf left outer join mollify_notificator_notification_event evt on evt.notification_id = ntf.id left outer join mollify_notificator_notification_user ntf_usr on ntf_usr.notification_id = ntf.id left outer join mollify_user ntf_user on ntf_user.id = ntf_usr.user_id left outer join mollify_notificator_notification_recipient ntf_rcp on ntf_rcp.notification_id = ntf.id left outer join mollify_user ntf_rcp_user on ntf_rcp_user.id = ntf_rcp.user_id where (evt.event_type is null or evt.event_type = 'user/add-user') and ntf_rcp_user.id is not null order by ntf.id asc): Table 'mollify_1.mollify_notificator_notification' doesn't exist
Any assistance is greatly appreciated!
Thank you! S
Currently this script fires error if there's folder with unicode name inside root folder. If the script can not list unicode name folder, it should provide clearer error message or skip that folder.
Please ask questions in discussion area.
Hi, when i try to run http://domain.com/mollify/backend/install/ i get the following error message: Parse error: syntax error, unexpected '{' in /homepages/htdocs/mollify/backend/install/index.php on line 31
Can't display non-english filenames from folder. Unknown error occurred. Windows 2003, cyrillic filenames.
When you say add:
$SETTINGS = array(
does that mean to the "configuration file?
and the <script type="text/javascript">
goes on the page with the div id="mollify"
because i can't delete files - i get a server error
actually - adding those things worked :-D
can't upload non-english file name files.
Mollify Debug
{0:MySQL DB: root@localhost:mollify() port= socket=, 1:VERSION: 1.8.6.1 SERVER: {MIBDIRS:C:/Program Files/XAMPP/xampp/php/extras/mibs, MYSQL_HOME:C:\Program Files\XAMPP\xampp\mysql\bin, OPENSSL_CONF:C:/Program Files/XAMPP/xampp/apache/bin/openssl.cnf, PHP_PEAR_SYSCONF_DIR:C:\Program Files\XAMPP\xampp\php, PHPRC:C:\Program Files\XAMPP\xampp\php, TMP:C:\Program Files\XAMPP\xampp\tmp, HTTP_DNT:1, HTTP_COOKIE:jt_classic2_tpl=jt_classic2; jt_classic2_screen=auto; jt_classic2_layouts=; jt_classic2_direction=ltr; jt_classic2_menu=mega; e00531bcb8afe1811cab1b615ad0bbdd=e3246ed04aaa972f0c8c1bebaa1d72e9; MOLLIFY-SESSION=png4fcv38lk5fo0mr9ilnp1to3, HTTP_REFERER:http://www.joomla-local.com/mollify/backend/plugin/Plupload/client/plupload.flash.swf, CONTENT_TYPE:multipart/form-data; boundary=----pluploadboundary1325945398829, CONTENT_LENGTH:23830, SystemRoot?:C:\Windows, COMSPEC:C:\Windows\system32\cmd.exe, PATHEXT:.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, WINDIR:C:\Windows, SCRIPT_FILENAME:C:/Program Files/XAMPP/xampp/htdocs/Joomla-local/mollify/backend/r.php, SERVER_PROTOCOL:HTTP/1.1, REQUEST_METHOD:POST, QUERY_STRING:, REQUEST_URI:/mollify/backend/r.php/plupload/4f08082e68077/, SCRIPT_NAME:/mollify/backend/r.php, PATH_INFO:/plupload/4f08082e68077/, PATH_TRANSLATED:C:\Program Files\XAMPP\xampp\htdocs\Joomla-local\plupload\4f08082e68077\, PHP_SELF:/mollify/backend/r.php/plupload/4f08082e68077/, REQUEST_TIME:1325945398, argv:{}, argc:0}, 2:SETTINGS: {email_login:, host_public_address:, session_name:, timezone:Asia/Shanghai, enable_limited_http_methods:, enable_file_upload:1, enable_folder_actions:1, enable_file_upload_progress:, enable_zip_download:, zipper:ZipArchive?, enable_change_password:1, enable_descriptions:1, enable_mail_notification:, enable_retrieve_url:, allowed_file_upload_types:{}, mail_notification_from:Admin, new_folder_permission_mask:493, convert_filenames:UTF-8, support_output_buffer:, mail_notificator_class:mail/MailNotificator?.class.php, url_retriever_class:UrlRetriever?.class.php, mime_types:{}, authentication_methods:{0:pw}, ldap_server:, ldap_conn_string:, upload_temp_dir:, enable_thumbnails:1, enable_folder_protection:, debug:1}, 3:CONFIGURATION PROVIDER (MySQLConfiguration): supported features={0:change_password, 1:descriptions, 2:administration, 3:user_groups, 4:permission_inheritance} auth=1, 4:FEATURES: {limited_http_methods:, file_upload:1, folder_actions:1, file_upload_progress:, zip_download:, change_password:1, descriptions:1, administration:1, user_groups:1, mail_notification:, retrieve_url:, folder_protection:, file_view:1, file_preview:1, file_edit:1}, 5:FILESYSTEM: allowed_file_upload_types={}, 6:SESSION: {user_id:1, groups:{}, username:admin, default_permission:A, auth:pw}, 7:AUTH: is_authentication_required=1, is_authenticated=1, 8:REQUEST: method=post, path={0:plupload, 1:4f08082e68077}, ip=127.0.0.1, params={name:制作现代表.jpg, chunk:0, chunks:1, jt_classic2_tpl:jt_classic2, jt_classic2_screen:auto, jt_classic2_layouts:, jt_classic2_direction:ltr, jt_classic2_menu:mega, e00531bcb8afe1811cab1b615ad0bbdd:e3246ed04aaa972f0c8c1bebaa1d72e9, MOLLIFY-SESSION:png4fcv38lk5fo0mr9ilnp1to3}, data=, 9:SERVICE (PluploadServices?): is_auth_required=1, 10:DB: select path from item_id where id='4f08082e68077', 11:DB: SELECT id, name, path FROM folder where id='2', 12:DB: select id from item_id where path='2:\\', 13:Upload temp dir: C:\Users\G2M~1.AGE\AppData?\Local\Temp\, 14:Uploading to C:\Users\G2M~1.AGE\AppData?\Local\Temp\制作现代表.jpg (0/1), 15:Content type: multipart/form-data; boundary=----pluploadboundary1325945398829, 16:PHP error #2, fopen(C:\Users\G2M~1.AGE\AppData?\Local\Temp\制作现代表.jpg) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Invalid argument (C:\Program Files\XAMPP\xampp\htdocs\Joomla-local\mollify\backend\plugin\Plupload\PluploadHandler?.class.php:72), 17:RESPONSE error {0:999, 1:Unexpected server error, 2:500} PHP error #2, fopen(C:\Users\G2M~1.AGE\AppData?\Local\Temp\制作现代表.jpg) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Invalid argument (C:\Program Files\XAMPP\xampp\htdocs\Joomla-local\mollify\backend\plugin\Plupload\PluploadHandler?.class.php:72)}
Help Please!!!!!!!!
Protocol error
Got malformed JSON response: {"result":{"authentication_required":true,"authenticated":false,"features":{"limited_http_methods":false,"file_upload":true,"folder_actions":true,"file_upload_progress":false,"zip_download":false,"change_password":true,"descriptions":true,"administration":true,"user_groups":true,"mail_notification":false,"retrieve_url":false,"folder_protection":false,"guest_mode":false},"plugins":,"plugin_base_url":"http:\/\/www.keranov85engineering.co.cc\/mollify\/backend\/plugin\/","version":"1.8.7.7","revision":1533}}