Server Errors and ProblemsLast updated: 15 June 2022
Occasionally when you first enable SSL on your server in your browser's console you might notice the following error:
Cross-Origin-request blocked: the Same Origin Policy disallows reading the remote resource at https://www.[YOUR_DOMAIN].net/index.php?option=com_docman&controller=scheduler. (Reason: CORS-header 'Access-Control-Allow-Origin' missing).
This is usually because some requests are made using SSL while others are not using SSL, this makes the Same Origin Policy error kick in.
This solution to this problem is very straight forward, simply change the parameter for Force HTTPS under your global configuration's Server tab (System > Global Configuration > Server > Server Settings) to Entire site.
DOCman does completely support international file names, but can not go beyond the support offered by the OS. Different OS'es handle this in different ways. For more info : http://evertpot.com/filesystem-encoding-and-php/
The problem with PHP/Windows is that Windows doesn't UTF-8 file names in combination with the PHP move_uploaded_file function. Please see following bug report : https://bugs.php.net/bug.php?id=47096
At present there is no solution for this issue. It's considered a limitation of Windows and the PHP API.
The FTP file manager in the Cpanel comes default without UTF-8 support and most webhosts do not enable UTF-8 for it. This can give you problems when you are uploading files that include international characters.
Workaround : Pack yours files in a zip or gzip archive. Upload them, and then unpack the archive using the web based file manager included with Cpanel. The web interface is purely utf-8.
This can prevent DOCman from loading properly and some of the issues you might encounter include:
- Your DOCman categories not being loaded in admin.
- The "Add Document" and "Add category" buttons redirecting you to the homepage of your website.
- The page freezing when you are trying to upload files.