Forum

[SOLVED] Since upgr...
 
Notifications
Retirer tout

[SOLVED] Since upgrade to 6.0.5 not able to save any data. Always gets Technical Error

31 Posts
3 Utilisateurs
0 Reactions
31.8 {numéro}K Vu
(@gnduser)
Posts: 42
Active Member
 

Uninstalling php-mbstring module and test it.


 
Posté : 26 Jan PM 13:011
(@iconic)
Posts: 280
Active Member
Début du sujet
 

I am getting following error.
ERROR : Declaration of ActivityMain::getStaticColCaptionTransposition() should be compatible with SqlElement::getStaticColCaptionTransposition($fld = NULL) in ActivityMain.php

I can not remove php-mbstring as it is used by another website.


 
Posté : 28 Jan PM 15:011
(@babynus)
Posts: 14952
Membre Admin
 

There is not such issue in community version.

Maybe you changed some code of unziping was not correct.


 
Posté : 28 Jan PM 16:011
(@iconic)
Posts: 280
Active Member
Début du sujet
 

I am 100% sure that no one changed code and unzipping was done on server so there should not be any mistake.


 
Posté : 30 Jan AM 09:011
(@babynus)
Posts: 14952
Membre Admin
 

Can you please search for existing ActivityMain.php file in whole project structure.
Where do you find it ?

Also show definition of function getStaticColCaptionTransposition() in files
=> /model/ActivityMain.php
=> /model/persistence/SqlElement.php

What is you version of PHP ?


 
Posté : 30 Jan AM 11:011
(@iconic)
Posts: 280
Active Member
Début du sujet
 

I can see two ActivityMain.php files.
1. /model/ActivityMain.php
2. /model/custom/ActivityMain.php

/model/ActivityMain.php
protected function getStaticColCaptionTransposition($fld=null) {
protected function getStaticColCaptionTransposition($fld=null) {

return self::$_colCaptionTransposition;

}

/model/custom/ActivityMain.php
protected function getStaticColCaptionTransposition($fld) {
return self::$_colCaptionTransposition;
}

/model/persistance/SqlElement.php
protected function getStaticColCaptionTransposition($fld=null) {

return array();

}

Installed php version is 5.6


 
Posté : 31 Jan AM 06:011
(@babynus)
Posts: 14952
Membre Admin
 

/model/custom/ActivityMain.php is not part of ProjeQtOr.
Maby you copied it for tests.
There should never be any XxxxMain.php in /model/custom.
Just remove it.


 
Posté : 31 Jan AM 10:011
(@iconic)
Posts: 280
Active Member
Début du sujet
 

I removed the file mentioned by you. Now it logs me in and show all activities and all details however, whenever I try to save anything I get following error.

Technical issue occured possibly due to bad network connection.
Please try again.
If issue persists, please contact your administrator.
Contact your administrator.

Also when i try to add any note it shows following error.
ERROR : noteRefType parameter not found in REQUEST
Contact your administrator.


 
Posté : 1 Fév AM 07:022
(@babynus)
Posts: 14952
Membre Admin
 

First be sure to clean browser cache.

Then, report any erro reported in projeqtor log file, in apache error log file oir in browser console.


 
Posté : 1 Fév AM 11:022
(@gnduser)
Posts: 42
Active Member
 

Remove and reinstall again php-mbstring. I had the same trouble and that solved the issue.

Test it, please.


 
Posté : 1 Fév PM 13:022
(@iconic)
Posts: 280
Active Member
Début du sujet
 

I tried removing php-mbstring from easyapache4 and installed it again but still no luck.
I tried to find any errors generated by ProjeQtOr. Cpanel by default set it up like wherever error occurs it logs it into error_log file in folder but there is no such file showing any kind of error.

Is there any way we can check log to find out what is going on? Also I doubt my php.ini config is not according to ProjeQtOr requirment, so is there any way I can find out which config settings needs to be changed?


 
Posté : 15 Fév AM 06:022
(@babynus)
Posts: 14952
Membre Admin
 

You must check projector log file in projeqtor/files/logs and apache error log file (may content explanations)


 
Posté : 16 Fév AM 00:022
(@iconic)
Posts: 280
Active Member
Début du sujet
 

Okay, finally found error in logs, I am receiving following error most of time.

Error on SqlElement to get 'idTargetVersion' for Class 'Activity' : field 'idTargetVersion' not found in Database.


 
Posté : 16 Fév AM 07:022
(@babynus)
Posts: 14952
Membre Admin
 

Do you have some customized screen ?
If so, get to /model/custom, open Activity.php file and remove line with idTargetVersion (it should be something like public $idTargetVersion;
(this field was renamed to idTargetProductVersion)


 
Posté : 16 Fév PM 20:022
(@iconic)
Posts: 280
Active Member
Début du sujet
 

I commented line public idTargetVersion from /model/custom but now i am receiving following error

Error on SqlElement to get 'idTargetVersion' for Class 'Activity' : field 'idTargetVersion' not found in Database.

I did not see updated field name idTargetProductVersion. I also tried clearing cache.
The database version and application version is 6.0.6.
One more thing I do not have any kind customization done in software as per my knowledge so I believe we do not have customized screen so what to do?
In /model/custom I have two files which are _securityCheck.php and Activity.php


 
Posté : 17 Fév AM 08:022
Page 2 / 3
Share:
Retour en haut