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.
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'
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.
Lign 193 to 214 of saveattachement.php:
debugLog(" paramètres récupérés");
$result="";
$user=$_SESSION['user'];
Sql::beginTransaction();
$attachement=new Attachement();
foreach ($uploadedFileArray as $uploadedFile) {
debugLog(" traitement fichier ".$uploadedFile['name']);
$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;
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'
Check for error in browser console
Which browser are you using ?
firefox
message on error browser:
"Error parsing server result:" SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Trace de la pile :
.cache["dojox/form/uploader/_HTML5"]/</<.createXhr/xhr.onreadystatechange<@ http://192.168.100.199/projeqtor/external/dojo/projeqtorDojo.js?version=V4.5.6:15:422125
.cache["dojo/_base/lang"]/</lang.hitch/<@ http://192.168.100.199/projeqtor/external/dojo/dojo.js?version=V4.5.6.0113:15:89971
On Firefox, to open Browser console just hit [F12] key and then select "console" tab.
message on error browser:
"Error parsing server result:" SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Trace de la pile :
.cache["dojox/form/uploader/_HTML5"]/</<.createXhr/xhr.onreadystatechange<@ http://192.168.100.199/projeqtor/external/dojo/projeqtorDojo.js?version=V4.5.6:15:422125
.cache["dojo/_base/lang"]/</lang.hitch/<@ http://192.168.100.199/projeqtor/external/dojo/dojo.js?version=V4.5.6.0113:15:89971
So, you have to go to the "Network" tab, text again, search for "saveAttachment.php" line, select it and in the right part, select "response" tab.
What is displayed here ?
I have the same problem 🙁
Attached file should fix the issue (unzip it in /tool folder).
Please try and tell result.
there is no attachment 🙁 or im going blind
is it the same file ?
yes

