Forum

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.

V6.2.3 Unable to se...
 
Notifications
Clear all

V6.2.3 Unable to see elements details

8 Posts
2 Users
0 Reactions
7,782 Views
(@kimuji)
Posts: 4
Active Member
Topic starter
 
[#4323]

After upgrading from V6.0.7 to V6.2.3
We are now unable to view the details of any kind of elements

All we get is this popup error :
"Une erreur technique est survenue probablement liée à une mauvaise connexion réseau.
Veuillez réessayer votre dernière opération.
Si le problème persiste, merci de contacter votre adminsitrateur.
Contactez votre administrateur
(l'erreur détaillée est consignée dans le fichier de log)"

Log file doesn't log anything, even with $logLevel='4';


 
Posted : 03 May 2017 19H06
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

1) clean browser cache and retry
2) post errors logged in browser console


 
Posted : 03 May 2017 19H07
(@kimuji)
Posts: 4
Active Member
Topic starter
 

Checked Chrome and got:
http://10.5.254.205/projeqtor.6.2.3/view/objectDetail.php?destinationWidth=899&destinationHeight=467&isIE= 500 (Internal Server Error)

i checked apache error_log and got :
[Wed May 03 17:13:14 2017] [error] [client 10.5.96.74] PHP Parse error: syntax error, unexpected '[' in /var/www/html/projeqtor.6.2.3/view/objectDetail.php on line 1573

// ADD BY Marc TABARY - 2017-02-22 - RESOURCE VISIBILITY (list teamOrga)
            // Special case for idResource, idLocker, idAuthor, idResponsive
            // Don't see or access to the resource if is not visible for the user connected (respect of HabilitationOther - teamOrga)
            $arrayIdSpecial = ['idResource','idLocker', 'idAuthor', 'idResponsive']; // <=== LINE 1573
            if (in_array($col,$arrayIdSpecial)) {
                $idList = getUserVisibleResourcesList(true, "List");
                if (!array_key_exists($val, $idList)) {
                    $displayComboButtonCol=false;
                    $displayDirectAccessButton=false;
                }
            }
// END ADD BY Marc TABARY - 2017-02-22 - RESOURCE VISIBILITY (list teamOrga)

 
Posted : 03 May 2017 19H17
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

What is your PHP version ?


 
Posted : 03 May 2017 19H33
(@kimuji)
Posts: 4
Active Member
Topic starter
 

PHP 5.3.3


 
Posted : 03 May 2017 19H34
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

It seems that syntax used is valid only for PHP 5.4 and over.

Replace line 1573 in view/objectDatail.php from

            $arrayIdSpecial = ['idResource','idLocker', 'idAuthor', 'idResponsive'];

to

            $arrayIdSpecial = array('idResource','idLocker', 'idAuthor', 'idResponsive');

 
Posted : 03 May 2017 19H40
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Patch V6.2.4 deployed 😉


 
Posted : 03 May 2017 20H43
(@kimuji)
Posts: 4
Active Member
Topic starter
 

Working fine !
Thanks 🙂


 
Posted : 04 May 2017 11H21
Share:

Scroll to Top