crazyjaco

Results 17 comments of crazyjaco

still troubleshooting. I tried creating a HOSTNAME file in the root of the project but the code didn't seem to acknowledge it. since I'm using a skeleton layout, I changed...

Thanks Mike! Appreciate it. Sorry we didn't see you at WordCamp for Publishers in Chicago. ;) Hope you are well. Thats an interesting repo. I'm going to have to give...

Hey @mikeschinkel, Just getting back to this. That gist seemed to work. I can get to the admin login screen for wp-admin. Which means it found my imported database with...

looks like i can access wp-cli, but it can't find the right wordpress install. It using the wrong table prefix (wp_ instead of my custom one). i have my wp-config.php...

I think I see the issue. It seems that $hostname is not yet set in the wp-config.php, when we check it on line 22(ish). $hostname wouldn't be set because we...

Yes. My hostname is not wplib.box. And the $_SERVER['HTTP_HOST'] won't be set to the correct value if we're coming in via WP-CLI invocation.

oh wait. I'm seeing i need to create a HOSTNAME file to hardcode it since its different. So it would work without for a normal page request, but not a...

I created the file. Got a new error. ``` boxuser@boston:/var/www/wp$ wp user list --path='/var/www/wp' PHP Warning: file_get_contents(1): failed to open stream: No such file or directory in phar:///usr/local/bin/wp.bin/php/WP_CLI/Runner.php(1145) : eval()'d...

It is. It seems like there is no other way for WP-CLI to know what the hostname is unless its set in that file as things currently stand. (if the...