activeCollab: Failed to connect. Reason: Failed to load class 'Swift_1_SimpleCharacterReaderFactory' - activecollab

Details:
I am using activeCollab, have installed it on cPanel shared server.
Unable to send emails via native php mail function, even if i try to configure STMP i get the error. so i am not able to configure SMTP either.
Not sure where i am going wrong.
Version:
3.2.12
Error:
Failed to connect. Reason: Failed to load class 'Swift_1_SimpleCharacterReaderFactory'
Failed to send message. Reason: Failed to load class 'Swift_1_SimpleCharacterReaderFactory'

That is not a known issue, so we recommend that you upgrade to the latest stable release (3.3.18 at the moment). You can find the upgrade instructions here.
Upgrade should resolve the potential problem that you did not upload all the files properly, plus activeCollab 3.3 has auto-upgrade feature which will make similar error less likely to happen in the future.

Related

Mysql Percona 8 with PAM+SSSD+AD Authentication

Good afternoon everyone.
We are using MYSQL Percona 8 with PAM+SSSD+AD authentication.
Faced with the fact that authentication works well only on the machine where the server is installed, from the terminal console.
When connecting from any other machine, the error is:
ERROR 2059 (HY000): Authentication plugin ‘dialog’ cannot be loaded: /usr/lib/mysql/plugin/dialog.so: cannot open shared object file: No such file or directory
At first I thought the problem was in the native mysql client, so I installed Percona-client , it didn’t help, I tried to add dialog.so manually, which resulted in the error:
ERROR 2059 (HY000): Authentication plugin ‘dialog’ cannot be loaded: Incompatible client plugin interface
In the end, I came to the decision that the connection only starts working if percona-server-server is installed on the client machine.
I think this is an absurd solution or a bug, I don’t know.
Tell me how to transfer only the necessary module and make the client work without installing the entire server?
p.s By the way, even the latest DBeaver also cannot work with this, but in the process of torment, it turned out that if you select not "MySQL" but "MariaDB" when connecting, then it successfully connects via PAM. Perhaps this will help someone.
I probably managed to find a solution to a similar problem here for mariadb and redhat. But I don’t know how to build mysql percona client with these modules.
https://bugzilla.redhat.com/attachment.cgi?id=940720&action=diff
I had a similar issue and changed the plugin from "auth_pam" to "auth_pam_compat" and it resolved the issues with LDAP/PAM Stack authenticated users.
Found in a forum online - https://rimzy.net/category/authenticatin-plugin/
This issue is applicable to all plugins that require loading an external library at the client-side, including the PAM authentication plugin. In this case, you will get the error
ERROR 2059 (HY000): Authentication plugin 'dialog' cannot be loaded: /usr/local/Percona-Server-8.0.25-15-Linux.x86_64.glibc2.17/lib/plugin/dialog.so: cannot open shared object file: No such file or directory
Oracle-compatible auth_pam_compat plugin does not experience this issue, because, instead of
dialog.so
it uses the built-in
mysql_clear_password
plugin.

CodeIgniter's error log doesn't seem to report all errors

I'm currently creating a web application through linux OS (debian), using php7, codeIgniter 3, Nginx and Mysql.
Few months ago, all my PHP errors used to be reported in the default nginx log error (located at : /var/log/nginx/)
But recently, I have configured CodeIgniter in purpose to report those errors inside the folder of my application.
It seemed to work, because I noticed that my current errors were repported in this new log file.
However, "some" errors don't seem to be reported. For example, I have a form in my web application, running aswell with Javascript (ajax use). Once I send the form, I can notice in my browser's console an Error 500 (internal server error). However, this error is not reported in my error log file ! (and I already checked in the former log file belonging to Nginx, there's nothing too)
What am I supposed to do ?
Thanks you.

PHPStorm head method failed

Attempted to add a project from a server on a remote host. I can SSH & SFTP without PHPStorm in no prob. The first error I encounter is attempting to select my remote server; when I test the connect, it is successful. When I do not check off 'Don't check HTTP connection to server', I get:
Connection to 'Server' failed.
HEAD method failed for "ip address" with HTTP status 401.
If I enable Don't check HTTP connection to server, I can proceed and I am brought to a list of all directories on my remote server. I select my project as the project root, and attempt to download. Collecting files goes smoothly, and downloading goes by well until a particular file is reached. Error msg:
Downloading Project Files failed: failed to transfer file 'wireframes.scssc': channel is not opened.
I tried to exclude that directory from download, but it had no effect.
The apache server is configured with basic access authentication. I disabled mod_auth_basic (as confirmed in php.ini), but am still prompted for credentials even after an apache restart. This is second issue preventing me from exploring this potential solution. Any suggestions?
http://imgur.com/a/qGC1I
I had this same issue, to fix it I chose custom for deployment options and then added .sass-cache to the list of things in the "Exclude items by name" field.
I also had to close and re-open phpstorm or it would fail immediately after starting the download.

Configure Standalone Custom Registry in Clustered WebSphere Application Server

I have a problem with configuring standalone custom registry in WebSphere Application Server (Cluster environment). I have followed all steps from IBM manual:
I have implemented UserRegistry interface in DataBaseRegistry class
I have copied .jar to the lib/ext folder of WebSphere
I have assigned all necessary properties on Global Security page
and while trying to assign Standalone Custom Registry as current I got a following error:
Validation failed: Error occurred in RequiredModelMBean while trying to invoke operation getUsers
The funny part is that I followed all of those steps in a standalone version of WebSphere (not clustered) and it is working properly (so the problem is not in the code). Another thing is that there is nothing in the log files. I can see that getUsers is called and then no Exception or anything.
UPDATE: I resolved my problem. I was propably not 100% focused.
It tourned out that I forgot to copy additional jar with JDBC drivers to lib/ext that allow to connect to MSSQL.
LESSON LEARNED: Do not start important configuration work on Friday after lunch ;)

SQL Server and run asp page fails

I have a page on the server and i tried to run it like this article:
http://www.eggheadcafe.com/articles/20010328.asp
then I get an error:
Executed as user: NT AUTHORITY\NETWORK SERVICE. The step did not
generate any output. The step failed.
When I try to edit the script I get another error:
Creating an instance of the COM component with CLSID
{AA40D1D6-CAEF-4A56-B9BB-D0D3DC976BA2} from the IClassFactory failed
due to the following error: c001f011.
(Microsoft.SqlServer.ManagedDTS)
When I run the asp page manually it works fine! do you know what can be wrong?
I would apply the most recent service pack for SQL Server both to your server and to the workstation(s) where you use Management Studio. The error you mentioned has been fixed: http://connect.microsoft.com/SQLServer/feedback/details/557402/ssms-can-no-longer-create-or-edit-job-steps
This will fix the problem when you edit the job step in Management Studio. There are some other workarounds (e.g. re-register some DLL, or restart Management Studio), but those are only temporary. You can also disable UAC, but you may have that feature enabled for a reason. The real fix is to apply service packs / cumulative updates to fix the underlying code.
As for the error message from the job, there could be a number of things going on. Who is the owner of the job? Who is the user executing the VBScript? What exactly is the job doing?