Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
Hello,
I use the version 6.5.5 of Projeqtor
I have just installed the "screenCustomzation" V5.1 plug in. And the installation was done succesfully.
But when i try to change anything in a screen, and want to save my modifications an error message appear :
Technical issue occured possibly due to bad network connection.
Please try again.
If issue persists, please contact your administrator.
Contact your administrator.
(detailed error is reported in log file)
The is no error in the log file.
And i havn't any problem when i use the application to make change on objects like Project, Activites, etc...
Can you help me ?
Thank you
Check access rights.
PHP user must have write rights in projeqtor/model/custom folder.
Hello,
I have checked. PHP user has read and write rights on all projeqtor directories.
But, i have made more tests, and actualy, only one thing not works. I can change existing field's general properties, i can add new fields, but i can't modify fields attributes for types, states and profiles.
Have you an idea ?
Thank you.
1) clean browser cache
2) test and check for errors in browser console (F12) and report any here
3) when request generating error is identified, go to "network" tab in browser dev tool (F12) and post here response for erroneous request
In browser console, there is an error :
"Unable to load ../plugin/screenCustomization/screenCustomizationSaveExtraHiddenType.php?destinationWidth=788.16&destinationHeight=0&isIE=11 status: 500"
Note : I have checked the file screenCustomizationSaveExtraHiddenType.php. It is present, in the right place, with all read/write rights
And in the network tab, there is no more informations. Server only reply with a 500 HTTP error
HTTP/1.1 500 Internal Server Error
For error 500, possibly you can find an error in Apache Error log file.
Please report error.
Hello,
I use Microsoft IIS to host the application.
A have enable logging, but there is no more informations than HTTP Code 500.
I have tried to call directly the script screenCustomization/screenCustomizationSaveExtraHiddenType.php, and i have an 500 error too.
The error seems to be linked to the line 148 : $extraList=(new ExtraReadonlyField())->getSqlElementsFromCriteria($crit);
There is a log line just before : traceLog("dupplicate entry in extrareadonlyfield for scope=$hideScope, class=$objectClass, idType=$idType, col=$col");
I have checked the table extrareadonlyfield, it is empty.
Have you another idea ?
Thanks
You should have somme errors on IIS Log file.
Most possibly it is access right to folders that may be in cause.
To test, try and give wide write access (to anyone) to whole projeqtor web folder structure.
I have found this error in the php error log :
[26-Feb-2018 13:58:20] PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in E:ApplicationsprojeqtorpluginscreenCustomizationscreenCustomizationSaveExtraHiddenType.php on line 115
There is already all rights for everyone on the application directory.
Thank you
What is your version of PHP ?
What is your version of ScreenCustomization plugin ?
PHP v 5.3.1
ScreenCustomization v 5.1
Projeqtor 6.5.5
I'm afraid the plugin is not compatible with PHP 5.3
Do you have opportunity to mligrate to PHP 5.6 or 7.0 ?
(PHP 5.3 is more than 8 years old, and may contain many security leaks)
We will try and fix this issue on Screen Customization, without being able to be sure it will work because it becomes almost impossible to install old PH 5.3 (I tried to, but php 5.3 is not compatible with Apache 2.4, and reverting may corrupt my dev env.)
NB : it is likely that ProjeQtOr V7.0 will require at least PHP 5.6
No, we can't upgrade the PHP version on this server.
Note : if you replace line 115 and 148 in the file by :
$newExtraHiddenField = new ExtraHiddenField();
$extraList=$newExtraHiddenField->getSqlElementsFromCriteria($crit);
Instead of
$extraList=(new ExtraHiddenField())->getSqlElementsFromCriteria($crit);
It will work on PHP 5.3.x
Hi,
It is the fix we have also found.
Glad to know it works on PHP 5.3 (could not test it on this version of PHP)
Next version of plugin will be deployed with this fix.