Closed imacnu closed 9 years ago
Sorry, but I am not sure what your problems are. You do need a web server setup with MySQL. For the sass thing, I had this issue on another project and updating sass fixed it for me.
I have installed MAMP with Mysql, accesible in localhost:888/yeopress installation but always print error "database is not accesible" or similar, but its not true.
I tried with virtual host (MAMP PRO) but don't work ...
The generator will throw that error if it cannot find your mysql instance. But if the site works than you should just ignore it. It is just a warning anyway.
Really this is about your configuration, not the generator. Sorry I cannot be of more help.
@wesleytodd First off, great job with this generator! Thanks for all the time spent creating it.
I am running into a similar problem. I'm able to install WP with MAMP fine, without the generator, using the same db connection info.
My warning is "cannot access database", which is not a big deal because I can configure the wp-config.php but I checked the code and they are almost the same with the except of the if statements
Top is yo-wordpress and bottom is wp/mamp
@fseminario You could try printing out the values for those if not defined calls. Maybe one of those variables is defined for some reason. Is it possible you have the local config file and are setting them there as well?
Before that I just decided to try something else.
I was able to do an simple install, still not being able to connect to the db, but started encountering a bunch of missing .php files.
I went ahead and copied over the missing .phps from an original WP setup folder and it worked. I was going to generate a list but it was so many that I figure I just send a screenshot.
Left: Original WP Right: yo wordpress
I also configured the wp-config.php with the same exact db info and it works after that.
That is #147 #149 #150 and the one where we solved the issue #148. It hasn't been released yet because we found another issue with the files being copied over. If you feel like fixing #153 we can release and it should solve most of these problems.
Is necessary MAMP or similar?
When i try change a global.scss i recive error "Sass::SyntaxError: Error generating source map: couldn't determine public URL for the source stylesheet.\A No filename is available so there's nothing for the source map to link to.\A ";
Whats happend?? Thanks