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] Cannot cre...
 
Notifications
Clear all

[SOLVED] Cannot create Activity after updated version 5.0.1

24 Posts
2 Users
0 Reactions
15.6 K Views
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 
[#2394]

I was updated version into 5.0.1.
After updated It's seem that I cannot create Activity, Project, Milestone
When click create button the panel show nothing, please see the picture

I'm already clear browser cache but problem still occur


 
Posted : 29 Jun 2015 9H59
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Does it happen only on plannong view or also on activity view ?
Could you check for error in the log file and in the browser console ?


 
Posted : 29 Jun 2015 11H45
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

It happen both of them
I'm so sorry I don't know where is the log file, Would you please tell me where is it.


 
Posted : 29 Jun 2015 12H05
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

default location (if you did not change it on configuration) is /files/logs/
One file per day...


 
Posted : 29 Jun 2015 12H09
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

I attached Today log file for your info
It seem no have any log


 
Posted : 30 Jun 2015 5H27
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

So you should have error in browser console.
Please report it here.


 
Posted : 30 Jun 2015 14H23
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

If I downgrade version into 5.0 or lower
This problem can be fix or not?
Because I using this system everyday but now it's cannot use.


 
Posted : 01 Jul 2015 14H30
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

I don't think returning to V5.0.0 could change anything.
Getting back to V4.5 could possibly help, but I'm afraid you will have issues with attachments.

Please give more hints to help you solve this issue on V5.0 :
- which browser / version do you use ?
- could you please check browser console ? Hit [F12] should open console (be sure to be on console tab). Report any issue logged in brower console.
- could you try with another browser (for instance you could try portable chrome) ?


 
Posted : 01 Jul 2015 14H37
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

- which browser / version do you use ?
Ans. Chrome V.43.0.2357.130
- could you please check browser console ? Hit [F12] should open console (be sure to be on console tab). Report any
issue logged in brower console.
Ans. Please confirm attached picture
- could you try with another browser (for instance you could try portable chrome) ?
Ans. I tested with Firefox, Mobile chrome, IE but same problam


 
Posted : 01 Jul 2015 16H39
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

I use exactly same Chrome version without any issue.

1) Check for zoom : please try (if not already set) with zoom = 100% (avoid zoom 150%)

2) Try and disable every browser extension
(I faced stange behaviors with Skype Click to Call)

3) Try and open in new tab (with current tab logged in) :
http://localhost/projeqtorV5.0/view/objectDetail.php?objectClass=Activity&objectId=
and post result here.


 
Posted : 01 Jul 2015 16H48
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

1) Check for zoom : please try (if not already set) with zoom = 100% (avoid zoom 150%)
Ans. Zoom is 100%

2) Try and disable every browser extension
(I faced stange behaviors with Skype Click to Call)
Ans. I tested by install chrome to other PC and test It same result

3) Try and open in new tab (with current tab logged in) :
http://localhost/projeqtorV5.0/view/objectDetail.php?objectClass=Activity&objectId=
and post result here.
Ans. Please confirm attached file.


 
Posted : 01 Jul 2015 17H47
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

http://localhost/projeqtorV5.0/view/objectDetail.php?objectClass=Activity&objectId=

Response is not complete.
Attached is expected response...

Please do it again, then on response right click in window and select "show source code" (or equivalent).
Post here result of source code.
Thanks.


 
Posted : 01 Jul 2015 18H16
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

Please see attached file


 
Posted : 01 Jul 2015 18H25
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Really no more ... :silly:

It seems that all what is included in drawTableFromObject() function (main fonction drawing screens) is not executed.

Let's tyy and debug !
Please change in parameters.php file (default location is /files/config) :

$logLevel='3';

to

$logLevel='4';

Then test again and post result of log file.
Thanks.


 
Posted : 01 Jul 2015 18H39
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

Please refer log file


 
Posted : 01 Jul 2015 19H24
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

I see in the log that you reverted to V4.5.6 then got back to V5.0.1.
All went OK, errors displayed are normal : as update to V5.0.1 was already done, some database update (such as adding a column in a table) fail (column already exists).

But then I see no error.
Traces are correct.
I see

drawTableFromObject(obj, included=, parentReadOnly=)

But result page (as you displayed) is not complete...
I verified, there is not condition to exit this function without displaying things...
So you should have an error somewhere.
Issue is that it is not logged in ProjeQtOr log.

Maybe you can check Apache log file. It can give hint.

Than, if you can change the code, please add a debug line after line 439 in /view/objectDetail.php, this way :

  foreach ( $obj as $col => $val ) {
    debugLog(" => $col");
    if ($detailWidth) {

and of course try again and post log file.
Thanks.


 
Posted : 01 Jul 2015 20H30
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

I attached Log file as your request
Please refer attached file


 
Posted : 02 Jul 2015 7H04
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

:dry:
Really strange.
Logs shows as if on _sec_description exist in the object description...

Please try attached file : unzip it in /view folder, to overwrite existing objectDetail.php.
I add debug lines to help solve issue.
Please test again and post result log here.

Thanks.


 
Posted : 03 Jul 2015 18H16
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

I attached log as your request


 
Posted : 04 Jul 2015 18H03
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

Log is really too shot.
Someting happens in those lines

debugLog("      => cpt=$cpt");
      // Determine colSpan
      $colSpan=null;
      $colSpanSection='_'.lcfirst($section).'_colSpan';
      if ( property_exists($obj,$colSpanSection) ) {
        $colSpan=$obj->$colSpanSection;
      }
      $widthPct=setWidthPct($displayWidth, $print, $printWidth,$obj,$colSpan);
      if ($col=='_sec_void') {  
        if ($prevSection) {
          echo '';
          if (!$print) {
            echo '
'; } else { echo '
'; } } if (!$print) { echo '
'; } else { echo '
 
'; } } else { debugLog(" => before call startTitlePane(classObj=$classObj, section=$section, , widthPct=$widthPct, print=$print, outMode=$outMode, prevSection=$prevSection, nbCol=$nbCol, cpt=$cpt)");

As I cannot guess which line is source of issue, please try again this new objectDetail.php file (in zip) with debugLog on almost every line.
Like previously,overwrite existing with it, test again and post log file here.
Hope it will give us some hints.


 
Posted : 04 Jul 2015 19H59
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

Please see attached log file


 
Posted : 05 Jul 2015 0H24
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Found it !!!

issue is on lcfirst().
it seems this command appeared onlu on PHP 5.3
So I guess you're using PHP 5.2.

I'll propose a patch !


 
Posted : 05 Jul 2015 4H35
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Attached is a patch that fixes the issue.
(at least I hope it fixes the issue) 😉


 
Posted : 05 Jul 2015 4H43
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

It's work!
You made my day, Thank you for your hard work to handle with the solution.


 
Posted : 05 Jul 2015 5H49
Share:

Open source project management software

Subscribe to our newsletter

© All Rights Reserved. 2025 ProjeQtOr

Scroll to Top