Forum

V8.6.1 No display i...
 
Notifications
Retirer tout

V8.6.1 No display in Global Planning

11 Posts
3 Utilisateurs
0 Reactions
4,372 Vu
(@rainbow)
Posts: 84
Active Member
Début du sujet
 
[#7105]

Hi,

I encountered an issue after upgrading from V8.6.1 to V8.6.6, which there is no display of project/task in the Global Planning menu. Would you kindly advise?

Thanks,
Rainbow


 
Posté : 23 Déc AM 10:1212
(@babynus)
Posts: 14952
Membre Admin
 

Please post errors you'll find in projetor log file or in browser console.


 
Posté : 24 Déc PM 20:1212
(@rainbow)
Posts: 84
Active Member
Début du sujet
 

Hi Babynus,

I attached the log files for your reference.

Thanks,
Rainbow


 
Posté : 26 Déc AM 06:1212
(@babynus)
Posts: 14952
Membre Admin
 

Try and add

$paramDbCollation='utf8_general_ci';

in file parameters.php


 
Posté : 27 Déc PM 17:1212
(@rainbow)
Posts: 84
Active Member
Début du sujet
 

Hi Babynus,

Thanks for your reply. Unfortunately, it still doesn't work. I checked that the error on collation disappeared, yet still other errors exist. I attached the error log for your reference. I would also like to ask whether there is any impact that I changed the projeqtor from a later version 8.6.6 to 8.6.1?

Thanks,
Rainbow


 
Posté : 28 Déc AM 11:1212
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Issue is still the same.
In fact the fix may be opposite from proposed :
Change added line to

$paramDbCollation='latin1';

 
Posté : 28 Déc PM 12:1212
(@rainbow)
Posts: 84
Active Member
Début du sujet
 

I changed the add line to

$paramDbCollation='latin1';

yet still no item is displayed.

I also tried to add a new activity in the menu, yet the issue still persists.

It seems like the collation is not recognised. I extracted parts of the error codes below and attached full error log.

2020-12-28 23:24:58.053 ** ERROR ** [V8.6.1]    Strack trace :
2020-12-28 23:24:58.056 ** ERROR ** [V8.6.1]    #0 Sql->query called at [C:UsersRainbowDownloadsWnmphtmlprojeqtortooljsonPlanning.php:286]
2020-12-28 23:24:58.058 ** ERROR ** [V8.6.1]    #1 include called at [C:UsersRainbowDownloadsWnmphtmlprojeqtorviewglobalPlanningList.php:534]
2020-12-28 23:24:58.061 ** ERROR ** [V8.6.1]    #2 include called at [C:UsersRainbowDownloadsWnmphtmlprojeqtorviewglobalPlanningMain.php:79]
2020-12-28 23:25:02.369 ** ERROR ** [V8.6.1] Exception-[HY000] SQLSTATE[HY000]: General error: 1273 Unknown collation: 'latin1'
2020-12-28 23:25:02.372 ** ERROR ** [V8.6.1]    For query : SELECT planningelement.*

Will the different version switching has any impact on the database such that changing to an older version will cause such impact?
Before such error, in V8.5.1 there is no such error. After I updated to V9.0.0, I encountered some issues, which I then tried to change to an older version V8.6.6, yet no display in global planning. I then tried to change to V8.6.1, yet the issue still persists.

Thanks!


 
Posté : 28 Déc PM 18:1212
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Possibly the source comes from your migration process.
You installed a new DB which does not use that same collation as the previous one.
Migrating from DB that has no issue will not introduce any issue.


 
Posté : 28 Déc PM 19:1212
(@rainbow)
Posts: 84
Active Member
Début du sujet
 

Hi Babynus,

Thanks for your reply. I tried to use a new database that works at v8.5.5 and update to v8.6.6 but still didn't work. 

I found out that the parameter script (as below) in V8.6.6 is missing after upgrade from v8.5.5 to v8.6.6. I suspect in the version update script, scripts on the parameter update are missing.

$enforceUTF8='1'; 

After adding the script above, the global planning display works. I suspect updating the version update script for UTF8 settings would prevent similar cases in the future version updates. Hope it helps others who face the same issue!

Thanks,
Rainbow


 
Posté : 8 Jan PM 13:011
(@k-kouassi)
Posts: 3
Active Member
 

where i execute the command
$enforceUTF8='1';


 
Posté : 23 Sep PM 15:099
(@babynus)
Posts: 14952
Membre Admin
 

where i execute the command
$enforceUTF8='1';

We won't reply to questions you add on an existing thread and that not relative to this tread. Please open new thread / subjet.


 
Posté : 23 Sep PM 16:099
Share:
Retour en haut