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
MIT License
8.74k stars 463 forks source link

v1.1.0 broken clear cache button and wrong version showed on Dashboard #548

Closed PeopleInside closed 2 years ago

PeopleInside commented 2 years ago

Bug report

Error 1: On version v1.1.0 seems you forget that you introduced a clean cache button in the Dashboard so now seems is no more working also if a green confirmation message is showed, cache are not cleaned.

Error 2: The footer Dashboard showing version 1.0.18: this is wrong, version showed should be 1.1.0

PeopleInside commented 2 years ago

I see the version showed on the Dashboard should be correct V. 1.1.0 maybe in my install cache was not cleared yet? I fixed in the code the version so don't know why installing on localhost give me the old version in the Dashboard. Be sure this is not a bug present.

For the clean cache button in the Dashboard, is not working even show a green message. How I know? I edited some code and use this button to see edits, never work, need clean cache by SSH so changes are applied and showed.

vipin-shrivastava commented 2 years ago

@PeopleInside

We have made a fix for the cache-clear button, Please follow the below steps to update your project.

  1. Open Authentication.php in your project from the below path. Path: your_project_name/vendor/uvdesk/core-framework/Controller/Authentication.php
  2. After that open the update Authentication.php file from here.
  3. Now, Copy the updated Authentication.php file & paste it into your project Authentication.php file.

After making all the changes now try & let us know, If it is working fine or not.

PeopleInside commented 2 years ago

Seems still not working

vipin-shrivastava commented 2 years ago

@PeopleInside

Okay, we will check & update you soon

PeopleInside commented 2 years ago

Getting errors about that file when clean cache so check. I have also the issue (maybe I will open a new issue) that on Plesk, since you released the version 1.1.0 now every php command never work anymore. Before I was able to use for example the command:

php bin/console c:c

now I need use

/opt/plesk/php/8.1/bin/php bin/console c:c

so I need update all cronjobs also...

I suppose because you may introduced limitations for PHP 7.4 that is still the default system PHP in Plesk

vipin-shrivastava commented 2 years ago

@PeopleInside

We have again made a fix for the cache-clear button, Please follow the below steps to update your project.

  1. Open Authentication.php in your project from the below path. Path: your_project_name/vendor/uvdesk/core-framework/Controller/Authentication.php
  2. After that open the update Authentication.php file from here.
  3. Now, Copy the updated Authentication.php file & paste it into your project Authentication.php file.

After making all the changes now try & let us know, If it is working fine or not.

PeopleInside commented 2 years ago

I still get errors. I will send errors on ticket. Ticket 27630

PeopleInside commented 2 years ago

Seems fixed: https://github.com/uvdesk/core-framework/blob/7aa1edba144daf1e5fd0ff0c9018cfb264514dd5/Controller/Authentication.php