WP-Quick-Install icon indicating copy to clipboard operation
WP-Quick-Install copied to clipboard

Project dead?

Open KoolPal opened this issue 5 years ago • 17 comments

Hi,

Is this project dead?

KoolPal avatar Jun 13 '19 08:06 KoolPal

i think so

mubashirwaqar avatar Nov 02 '19 13:11 mubashirwaqar

:/

baayfily avatar Feb 26 '20 09:02 baayfily

Sadly it works half. Downloads and installs WP files but can't access to Database.

GuillaumeSorel avatar Jun 29 '20 16:06 GuillaumeSorel

The script is very nice. The problem why it does not work anymore are the spaces in the wp-config-sample.php file coming with the wordpress download.

So in the index.php in line 144: case: "wp_config" the script fills the config file with the information given in the form.

In line 164 it changes the table prefix: if ( '$table_prefix =' But there are two spaces before the =. In my sample file there is only one.

In the following lines all the define stuff is replaced. But f.e. define('WP_DEBUG', 'true'); does not exist in my german wp-config-sample.php, because of a space after the braket: define( 'WP_DEBUG', false );

If you now fix the script by inserting and removing the spaces, the config.php file can be created and the installation works.

The script is great and easy to understand, so customizing is very easy. Thanks to the author! It would be great to bring the project back to life.

Realmaker avatar Jul 13 '20 19:07 Realmaker

Hi Realmaker and vielen Dank! we could fork this script into our Github account and bring this project back to life. I am not a developer but a lot of people can be interested with this tool. Any volunteer ?

GuillaumeSorel avatar Jul 21 '20 08:07 GuillaumeSorel

@Realmaker could you share your index.php file? I tried to modify the script following your instructions but it failed during connection to the database.

allinappliadmin avatar Jul 29 '20 09:07 allinappliadmin

@Dev-AllInAppli Unfortunately my index.php is modified more than bugfixing, because I built an WordPress Installer for my students with no need for the most requested fields. Just email, username, password and go. So i have to make the changes to the original index.php again. I am busy at the moment but if it is ok I can open a new project with the working code, referencing the author of the original project.

Realmaker avatar Jul 29 '20 10:07 Realmaker

Ok I understand. I was also willing to open a new project on Github. Anyhow it will be useful to bring this script back to life. I hope you find time quickly ;-)

allinappliadmin avatar Jul 29 '20 10:07 allinappliadmin

Thank you SO MUCH for your help realmaker! I spent hours stuck on this one!

Pls see my modded index file below... simply replace this in the wp-quick-install folder, and your installation will work, I promise.

refreshwebAu avatar Aug 17 '20 21:08 refreshwebAu

All you need to do is replace line 164

if ( '$table_prefix =' == substr( $line, 0, 16 ) ) {

line 169 if ( ! preg_match( '/^define\( \'([A-Z_]+)\',([ ]+)/', $line, $match ) ) {

and line 180 $line = "define( 'WP_DEBUG', 'true');\r\n";

refreshwebAu avatar Aug 17 '20 21:08 refreshwebAu

great job @refreshwebAu I've modified the index.php and tried and it works fine! thanks so much

allinappliadmin avatar Aug 18 '20 07:08 allinappliadmin

the next question is where to host this fork to make it available again for the WP community. We would be proud and pleased to host it on our Git hub repository. What do you think?

allinappliadmin avatar Aug 18 '20 07:08 allinappliadmin

It's a very cool and useful program, I use it A LOT!!! So I am very glad to have managed to get it working again. I'm not too savvy with Git forking, but if you let me know what to do I am more than happy to upload the working source files.

refreshwebAu avatar Aug 18 '20 08:08 refreshwebAu

I havent' yet forked any projects. I'll need to have a look about how it works. I'll let you know.

allinappliadmin avatar Aug 18 '20 08:08 allinappliadmin

It seems so. You might want to consider WP-CLI commands and/or https://roots.io/bedrock/

GL

MichaelHabib avatar Sep 10 '20 12:09 MichaelHabib

Make WP Quick Install great again! It's now active : see https://github.com/GeekPress/WP-Quick-Install/pull/53

allinappliadmin avatar Jan 21 '21 15:01 allinappliadmin

I forked the project and will develop further https://github.com/gfexru/wordpress-quick-install-php Check out WordPress quick install projects https://github.com/gfexru/wordpress-quick-install https://github.com/gfexru/wordpress-quick-install-bash https://github.com/gfexru/wordpress-quick-install-php

gfexru avatar Mar 07 '21 11:03 gfexru