View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Error in log since migrated to V4.4 - Page 2 - ProjeQtOr
 
 

Error in log since migrated to V4.4

More
07 Aug 2014 10:39 #7 by Jean-Luc

babynus wrote: Hi,

It is strange to get this last error only once a day... (unless you use the "remember me function")
It confirms that setting header comes too late...

I deleted that info while you were replying, in fact that was wrong : that occured only one time, yesterday. Not today.

babynus wrote: As I don't reproduce, I'm almost sure it come from one of your changes.
It is very difficult to find such issues because it can be due just to some space or line break before a <?php tag.
This sends some data to the buffer, and it is then impossible to modify headers.

It is for instance possible that you introduced some caracters before the <?php tag in the parameters.php file.
As you get this issue on connection and on disconnection whatever the actual page, I would suspect some change in a php file very frequently userd (parameters.php, projeqtor.ph, html.php,...)

NOTHING has be changed out of php area !
And changed files are :
./model/persistence/Sql.php => only to comment condition to have enforceUTF8 active.
./view/objectDetail.php => to allow 'text' and 'mediumtext' (already made in june !) as shown in another topic.
… and the following for new data and internationalization. No new change since upgrade to 4.4:
/dossiers/internet/www_blary_eu/t4e/projeqtor/model/Client.php
/dossiers/internet/www_blary_eu/t4e/projeqtor/model/ClientType.php
/dossiers/internet/www_blary_eu/t4e/projeqtor/model/Contact.php
/dossiers/internet/www_blary_eu/t4e/projeqtor/model/Context.php
/dossiers/internet/www_blary_eu/t4e/projeqtor/model/ContextType.php
/dossiers/internet/www_blary_eu/t4e/projeqtor/model/PaymentType.php
/dossiers/internet/www_blary_eu/t4e/projeqtor/model/Project.php
/dossiers/internet/www_blary_eu/t4e/projeqtor/model/ProjectType.php
/dossiers/internet/www_blary_eu/t4e/projeqtor/model/Resource.php
/dossiers/internet/www_blary_eu/t4e/projeqtor/model/RiskLevel.php
/dossiers/internet/www_blary_eu/t4e/projeqtor/model/Type.php
/dossiers/internet/www_blary_eu/t4e/projeqtor/model/User.php

babynus wrote: I woukd recommend :
1) try with community version without any change to confirm this does not occur with community version

… I tried with original 'model' files, still occurs !
But I can’t remove updates in database. May be something in data added in migration ?
May be also a relation between these error messages and non-working "enforceUTF8" ?

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

More
07 Aug 2014 11:48 #8 by babynus

I deleted that info while you were replying, in fact that was wrong : that occured only one time, yesterday. Not today.

Still more weird

NOTHING has be changed out of php area !

Issue is in PHP area for sure.
The more suspicious ones are the one used on every page. In your list I would suspect :
Sql.php
User.php
andpossibly Project.php

… I tried with original 'model' files, still occurs !

So the one you set back to original should not be suspected.

But I can’t remove updates in database. May be something in data added in migration ?

I really don't thing this may be due to data. Forget this way.

May be also a relation between these error messages and non-working "enforceUTF8" ?

Yes.
And I then sucpect your parameters.php file.
Could you post it here or send it to This email address is being protected from spambots. You need JavaScript enabled to view it. (after hiding information about your database cnnection) ?

Babynus
Administrator of ProjeQtOr web site

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

More
07 Aug 2014 17:01 #9 by Jean-Luc
I have copied the whole application (files + database) on company server, with all changes.

1. No error registered on log on disconnection (nor connection). So changes on Php code are not responsible.

2. 'enforceUTF8' still dont work!

3. Disappeared contacts from project screen advised in other topic for v4.3.2 are now displayed (v.4.4).

So the 2. is the unique anomaly on the company server!

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

More
08 Aug 2014 00:35 #10 by babynus
Hi,
I have noticed some strangfe behavior of session_start(), generating 6 spaces.
I cannot explain where they come from.
Fixed it with an ob_clean after session_start.

Babynus
Administrator of ProjeQtOr web site

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

More
13 Aug 2014 18:35 #11 by Jean-Luc

babynus wrote: Fixed it with an ob_clean after session_start.

No, the errors messages still come… (and now with error in apache log due to that ob_clean, as advised in another topic).

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

More
13 Aug 2014 19:45 #12 by babynus
I think I finaly found the issue. :woohoo:

In /model/workElement.php, remove all caracters (line break and spaces) after ending ?>
Then you can also remove ob_clean after session_start in /tool/projeqtor.php

All should be right now.
Please confirm :pinch:

Babynus
Administrator of ProjeQtOr web site

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

Moderators: babynusprotion
Time to create page: 0.049 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.