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.

[SOLVED] Impossible...
 
Notifications
Clear all

[SOLVED] Impossible to assign a resource to an activity

15 Posts
2 Users
0 Reactions
9,543 Views
 rey
(@reyseb13)
Posts: 8
Active Member
Topic starter
 
[#2807]

We use PROJEQTOR since 4 years to plan a different project like mechanical, electrical project

In this new version (V5.1.4), when I click to the "+" to add a new assign in an activity, I cant choose a resource.
I have the same problem when I would like to change a hold assign in a hold activity (I cant change or add a new assign).

Can you help me to resolve this problem ?
For information, we haven't this problem in the last version.


 
Posted : 10 Dec 2015 20H51
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

First, please try and clean browser cache and test again.

If issue is still reproduced, please check browser console for error and report any error.
Also check for errors in log file.

Also please give more hints :
- what was prevoous version ?
- which browser do you use ?


 
Posted : 10 Dec 2015 20H58
 rey
(@reyseb13)
Posts: 8
Active Member
Topic starter
 

thank you to your fast answer,

I already cleaned my browser cache (CTRL F5) and I have the same problem but it's not just me, it's all my time and we use different browser and not on the same localisation.

The last good version is V4.5.6 and now me a use internet explorer or Google Chrome (same problem for each browser)
Excuse me but I don't understand
"Also check for errors in log file" ?
How I can check the log file on my browser ?


 
Posted : 10 Dec 2015 21H26
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

How I can check the log file on my browser ?

On admin screen, since V5.0, you have access to log files (bottom right part of the screen)


 
Posted : 10 Dec 2015 21H42
 rey
(@reyseb13)
Posts: 8
Active Member
Topic starter
 

Hi, you can find on the picture (i think) the different error when i try to add a resource.


 
Posted : 11 Dec 2015 11H44
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Please check the log file of projeqtor (not only browser console).

Go to Parameter > Admininstration
Click on bottom right button : "show log files list"
For latest log file, click donwload link.
Post log file here.


 
Posted : 11 Dec 2015 12H32
 rey
(@reyseb13)
Posts: 8
Active Member
Topic starter
 

Ok I think now it's the good file log

thank you


 
Posted : 11 Dec 2015 13H20
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

OK,
You have one single error : allow_url_fopen is Off
This is not blocking, to avoid to trace this error you just have to change global parameter "Check for new version" to "No".

But this is no the source of your issue.

Did you run test case with error this morning ?
I really think there should be an error lgged.
Could you reproduce error and post again log file or post older log file when error occured ?


 
Posted : 11 Dec 2015 14H04
 rey
(@reyseb13)
Posts: 8
Active Member
Topic starter
 

A confirm you the log file don't change when I try to assign a resource to an activity.

I just perceive that I can assign a resource to a project but still not to an activity.

Do you think it's possible for me to contact you by phone to try to resolve this problem ?


 
Posted : 11 Dec 2015 14H39
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Do you think it's possible for me to contact you by phone to try to resolve this problem ?

Sorry, direct contact is reserved to subscribers of Support Service.


 
Posted : 11 Dec 2015 14H40
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Open debug tools (F12).
Move to tab "Network"
Replay test case with error.
In "network" tab, on left part, select latest "jsonList.php" request.
On right part, select the response tab.
Copy response here.


 
Posted : 11 Dec 2015 15H10
 rey
(@reyseb13)
Posts: 8
Active Member
Topic starter
 

{"identifier":"id",label: "name", "items":[{id:"20", name:"xxxxxxxxxxx"}, {id:"10", name:"xxxxxxxxxx"}, {id:"30", name:"xxxxxxxxxx"}, {id:"6", name:"xxxxxxxxxx"}, {id:"8", name:"xxxxxxxxxx"}, {id:"11", name:"xxxxxxxxxx"}, {id:"17", name:"xxxxxxxxxx"}, {id:"4", name:"xxxxxxxxxx"}, {id:"13", name:"xxxxxxxxxx"}, {id:"9", name:"xxxxxxxxxx"}, {id:"15", name:"xxxxxxxxxx"}, {id:"22", name:"Ressource de taux A"}, {id:"23", name:"Ressource de taux B"}, {id:"24", name:"Ressource de taux C"}, {id:"25", name:"Ressource de taux D"}, {id:"34", name:"Ressource taux "NUL""}, {id:"7", name:"xxxxxxxxxx"}, {id:"5", name:"xxxxxxxxxx"} ] }

I have just replace the name of all resource by "xxxxxxxxxx"


 
Posted : 11 Dec 2015 16H07
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Remove the double quotes for Resource with name :

Ressource taux "NUL"

It will work better.

I'll find a fix for this.


 
Posted : 11 Dec 2015 16H41
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Here is the fix : in /projeqtor/tool/jsonList.php, replace line 218 from

echo '{id:"' . $id . '", name:"'. $name . '"}';

to

echo '{id:"' . $id . '", name:"'. htmlEncodeJson($name) . '"}';

Fix will be included in V5.2.0


 
Posted : 11 Dec 2015 16H52
 rey
(@reyseb13)
Posts: 8
Active Member
Topic starter
 

:woohoo: :woohoo: THANKKKKKKKKKKKK
it's OK
We can work


 
Posted : 11 Dec 2015 16H59
Share:

Scroll to Top