This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Can't Upload Theme

#2719
Jason Bobich
Keymaster

@karlene You shouldn’t be ever editing any files of WordPress core. Your wp-config.php is the one file of WordPress core that you, the user, are intended to edit. It is the one and only hard file that contains the information that sets up your WordPress installation. When you installed WordPress you would have had to put your site’s information in here unless your web host provides some sort of “one-click” installation feature for WordPress or someone else did it for you.

So, anyway, don’t touch wp-settings.php. Put it back the way it was and leave that alone. These edits don’t have anything to do with any databases.

Here’s what you do:

  1. Access your server with your FTP program.
  2. In the root directory of your WordPress installation, there is a file called “wp-config.php” — Download this file.
  3. Open this file with a text editor to edit it on your computer.
  4. Anywhere in the file before where it says “That’s all, stop editing! Happy blogging,” put this:
    define('WP_MEMORY_LIMIT', '64M');
  5. Save the file and upload it back to your server.

If you’re going to be managing WordPress sites, you really need to understand how to work with files on your server and the basics of setting up your wp-config.php file. So, this is a good exercise for you, either way.