In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000855 [In-Portal CMS] Install / Upgrages bug report always 2010-09-05 03:43 2010-11-30 12:48
Reporter bilalahmed View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.1.1-B1 Product Version 5.1.0
  Target Version 5.1.1 Product Build
Time EstimateNo estimate
Summary 0000855: During installation after "Database Configuration" step, the page goes blank
Description When we start installation of In-Portal using the URL http://localhost/in-portal/core/install.php the first page that appears is "Database Configuration", which is step 2 of installation. After entering the information, when we click on "Continue" button, the page goes blank. Debug mode produces no output. The installation platform is WAMP Server 2.0.
Steps To Reproduce
Additional Information This issue has been tracked down and the problem is the code "while (($entry = $folder->read()) !== false) {" in the file modules_helper.php, which comes near line 220 (Please check couple of lines above and below). The script quits without informing when a call is made to "$folder->read()", The reason is the it is trying to enumerate the directory named "modules", which does not exist after the default installation. This may be some internal exception or something else but the issue can be easily resolved by creating the directory named "modules" in the root folder.
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-bugs/browse_thread/thread/7656e497e586d2fd
Change Log Message
Estimate Points 0
Attached Files patch file icon installation_fix_without_modules.patch [^] (688 bytes) 2010-09-07 15:01 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0002771)
Dmitry (manager)
2010-09-05 21:22

Thank you for well documenting the issue you are experiencing!

After looking into this I can say that modules/ folder should always present in default (or any) installations even if there are no modules installed.

As you probably noticed we are using built-in PHP dir/read mechanism here ( http://php.net/manual/en/class.dir.php ) which means that there might be some issues with PHP Windows version when folder doesn't exists and you trying to refer to it via object notation.

Please remove modules folder from your file system at first and then try to add IF checking if folder before "while" and closing it after $folder->close();

if (is_dir($folder)) {
...current code inside...
}

Please post your results here.
User avatar (0002789)
Dmitry (manager)
2010-09-07 15:16

Tested good, please commit to 5.1.1
User avatar (0002790)
alex (manager)
2010-09-08 08:54

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000855: During installation after "Database Configuration" step, the page goes blank
User avatar (0003043)
Dmitry (manager)
2010-11-30 12:48

Closing released 5.1.1 task.

- Related Changesets
In-Portal CMS: 5.1.x r13920
Timestamp: 2010-09-08 08:54:44
Author: alex
Details ] Diff ]
Fixes 0000855: During installation after "Database Configuration" step, the page goes blank
mod - /in-portal/branches/5.1.x/core/units/helpers/modules_helper.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-11-30 12:48 Dmitry Note Added: 0003043
2010-11-30 12:48 Dmitry Status resolved => closed
2010-09-08 08:54 alex Note Added: 0002790
2010-09-08 08:54 alex Status reviewed and tested => resolved
2010-09-08 08:54 alex Fixed in Version => 5.1.1-B1
2010-09-08 08:54 alex Resolution open => fixed
2010-09-08 08:54 alex Assigned To !COMMUNITY => alex
2010-09-08 08:54 alex Changeset attached 5.1.x r13920
2010-09-07 15:16 Dmitry Note Added: 0002789
2010-09-07 15:16 Dmitry Status needs testing => reviewed and tested
2010-09-07 15:03 alex Assigned To bilalahmed => !COMMUNITY
2010-09-07 15:03 alex Developer => alex
2010-09-07 15:03 alex Status needs feedback => needs testing
2010-09-07 15:03 alex Target Version => 5.1.1
2010-09-07 15:03 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/7656e497e586d2fd
2010-09-07 15:01 alex File Added: installation_fix_without_modules.patch
2010-09-05 21:22 Dmitry Note Added: 0002771
2010-09-05 21:22 Dmitry Assigned To => bilalahmed
2010-09-05 21:22 Dmitry Status active => needs feedback
2010-09-05 03:43 bilalahmed New Issue



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker