Forum

[Screen customizati...
 
Notifications
Retirer tout

[Screen customization plugin] Cannot delete any custom field created

14 Posts
2 Utilisateurs
0 Reactions
4,365 Vu
(@cpt_jabberwock)
Posts: 56
Trusted Member
Début du sujet
 
[#8333]

Hello,

For some time now, I have been unable to delete any field I created from the Customization plugin

I can change their display name, values, hide them, etc.

But I cannot delete them in any way, as the screen doesn't seem to run anything when i click delete and Yes (no loading circle in the middle of the screen)

Which means that If i mess up a field or I need to change one into another later, I can only hide them, and that is not really what I would want.

I've tried different browsers, just in case, but its the same.

Can you look into this ?
Thanks


 
Posté : 27/06/2022 10:54 am
(@babynus)
Posts: 14952
Membre Admin
 

Which version of projeqtor do you use ?
Which version of Screen Customization plug-in do you use ?
Do you have any error in log file when you try to delete a field ?


 
Posté : 27/06/2022 11:59 am
(@cpt_jabberwock)
Posts: 56
Trusted Member
Début du sujet
 

I'm on the V9.5.4
and Screen customization is on the V6.1

I updated it not long ago

Which log file should i look into ?

Thanks


 
Posté : 27/06/2022 12:10 pm
(@babynus)
Posts: 14952
Membre Admin
 

projeqtor log file.
You cann access it through Administration page.


 
Posté : 27/06/2022 12:36 pm
(@cpt_jabberwock)
Posts: 56
Trusted Member
Début du sujet
 

I only have this when i click on the maintenance log in Administration

2022-06-27 08:47:28.310 ===== TRACE ===== NEW CONNECTED USER 'me'
2022-06-27 10:19:13.923 ===== TRACE ===== DISCONNECTED USER 'me'
2022-06-27 11:04:50.839 ===== TRACE ===== NEW CONNECTED USER 'me'


 
Posté : 27/06/2022 1:11 pm
(@babynus)
Posts: 14952
Membre Admin
 

Even after producing error for deleting field ?


 
Posté : 27/06/2022 2:14 pm
(@cpt_jabberwock)
Posts: 56
Trusted Member
Début du sujet
 

I click on delete, pop up happens, i click OK

Then nothing happens

This is the very first field that it happened to:
 


 
Posté : 27/06/2022 3:27 pm
(@babynus)
Posts: 14952
Membre Admin
 

Then you should have error logged in browser console.
Please report it.


 
Posté : 27/06/2022 3:56 pm
(@cpt_jabberwock)
Posts: 56
Trusted Member
Début du sujet
 

here is the log in console mode after clicking on OK in the prompt 

 

There are more dropdown from the yellow and red messages if you want


 
Posté : 27/06/2022 4:15 pm
(@babynus)
Posts: 14952
Membre Admin
 

What is the name of the field you try to delete ?
I see "comminvitationdesc", is that the name of the field ?*

NB : you have an error 500.
This means you may find errors logged in apache error log file or in php error log file.


 
Posté : 27/06/2022 4:29 pm
(@cpt_jabberwock)
Posts: 56
Trusted Member
Début du sujet
 

There are quite a few i would like to delete as i want to move those field to another screen (activities)
And "comminvitationdesc" is one of those
It is a varchar of 50 character limit

Here is the Red one more developped

 


 
Posté : 27/06/2022 5:13 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

There is no explicit issue on browser console.
Only error 500, meaning there is a server error.

Could you please look for errors logged in Apache error log or in PHP error log.


 
Posté : 28/06/2022 4:26 pm
(@cpt_jabberwock)
Posts: 56
Trusted Member
Début du sujet
 

Hello,
I had this error while watching the Apache error log

[Thu Sep 22 10:47:54.009767 2022] [:error] [pid 8505] [client 172.25.26.17:37198] PHP Fatal error: Cannot declare class UserMain, because the name is already in use in /var/www/html/projeqtor/model/UserMain_old20210628.php on line 0, referer: https://projeqtor.xxxxxxxx.xx/view/main.php

For some reason, the Projeqtor used "UserMain_old20210628.php" while having userMain.php just under it

Renaming the old file to ".php.back" and restarting Apache fixed the problem

While I'm searching for why it still used an old file, the suppression of custom fields works again now.

Thank you


 
Posté : 22/09/2022 1:04 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,
I checked : this is not a file from Projeqtor deployment.
This must have been old backup for a file from technical intervention.

Glad to know you fixed the issue.


 
Posté : 22/09/2022 1:27 pm
Share:
Retour en haut