LyleChamney
Forum Replies Created
-
Forum: Localhost Installs
In reply to: Bring down wordpress files from remote to localFiles and folders are only one part of a WP installation; the other part is the database for each site; this is where all of your posts, pages, settings, etc. are stored in and retrieved from. Without the database, your site will not work.
Live Site:
– export the database
– ZIP the contents of the site and download (or if the live site does not support ZIP ((archiving, compression, etc.)) then use FTP to download)Local Site:
– use phpMyAdmin to create a new, empty database
– import the exported database .sql file
– edit thesiteurlandhomefields in the wp-options table with the new location URL:In your case with MAMP (default settings):
—http://localhost:8888– if it will be in the root of the local server
—http://localhost:8888/folder_name– if in a folder in the local server web root– unZIP or move the downloaded site files to the desired location
– edit the wp-config.php file there with the local database connection credentials (
NOTE: use a plain text editor (such as the popular, free Text Wrangler from Bare Bones Softwareto do so – TextEdit, by default, uses “fancy quotes” which will not work!)
– log into the local site Dashboard and install and run this plugin:http://wordpress.org/plugins/velvet-blues-update-urls/
— select all options EXCEPT the last one (GUID)
– go to Settings > Permalinks and just re-save
Done π
Backed up my www folder where my database content was
Unfortunately, that is not where your database content is located; that is where your site files are located. Your database files are located here:
C:\wamp\bin\mysql\mysql5.6.17
Therefore, on a WAMP install of the latest version, you would need to backup and restore these two folders:
C:\wamp\www
C:\wamp\bin\mysql\mysql5.6.17
To verify, I just tried it:
– installed WAMP
– installed WP
– copied both the above-noted folders to a temp location
– uninstalled WAMP and deleted any remaining files and folders
– reinstalled WAMP
– deleted the new www folder and replaced it with the copy
– deleted the new mysql5.6.17 folder and replaced it with the copy
– started both WAMP servers
– logged into the WP site πForum: Installing WordPress
In reply to: WordPress needs to access webserver.A couple questions:
– did you install WP within XAMPP using the BitNami WP Module or did you install it manually?
– if you used the BitNami module, did you select Development Settings or Production Settings for the Installation type?
It would appear that you used the Production settings as the notes for that type on the selection screen indicate that certain plugins and themes may require manual changes.
Alternatively, I use MAMP on the Mac π
Forum: Installing WordPress
In reply to: Trouble with installJoe, could you please clarify:
I have followed the 5 minute install and got to the end without any hitches
According to the Codex link you provided, that would mean WP was successfully installed.
Yet …
when I trying to carry out the installation via “/wp-admin/install.php” I get the “Forbidden 403” error.
These are the steps that I use to install on a remote host:
– create database and user with full privileges (as you did with your ISPConfig method)
– upload the WP ZIP to the desired location (let’s use the root location for this example) and unZIP there (or FTP the contents of the unZIPped WP download if your host does not provide unZIPping)
– start the install withhttp://www.mydomain.com(root location)
– let WP create the wp-config file, that is, click the Create a Configuration File button at that screen
– enter the database credentials that you chose when creating the database; set table prefix as desired
– click Submit
– complete the Site Details screen and click Install WordPress button
– log in πForum: Localhost Installs
In reply to: I have no URLIn a default WAMP installation, these are the values to enter at “Screen 2”
Database Name: whatever you named it when you created it; no spaces
User Name: root
Password: <empty> do not put anything in this field
Database Host: localhost or 127.0.0.1
Table Prefix: wp_ (leave as-is)
Forum: Localhost Installs
In reply to: Media Library Permissions in localhost?Did you try just re-saving your permalinks?
Forum: Installing WordPress
In reply to: media library upload file folderThat is correct, they will not be there by default; you have to create the file yourself.
Again, I just successfully tried this on a GD Linux with cPanel shared account:
– log into cPanel and select File Manager
– select public_html in the left side bar as the location
– selectNew File, give it the name.user.ini(note the period at the beginning), make sure the location ispublic_html, clickCreate New File
– select the new.user.iniand selectEdit
– enter the two lines as noted in my previous post (change the value to your liking; make sure it is in the exact format presented), thenSave Changes
– wait at least 5 minutes for the server to refresh
– now check theAdd NewinMediaπForum: Installing WordPress
In reply to: media library upload file foldergodaddy will not help with wordpress issues
It is not a WP “issue”, it is a PHP setting on your hosting account π
Here are some GD Support links on how to edit the php,ini file (which contains the values to set the upload file size) on your GD hosting account:
https://support.godaddy.com/help/article/5647/why-isnt-my-php-initialization-file-taking-effect
https://support.godaddy.com/help/article/5980/managing-system-processes-on-linux-hosting-accounts
Just to verify, I successfully changed the
Maximum upload file sizefrom 32 MB to 64 MB on a GD Linux with cPanel hosting account.I used the .user.ini file method and it contained this entry:
upload_max_filesize = 64M post_max_size = 64MI waited the noted 5 minutes (as stated in one of the above links) and then opened the Media > Add New and there it was, now 64 MB instead of the previous 32 MB π
Forum: Localhost Installs
In reply to: Enabling FTP on a locally hosted siteA few things:
1.
(the upload limit on WordPress)
– this is not a WP limit; it is a limit of your server and can be set in the php.ini file, located at the path below on a default MAMP installation:
/Applications/MAMP/bin/php/php5.5.10/conf/php.ini
– when editing, it is strongly encouraged to use a plain text editor. A popular one is TextWrangler from Bare Bone Software (a free editor that among other things, uses plain quotes (very important!) and has line numbers)
– open the above-noted php.ini in a plain text editor and change the values for:
post_max_size = 32M (enter a desired size, e.g. 128M) … this is on line 373
upload_max_filesize = 32M (enter a desired size, e.g. 128M) … this is on line 481
NOTE: you must stop then re-start the Apache server (use the MAMP control panel) for this change to become effective
2. If the plugin you are using is this podPress plugin:
https://wordpress.org/plugins/podpress/
Note (from plugin page):
– Compatible up to: 3.5.2
– Last Updated: 2013-3-19You may want to consider another plugin that is up to date and being maintained.
3. Just to clarify for my own lack of knowledge on the subject, but are you using this local site only for uploading your podcasts to iTunes?
Forum: Localhost Installs
In reply to: Bitnami WordPress Multisite Apple/Mac local install fail.in manager-osx it directs me to a default generic βHello World!β WordPress landing page.
That is the “front end” of the local site, so you know that the install went fine π
To access the login, add /wp-admin after what appears in the address bar at that point, or click the Site Admin link under Meta in the left sidebar (default 2014 theme).
Forum: Localhost Installs
In reply to: Media Library Permissions in localhost?I have a local version of my site …
When you moved it to the MAMP Pro local location, did you run a search and replace on the database to update the URLs?
These are the two tools I always use and have never had an issue:
– http://wordpress.org/plugins/velvet-blues-update-urls/
— select all options EXCEPT the last one (GUID)
– http://interconnectit.com/products/search-and-replace-for-wordpress-databases/
After running then, got to Settings > Permalinks and just re-save.
I had my web host install wordpress for me. In the process it created a MySQL database, and generated for it a username, pw, and database name. When I checked the wp-config.php file via a PHP client, I noticed it had automatically copied the database username, pw, and database name, so I let the wp-config file alone, not making any adjustments.
And that is all you needed to do π There is no need to create another db user, etc.
When you say that the web host install WP, did they actually do it or did you use their “automated installer” (QuickInstall, Softilicious, Fantastico, etc.)?
Forum: Installing WordPress
In reply to: no data receivedSeems to be working fine now π
If you had just recently purchased the domain and hosting, it can take up to 48 hours to become available; this is normal.
Forum: Localhost Installs
In reply to: Locked out of localhost installDid you make sure that you selected MD5 from the dropdown for the password? π
– completely delete the value currently in the password field
– enter a value, for example, 123123 (as this is a local install, it doesn’t need to be strong)
– select MD5 from the dropdown for the user_pass varchar(64) field
– click “Go”That should do it π
Forum: Fixing WordPress
In reply to: Error establishing database connectionGlad to hear it’s been sorted! π