Bug 1062526 - Met "There doesn't seem to be a wp-config.php file" when acess workpress quickstart url after create successfully
Summary: Met "There doesn't seem to be a wp-config.php file" when acess workpress quic...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Michal Fojtik
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-07 07:31 UTC by weiwei jiang
Modified: 2016-10-30 22:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-26 19:11:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
wordpress quickstart scale-up failed log (68.67 KB, text/x-log)
2014-02-12 03:16 UTC, weiwei jiang
no flags Details

Description weiwei jiang 2014-02-07 07:31:26 UTC
Description of problem:
After create wordpress quickstart successfully(https://github.com/openshift/wordpress-example.git), it should redirect to the install page, but actually it not redirect to install page and it display  "There doesn't seem to be a wp-config.php file. I need this before we can get started.", but this is unexpected.

After generate wp-config.php manually,could install and work well.
And the repo https://github.com/mattiascibien/wordpress-example-3.8.1 work well.

Version-Release number of selected component (if applicable):
devenv_4342


How reproducible:
always

Steps to Reproduce:
1.Create a wordpress quickstart
2.Access the application page
3.

Actual results:
It not redirect to install page, and the page display "There doesn't seem to be a wp-config.php file. I need this before we can get started."

Expected results:
It should redirect to install page.

Additional info:

Comment 1 Michal Fojtik 2014-02-10 10:42:55 UTC
Is this really a bug? I mean isn't it better to show user all setup steps and maybe tell him what are/will be the database settings and what will be the table prefix for wordpress tables maybe (so user have choice to change it...)

After confirming the database configuration, users should be redirected to the setup page as they were previously.

I don't want to enforce something there, just want to hear opinions or suggestions why we should generate the wp-config.php on users behalf :-)

Comment 2 weiwei jiang 2014-02-10 10:56:29 UTC
(In reply to Michal Fojtik from comment #1)
> Is this really a bug? I mean isn't it better to show user all setup steps
> and maybe tell him what are/will be the database settings and what will be
> the table prefix for wordpress tables maybe (so user have choice to change
> it...)
> 
> After confirming the database configuration, users should be redirected to
> the setup page as they were previously.
> 
> I don't want to enforce something there, just want to hear opinions or
> suggestions why we should generate the wp-config.php on users behalf :-)

I am not sure this is a bug, but why we enforce the configuration file before?

Comment 3 Michal Fojtik 2014-02-11 14:16:49 UTC
This should fix it:

https://github.com/openshift/wordpress-example/pull/45

I found this this setup cause problem for scaled Wordpress (the install script return 500 but with valid HTML body ;-)

Comment 4 weiwei jiang 2014-02-12 03:16:26 UTC
Created attachment 862099 [details]
wordpress quickstart scale-up failed log

Comment 5 weiwei jiang 2014-02-12 03:17:17 UTC
Tried with the latest code, but when I scale up a wordpress quickstart application, it failed, detail info refer to attachment.

Comment 6 weiwei jiang 2014-02-12 03:28:25 UTC
The wp-config.php has been back to work now.


Note You need to log in before you can comment on or make changes to this bug.