Page MenuHomePhabricator
Feed Advanced Search

Sep 13 2016

dfumagalli awarded T11613: New install exception is wrong if preflight setup checks fail a Mountain of Wealth token.
Sep 13 2016, 2:29 PM · Bug Report (Needs Information), Setup
dfumagalli added a comment to T11613: New install exception is wrong if preflight setup checks fail.
In T11613#194396, @chad wrote:

Assuming probably you're seeing T10352

Yes, I have read that. Putting "END" solves the recursion but the issue about path being empty comes up as in that bug report.
Since the suggested diagnostic PHP snippet shows path being correctly handled by "END" (except for when we call the website root), a quick'n' dirty fix I have tried is to look at the code checking path <> "" and set path = '/' if empty instead of raising an exception.

Sep 13 2016, 4:33 AM · Bug Report (Needs Information), Setup

Sep 12 2016

dfumagalli added a comment to T11627: PhabricatorPHPPreflightSetupCheck can raise a nonfatal `open_basedir` exception which presents the user with a nonfunctional "ignore" action.
In T11627#194460, @chad wrote:

Features unfortunately aren't free. They cost time to build, test, and provide lifetime support of, that we must pay.

Sep 12 2016, 9:37 PM · Setup, Bug Report
dfumagalli added a comment to T11627: PhabricatorPHPPreflightSetupCheck can raise a nonfatal `open_basedir` exception which presents the user with a nonfunctional "ignore" action.

This is unique to this particular setup check (open_basedir configured, but not in a way that creates a concrete problem we're able to detect).

I'm inclined to just simplify this check and make any value for open_basedir cause a fatal setup error.

Sep 12 2016, 8:45 PM · Setup, Bug Report
dfumagalli added a comment to T11613: New install exception is wrong if preflight setup checks fail.
In T11613#194396, @chad wrote:

Assuming probably you're seeing T10352

Sep 12 2016, 7:36 PM · Bug Report (Needs Information), Setup
dfumagalli created T11627: PhabricatorPHPPreflightSetupCheck can raise a nonfatal `open_basedir` exception which presents the user with a nonfunctional "ignore" action.
Sep 12 2016, 7:28 PM · Setup, Bug Report
dfumagalli added a comment to T11613: New install exception is wrong if preflight setup checks fail.
In T11613#194389, @chad wrote:

Can you file a bug report then if you believe the documentation contains a bug?

Sep 12 2016, 7:10 PM · Bug Report (Needs Information), Setup
dfumagalli added a comment to T11613: New install exception is wrong if preflight setup checks fail.
In T11613#194386, @chad wrote:

After fixing a bug in the provided .htaccess (recursion because of using "L" flag in self-modifying path), setup starts.

Are you following another guide on the internet? We don't provide .htaccess configurations in our guides.

Sep 12 2016, 7:07 PM · Bug Report (Needs Information), Setup
dfumagalli added a comment to T11613: New install exception is wrong if preflight setup checks fail.

After fixing a bug in the provided .htaccess (recursion because of using "L" flag in self-modifying path), setup starts. However by quickly assessing the PHP code, I have noticed how APC "auto-detect" is PHP < 5.5 oriented.

Sep 12 2016, 7:00 PM · Bug Report (Needs Information), Setup

Sep 11 2016

dfumagalli added a comment to T11613: New install exception is wrong if preflight setup checks fail.
In T11613#194219, @chad wrote:

Are you running apparmor or selinux?

Sep 11 2016, 10:08 PM · Bug Report (Needs Information), Setup
dfumagalli added a comment to T11613: New install exception is wrong if preflight setup checks fail.

It looks like you have all the required extensions, although it's possible that they are only enabled when running php from the command line, and not from Apache; If you can get a php page to run phpinfo(), it will print out the full information from the right context.

Alternatively, if you checkout stable branch of Phabricator, you'll get a better error message.

I am able to reproduce this using another class of errors from https://secure.phabricator.com/diffusion/P/browse/master/src/applications/config/check/PhabricatorPHPPreflightSetupCheck.php, but these are all much more complex to explain.

In any case, I don't think we need the video, thanks.

Sep 11 2016, 9:38 PM · Bug Report (Needs Information), Setup
dfumagalli added a comment to T11613: New install exception is wrong if preflight setup checks fail.

Here are my own PHP modules:

Sep 11 2016, 11:15 AM · Bug Report (Needs Information), Setup
dfumagalli added a comment to T11613: New install exception is wrong if preflight setup checks fail.

That might help.
Also, a stack-trace (should be in the webserver error log) might show something.

Sep 11 2016, 2:02 AM · Bug Report (Needs Information), Setup
dfumagalli added a comment to T11613: New install exception is wrong if preflight setup checks fail.

If you cannot reproduce the issue, I can create a video of a XDebug session leading to the error, so you see the program flow.

Sep 11 2016, 1:42 AM · Bug Report (Needs Information), Setup

Sep 10 2016

dfumagalli added a comment to T11613: New install exception is wrong if preflight setup checks fail.

Which versions of php and webserver are you using?

Sep 10 2016, 9:52 PM · Bug Report (Needs Information), Setup
dfumagalli created T11613: New install exception is wrong if preflight setup checks fail.
Sep 10 2016, 7:12 PM · Bug Report (Needs Information), Setup