Tag Info

Hot answers tagged

4

WAMP is an acronym that means: Windows, Apache, Mysql, Php. There are different WAMP "distribution" such as XAMPP, WampServer (what some people just call "WAMP"), Wamp-Developer Pro (commercial software), and others... The big list of WAMPs is here: http://en.wikipedia.org/wiki/Comparison_of_WAMPs XAMPP for Windows is just another WAMP distribution, ...


4

Set file permissions On Mac OS X (Leopard), the Apache HTTP Server runs under the user account, _www which belongs to the group _www. To allow WordPress to configure wp-config.php during installation, update files during upgrades, and update the .htaccess file for pretty permalinks, give the server write permission on the files. One way to do this is to ...


4

You could use slugs instead of IDs. Taken from the Starkers theme (add it to your functions.php): add_filter( 'body_class', 'add_slug_to_body_class' ); function add_slug_to_body_class( $classes ) { global $post; if( is_home() ) { $key = array_search( 'blog', $classes ); if($key > -1) { ...


3

I had the same problem. It sounds like you don't have rewrites turned on in your installation. Find your httpd.conf file, find the following line: #LoadModule rewrite_module modules/mod_rewrite.so And remove the # at the beginning so it looks like this: LoadModule rewrite_module modules/mod_rewrite.so Save and then restart the service. Custom ...


3

Not exactly answering the question, but if you are interested in learning how the packages work together, I suggest installing and configuring them manually. I've been using this tutorial as a guideline, it is detailed and helps you get everything running and talking to each other. It's a bit more work, but provides you much more flexibility, and you ...


3

Appart of the default ports and correctly configuring WPMS... In the Advanced Tab: And manually add the subdomains in /etc/hosts1 file: # BRASOFILO MULTISITE START 127.0.0.1 test1.brasofilo.dev 127.0.0.1 test2.brasofilo.dev 127.0.0.1 cloned.brasofilo.dev # BRASOFILO MULTISITE STOP 1 The folder etc is at the root of your HD and it's hidden. You can ...


3

Probably your local setup since Wamp does NOT come with mail server. But you can configure the STMP settings of PHP to point to another server in your LAN which runs an SMTP server, or to the SMTP server of your ISP. this thread has an example of how to set it up: http://www.wampserver.com/phorum/read.php?2,31302,70969


3

If I understand right you had restored backup of live site to local installation? Basically you have two ways to handle it: Change site URL (I recommend RELOCATE way, always works nicely for me). Use hosts file of your OS to point live domain at your local IP (127.0.0.1).


3

The objection that XAMPP is bloated--because it has a mail server, FTP server, etc.--might be answered by asking what you need. If you need most or all of those items, it's the full XAMPP for you. For just developing web pages, including PHP and MySQL, use XAMPP Lite. At different times I've found both to be very useful. I especially like that I can run ...


3

XAMPP is NOT cross-platform. There is XAMPP for Windows, XAMPP for Linux, for Mac and for Solaris, but each pack contains different pieces of software, runs differently with different performance, etc. (cross-platform means that you take the exact same piece of software and it runs the same way on different platforms ... like Azureus used to be: a jar that ...


3

Multisite cannot be installed in a subdirectory of the document root currently. This will be possible in 3.5. See Multisite on Windows with wildcard subdomains for a guide how to manage subdomains automatically on Windows with XAMPP. You can move the plugin directory to another directory per wp-config.php. This is possible for themes too, but automatic ...


3

You are trying to access the install via a file url: file://home/cnorton/scratch/install.php.html That is not going to work. That bypasses the web server and you need the webserver to process the request and pass things to PHP, which then passes the generated page back to the server for delivery to the client (your browser). You need to access the file ...


2

From personal experience sync between two different computers work best in one direction. For example your desktop is primary and notebook is precise mirror (yep, of whole directory tree preferably with tool that doesn't touch unchanged files). Two way sync gets messy very fast for web stack. If you need to actively work with same stack on different ...


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) ...


2

Chances are that this isn't really a WordPress issue, but actually an problem with how you're setup for mail on your local machine / dev environment. You can install a 'dummy' SMTP server on your local dev machine that allows you some independence from your environment. I often work at client sites where access to port 25 is tightly controlled, and using ...


2

Depending on your version of OS X, you will need to configure and run FTP and open a port in the firewall. It's best if you google your OS X version - 10.6, 10.7, etc. - specifically and find the docs necessary to set up FTP and Sharing. You also need to realize the security implications of opening up FTP to your local machine; someone port scanning your IP ...


2

I would recommend installing Piwik on your intranet using one of their plugins, though it will work just fine as a stand alone. http://piwik.org/ http://piwik.org/blog/2008/06/new-plugin-wordpress-piwik-integration/


2

When you say moved WordPress, what do you mean exactly, Did you copy your entire WordPress installation from your localhost to your remote server without installing WordPress first on your destination host? Did you export your SQL database from localhost then import it to your remote server? Did you install WordPress on your remote server before copying ...


2

I believe the wordpress URL and site URl are not set right. Please try to edit your wp-config.php adding these lines: define('WP_HOME','http://example.com'); define('WP_SITEURL','http://example.com'); Is your index on same folder as wp installation? if not, you need to place it there. I'm talking about placing the URL in the above lines, not the index on ...


2

"MySQL server has gone away for..." This should never happen as result of admin operation on vanilla wordpress. One post publishing should not include enough DB writes to make the DB go away. Have you tried with all plugins inactive? Hey, is there a way I can host all the WP-admin functions locally, and simply push changes to the remote server? ...


1

To achieve this simply, make sure your WordPress version is 3.0+. It is always recommended that you have the latest. First you need to activate the network: http://codex.wordpress.org/Create_A_Network Note that, as you are using a local installation, you won't have the choice to create your network in sub-directories as subdomains won't work. By reading ...


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

It sounds like your wordpress install just doesn't know where it is living. Make sure your wp_config.php file has the right info for connecting to your local database first off. Next you'll need to use phpMyAdmin or a similar database management tool to edit 2 rows in the "wp_options" table of your wordpress database. The first row starts with "site_url", ...


1

I think what you need to do to get the local install back up and running is either edit some database files manually, or make a couple changes to the wpconfig.php file in the root of your wp install. check out this codex page for instructions on editting this file. You will need to make sure your database credentials are correct of course, but you will ...


1

OK, it was a noob mistake, as predicted! I had to go to kdev.vcip.com/wp/ for the installer to run. Once I did that I went to the Settings page and changed my WordPress address to http://kdev.vcip.com/wp and my Site Address to http://kdev.vcip.com.


1

Your first issue is the fact that you're using query_posts. That function isn't meant for creating new queries to the database; instead, it's used to modify the existing global query. Read up here and here for more information on what you can use instead. Second, there is just some strange code in your template that, honestly, shouldn't have worked in the ...


1

LAMP is "Linux Apache MySQL PHP". WAMP is "Windows Apache MySQL PHP". You will need one of the WAMP packages such as Wamp Developer (commercial), Xampp (free), WampServer (free). Then you'll need to add your previous website files into the DocumentRoot of a VirtualHost and use phpMyAdmin (or the mysql command line) to import your database. If you change ...


1

Can you update your .htaccess file manually, Copy the settings from from Network Setup and then open your .htaccess file in your editor and copy&paste. You have to enable to see invincible files on your computer, it should be something like this: RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ...


1

I found this video very helpful. http://wordpress.tv/2011/11/18/dave-konopka-get-control-of-wordpress-with-version-control/. I think there is another video around somewhere which deals specifically with managing a website ( as opposed to developing a theme or plugin ) but I cant find it. Here it is ... http://www.youtube.com/watch?v=8ZEiFi4thDI Edit - I ...



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