Tag Info

Hot answers tagged

4

After 6 days of pure sadness, this ended up being the fix: http://www.technowut.com/2012/05/14/how-to-stream-videos-to-ios-devices-with-multisite-wordpress/ Here’s how to get it working on CentOS 6 with the packaged Apache httpd: Nils Maier wrote the module for Apache httpd. Download the source and take some time to review the docs there. Compile and ...


2

There are some awesome resources online to help you with this process. Good for you for setting up a local development environment. I think you will find it to be an awesome change to your workflow, but be prepared for some trial and error in getting it right. First of all, there is an excellent article on the Codex for setting up WordPress on MAMP: ...


2

Hi @Scott B: Have you tried updating the permissions for your WordPress files to 755 or 777? UPDATE 1 Thanks to @anu in the comments (~/Sites assumes you put websites are in the Mac's default website directory): cd ~/Sites sudo chmod -R 777 * I just checked my httpd.conf file and here is what I found starting on line 127 so I think @gabrielk's answer ...


2

Your webserver runs under a user account, on OS X 10.6 that user is _www and the group is also _www WordPress needs the owner and/or group of the web server to match the owner and/or group of the files -- which is your user account. First, open your Terminal. Find your username and group by typing: id You should see output like: uid=503(gabrielk) ...


1

This tutorial was just published at DevPress by Patrick Carey: http://web.archive.org/web/20111222021406/http://devpress.com/blog/how-to-setup-subdomains-for-a-local-wordpress-network It should help you. It has been written for Windows but you should be able to translate it into "Mac"


1

You need to have 2 sets of settings one for if file_exists and one for else: if ( file_exists( dirname( __FILE__ ) . '/local-config.php' ) ) { include( dirname( __FILE__ ) . '/local-config.php' ); define( 'WP_LOCAL_DEV', true ); } else { define('WP_HOME', 'http://localhost:666/projectname/'); define('WP_SITEURL', ...


1

This is most likely a server configuration issue, so my answer may or may not help. I ran both requests through Fiddler shows slightly different headers for the different URLs: The Apache URL includes an Accept-Ranges: bytes header and the WP URL includes an Expires header for caching. WordPress URL Headers: HTTP/1.1 200 OK Date: Thu, 10 May 2012 ...


1

Another solution is to simply chown the entire wordpress install to the user that apache is running as: chown -R _www: myWPSite Then you can do your automatic updates, and if necessary, chown it back to the previous owner.


1

For simple editing and testing you'll need an editor that supports PHP, JavaScript, and jQuery. For more advanced debugging (server side debugging ) you'll need an editor that supports Zend Debuger or xdebug(?). So look to see if Xcode supports your requirements.



Only top voted, non community-wiki answers of a minimum length are eligible