uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
Open Software License 3.0
9.24k stars 464 forks source link

V -1.0.16 Email with some special charcater cause a fatal error. you cannot use for example support-depa@domain.ext #453

Open PeopleInside opened 3 years ago

PeopleInside commented 3 years ago

Bug report

Title

Just a quick sentence to brief your trouble with UVDesk or something associated with it. Please be calm, short and emphasize on points.

Issue Description

Description helps the developers to understand the bug. It describes the problem encountered or some after effect of some kind.

Preconditions

Please provide as detailed information about your environment as possible.

1. V -1.0.16

Today I start a new test installation for diagnose an existent issue: Email replies cause new ticket thread #397

The installation was done by using Softacolous installer.

After the installation is complete I added an email account in SwitftMail and on MailBox. When I go on the page Email Settings and change the default value support@localhost and other field than save the page show all green check and seems has saved content but, refreshing the page will made my customization loosed and again showed default value so I logged in the SSH to lunch the clear cache command:

php bin/console c:c

Here I get errors.

In ContainerBuilder.php line 1024:
  You have requested a non-existent service "swiftmailer.mailer".

SharedScreenshot

So I'm unable to install test instance using Softacolous and new installation.

PHP 7.4 Apache

PeopleInside commented 3 years ago

I installed UVdesk from SSH command line but the error and the issue is the same so seems is not a Softacolous issue: is not dependent on Softacolous install.

Nothing, I'm unable to install and setup a new instance of UVdesk 1. V -1.0.16 the error is always the same.

vipin-shrivastava commented 3 years ago

@PeopleInside

I am also using PHP v7.4 & Installed a fresh setup of the latest UVdesk v1.0.16.

Screenshot_10

Screenshot_9

Here, you can clearly see, I didn't get any error on running PHP bin/console c:c .

PeopleInside commented 3 years ago

1. Have you tried to setup an email address? You are in localhost, me are trying to configure a real web test situation where I need to be able to fetch emails.

I'm also able to login in UVdesk Dasboard without issues, the issue is that I cannot configure correctly UVdesk to accept email tickets!

There are different issues, the first is when user update email setting from web interface and refresh page, field are reset to the default value. I asked in a closed maybe issue to look into this, usually for solve this you need clean cache but due to the error I showed on SSH things are not working! The second is the SSH error when clean cache.

  1. What steps did you followed? I suppose SSH installation but you never configure an email address to receive tickets and don't know if you can do on localhost!
vipin-shrivastava commented 3 years ago

@PeopleInside I have already set up an email address & also run the refresh: mailbox command to fetch emails.

Screenshot_11

PeopleInside commented 3 years ago

Hum... I don't know how to resolve the errors issue as first I create a new UVdesk instance by using Softacolous installer. On second time I erased database and UVdesk folder and installed UVdesk using the SSH command.

Two installations, the same error showed on previous message. Why I get this errors, how I can resolve?

Without be able to do a new install I cannot continue to create the test UVdesk instance to made the UVdesk team resolve another issue https://github.com/uvdesk/community-skeleton/issues/397

vipin-shrivastava commented 3 years ago

@PeopleInside

you can do one thing for the test only. degrade PHP version to v7.3 and then try to set up & run PHP bin/console c:c . I think it should not give you any error.

PeopleInside commented 3 years ago

Maybe I found an issue now I need test if is this the cause. In my guide on my personal community I wrote a wrong email configuration sentence:

{domain.it:ext/imap/ssl}INBOX

so maybe this is the issue.

The correct one is

{mail.domain.ext:993/imap/ssl}INBOX

I will try this and if resolve I will close the issue. Closing for now as I think the issue can be this, if will be still present I will re-open. I will fix also my guide and check other guides as well.

Thank you.

PS: the fact user has to insert string can cause errors if forget how and what the right string to use is. A better results in the future can be have a dropdown menu or checkboxes to select

ports IMAP or POP

use of SSL

PeopleInside commented 3 years ago

Sorry, still have the issue. I need help to resolve this.

For private info about this issue you can check ticket #26247

allngth commented 3 years ago

Hi. We got this error yesterday. We fixed it by renaming mailer names using only latin letters and underscore in swiftmailer config file.

PeopleInside commented 3 years ago

@allngth thanks resolved.

I'm not allowed to use an email address like uvdesk-test

I supposed this is an issue I already reported in the past and I was thinking was closed and resolved. Please fix this issue if can be possible!

Thanks

Thank you again for your help, I tried to remove the special characters but on my fist try I never resolved... maybe because need also edit something by FTP. Now works.

I will keep the issue opened, UVdesk team should close when can avoid this error.