Notes |
(0000659)
lian (reporter)
2009-12-16 11:09
|
Hi, I install W2p in Windows and linux (slackware 13.0) servers with the same problem.
Files are displaying in files menu, but don't display in
project->files tab
task->files tab
thanks in advance.
Lian |
|
(0000664)
caseydk (administrator)
2009-12-17 23:46
|
Tracked down that the problem is how the autoloader files:
-- the CFileFolder doesn't follow the naming convention we have, hardcoded it in autoloader;
-- the getIcon function is included in the class file despite not being a method, a dummy class load was included to close this;
This is resolved in r861. |
|
(0000668)
Fran (reporter)
2009-12-18 02:57
edited on: 2009-12-18 03:01
|
Modifying main_funtions.php from revision 861 results in no fields displayed in Projects Module, Organizations module (under name, date, etc). Nor Project Fields (or Tabs/Plane View fields) are not shown.
Companies and Departments are not displayed either...
Task can be accessed from Task modules but no tabs are displayed under when clicking on a task though....
someone else experiences the same after applying r861?
|
|
(0000669)
caseydk (administrator)
2009-12-18 07:01
|
Ah, there have been some other changes, so you can't go directly to r861.
The solution:
* Update (well, rollback) your main_functions.php to r844 (the v1.2 release);
* Edit your main_functions.php and add these lines:
case 'cfilefolder':
require_once W2P_BASE_DIR.'/modules/files/files.class.php';
break;
Just before the line that has:
default:
in the __autoload() function. This should be around line 58 or so.
The other changes that are breaking your current stuff are helper functions that auto-link url's in description fields and some other things. They'll be great additions for v1.3. |
|
(0000673)
caseydk (administrator)
2009-12-19 19:37
|
Follow steps as described instead of updating to 861. |
|
(0000681)
Fran (reporter)
2009-12-23 08:57
edited on: 2009-12-23 08:59
|
This solution works for "Project Module - Files Tab", but I noticed that for "Task View - Files Tab" nothing has changed...no files are displayed. When a file is linked to a task you can not see it in "Task View - Files Tab" ...or maybe I'm misunderstanding the steps to fix it. I followed last caseydk post (0000673).
Thanx
|
|
(0000682)
caseydk (administrator)
2009-12-23 22:41
|
Around line 224 of ./modules/files/index_table.php, find this line:
$file_icon = getIcon($file_row['file_type']);
Immediately before that add this line:
$myFile = new CFile();
And let me know if that takes care of it. |
|
(0000684)
caseydk (administrator)
2009-12-24 22:34
|
Merged the relevant changes from r844 and r861 in r882 into the version1.2.x branch in svn. A new release should come early next week. |
|
(0000699)
Fran (reporter)
2009-12-28 05:55
|
Thanx a lot caseydk...your post (0000682) definitely did the trick for me...now I can see files under documents tabs.
Thanks for your nice work!!! |
|
(0000700)
caseydk (administrator)
2009-12-28 07:55
|
If it's fixed, don't reopen it. ;) |
|
(0000731)
caseydk (administrator)
2010-01-06 21:52
|
In v1.2.1 release. |
|