View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Error External Shortcut - ProjeQtOr
 
 

Error External Shortcut

More
04 May 2015 09:11 #1 by Durou C
I have a problem with a external shortcut link,
this what I have in the log file:

2015-05-04 09:08:15 ***** ERROR ***** ERROR *****
2015-05-04 09:08:15 ***** ERROR ***** on file '/var/www/projeqtor/tool/saveAttachement.php' at line (199)
2015-05-04 09:08:15 ***** ERROR ***** cause = Illegal string offset 'name'

Please Log in or Create an account to join the conversation.

More
06 May 2015 19:56 #2 by babynus
Replied by babynus on topic Error External Shortcut
Hi,

Please comment all debugLog() calls in /tool/saveAttachement.php (including the one on line 199 which raises the error).
Issue is fixed on V5.0.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
02 Jun 2015 11:45 #3 by Durou C
Replied by Durou C on topic Error External Shortcut
Lign 193 to 214 of saveattachement.php:

debugLog(" paramètres récupérés");
$result="";
$user=$_SESSION;
Sql::beginTransaction();
$attachement=new Attachement();
foreach ($uploadedFileArray as $uploadedFile) {
debugLog(" traitement fichier ".$uploadedFile);
$attachement=new Attachement();
if (! $error) {
if ($refType=="Resource") {
// To avoid dupplicate image (if 2 users save picture on same time)
$attachement->purge("refType='Resource' and refId=".$refId);
}
$attachement->refId=$refId;
$attachement->refType=$refType;
$attachement->idUser=$user->id;
$ress=new Resource($user->id);
$attachement->idTeam=$ress->idTeam;
if ($idPrivacy) {
$attachement->idPrivacy=$idPrivacy;
} else if (! $attachement->idPrivacy) {
$attachement->idPrivacy=1;

Please Log in or Create an account to join the conversation.

More
02 Jun 2015 12:12 #4 by babynus
Replied by babynus on topic Error External Shortcut
You'll find attached fixed file.

Babynus
Administrator of ProjeQtOr web site
Attachments:

Please Log in or Create an account to join the conversation.

More
02 Jun 2015 12:41 - 02 Jun 2015 12:45 #5 by Durou C
Replied by Durou C on topic Error External Shortcut
error again ...
and no error on the log file:

2015-06-02 08:33:54 ===== TRACE ===== NEW CONNECTED USER 'DEP'
2015-06-02 08:41:05 ===== TRACE ===== DISCONNECTED USER 'DEP'
2015-06-02 08:46:33 ===== TRACE ===== NEW CONNECTED USER 'LTA'
2015-06-02 08:59:30 ===== TRACE ===== NEW CONNECTED USER 'DEP'
2015-06-02 09:55:17 ===== TRACE ===== NEW CONNECTED USER 'CHD'
2015-06-02 12:07:38 ===== TRACE ===== NEW CONNECTED USER 'BEG'
2015-06-02 12:16:23 ===== TRACE ===== DISCONNECTED USER 'BEG'
2015-06-02 12:16:28 ===== TRACE ===== NEW CONNECTED USER 'BEG'
2015-06-02 12:18:26 ===== TRACE ===== DISCONNECTED USER 'BEG'
2015-06-02 12:30:19 ===== TRACE ===== DISCONNECTED USER 'DEP'
2015-06-02 12:30:23 ===== TRACE ===== NEW CONNECTED USER 'DEP'
2015-06-02 12:35:53 ===== TRACE ===== DISCONNECTED USER 'DEP'
2015-06-02 12:38:41 ===== TRACE ===== NEW CONNECTED USER 'DEP'
Last edit: 02 Jun 2015 12:45 by Durou C.

Please Log in or Create an account to join the conversation.

More
02 Jun 2015 13:21 #6 by babynus
Replied by babynus on topic Error External Shortcut
Check for error in browser console

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.031 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.