Forum

[SOLVED] Settng fun...
 
Notifications
Retirer tout

[SOLVED] Settng function to ressources fails

11 Posts
2 Utilisateurs
0 Reactions
7,647 Vu
(@louisc)
Posts: 58
Estimable Member
Début du sujet
 
[#5322]

Hi,

I want to add financial management with Projeqtor. Until now this has not been managed by Projeqtor but by our internal ERP.

Now that I want to manage financial aspects with Projeqtor, I added default cost by function, and would like to add a function to each ressource. But when doing that, the system works a lot and finishes with an error message :

It doesn't seem to be related to a network issue, and I could not find anything related to this error in the logs.
I retried on other ressources and the issue is the same.

How can I put this Financial management in place in that case ?

Thanks for your help !


 
Posté : 01/08/2018 5:28 pm
(@babynus)
Posts: 14952
Membre Admin
 

Please post error log file


 
Posté : 01/08/2018 8:30 pm
(@louisc)
Posts: 58
Estimable Member
Début du sujet
 

Hi Pascal,

Please find it attached. Nothing related to the error I got (which occured around 15h00 for the 1st trial).


 
Posté : 02/08/2018 11:18 am
(@babynus)
Posts: 14952
Membre Admin
 

You are right, bo error on log file explains the issue.
Please check browser console.

NB : be sure to clean browser cache before testing.


 
Posté : 03/08/2018 8:34 pm
(@louisc)
Posts: 58
Estimable Member
Début du sujet
 

Hi,

Sorry for late answer, I was off for holidays.
I tried again this morning, after having cleared the cache (Microsoft Edge), and the result is the same. Nothing appears in the browser console, nor in the log file (no ERROR this day, only DEBUG and TRACE info about connection and disconnection of users).

It seems you have an idea of the issue with the previous log file. What should I do or modify to advance on this topic ?

Thanks for your return.


 
Posté : 28/08/2018 11:56 am
(@babynus)
Posts: 14952
Membre Admin
 

No, error log file does not explain issue.
There must be an issue on console.

Maybe it's hidden.
Open network tab, play issue, look for latest request to PHP file (except checkAlert), go to tab response and post content here.


 
Posté : 28/08/2018 9:52 pm
(@louisc)
Posts: 58
Estimable Member
Début du sujet
 

Hi Pascal,

Here are the captures of the Network tab :


 
Posté : 29/08/2018 11:15 am
(@babynus)
Posts: 14952
Membre Admin
 

What I need is content of tab "Corps" for one of the request with return status 500 (in red in the list)


 
Posté : 29/08/2018 11:22 am
(@louisc)
Posts: 58
Estimable Member
Début du sujet
 

Hi Pascal,

Here it is. Both requets have the same. Answer is empty in both cases.


 
Posté : 29/08/2018 12:33 pm
(@babynus)
Posts: 14952
Membre Admin
 

OK, response is empty.
So only possible of information is Apache Error Log file.
Please search for error at corresponding time in the log file and post it here.


 
Posté : 29/08/2018 2:41 pm
(@louisc)
Posts: 58
Estimable Member
Début du sujet
 

Hi Pascal,

Looking at the error log from Apache, it was linked to a timeout :
PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/projeqtor/tool/projeqtor.php on line 2848

I updated my php.ini file with max_execution_time = 90 and now no more error.

Thanks !


 
Posté : 29/08/2018 5:56 pm
Share:
Retour en haut