LyleChamney
Forum Replies Created
-
Forum: Localhost Installs
In reply to: Cannot access phpmyAdmin after installing WAMPWhen I hover over the WAMPServer icon, it says its offline. Is this important?
Yes. It has to say Online and the ‘W’ icon needs to be green.
AFAIK, WAMP will only run as a Windows Service and not as regular ‘program’, that is, when you double click the
wampmanager.exeto start it, it should start the two Windows Serviceswampapacheandwampmysqld. The ‘W’ icon should go from red to orange to green.However, if for some reason those two services have been disabled, doing the above will never work. You will have to manually enable them via Task Manager > Services > Services.
Forum: Localhost Installs
In reply to: Can't get localhost installation workingThe file is to be renamed to wp-config.php
Where are the WP files from the download?
In the tuts+ folder or the tuts+/wordpress folder?
What I would suggest is to just start over 🙂
Try this, using the example names given:
– create a new database and name it
wordpress2
– create a new folder within Applications/MAMP/htdocs and name itwordpress2
– from the extracted WP zip download, copy all the files and folders from within thewordpressfolder intowordpress2
– in your browser, enter:http://localhost:8888/wordpress2to start the install— select language and Continue
— click Let’s go!
— on the database page enter:— Database Name: wordpress2
— User Name: root
— Password: root
— Database Host: localhost
— Table Prefix: wp_ <leave as-is>
— Submit— “Alright, sparky!” , click Run the install
— Site Title: whatever you like
— Username: whatever you like <this is for the WP site login>
— Password: a strong password
— a properly formatted email address
— for a local install, uncheck the Privacy item
— Install WordPress
— on the Success page, enter the Username and Password you just entered for the WP site and click Log in 🙂To view the front end of the site, use:
http://localhost:8888/wordpress2To get to the site log in page, enter:
http://localhost:8888/wordpress2/wp-adminor
http://localhost:8888/wordpress2/wp-login.phpForum: Localhost Installs
In reply to: Can't login/find localhost on own serverIf you are using the MAMP defaults, that is, port 8888 and htdocs as the document root, then you should be able to access your site with:
http://localhost:8888/name_of_folder_in_htdocsand the log in at:http://localhost:8888/name_of_folder_in_htdocs/wp-admin` orhttp://localhost:8888/name_of_folder_in_htdocs/login.php`Forum: Localhost Installs
In reply to: Localhost WAMPP problemGood to hear that you got it sorted 🙂
However, ‘dump’ and ‘export’ mean the same thing when it comes to the database. ‘Dump’ being more in the vernacular of DBAs (Database Administrators) whereas ‘export’ is generally used for us ‘unwashed masses’ 🙂 Doesn’t sound nearly as ‘important’ and ‘technical’ 😉
Forum: Localhost Installs
In reply to: Can't get localhost installation workingThe vid shows the “old way” of editing the wp-config-sample file, which can and does lead to all sorts of problems. The best way, which works every time with MAMP, is to just let the WP install do it for you. At that point in the install, just click the Create Configuration File button and fill out the database connection info with what he provided:
User: root
Pwd: root
DB Name: whatever you used … no spaces in the name
Host: localhost
Table Prefix: wp_ …leave as-isDid you use TextEdit to edit the wp-config file? If so, may be what the issue is as it’s default setting is to replace the single quotes with ‘smart quotes’, which won’t work. Always use a plain text editor, such as TextWrangler to do so.
Another thing from the vid … he says for the database name “wordpress four oh” but types a zero. Which did you use? 🙂
Forum: Localhost Installs
In reply to: Localhost WAMPP problemAfter you imported the database, you have to edit the
siteurlandhomefields in the wp_options table with the local URL, which will depend upon where you placed your site files within drive_letter:\WAMP\www.If you placed them in a folder within the above path, then enter for both:
http://localhost/folder_nameIf you placed them directly in the root, i.e. drive_letter:\WAMP\www then enter:
http://localhostThat will let you log into the dashboard.
Once there, install and run this plugin:
http://wordpress.org/plugins/velvet-blues-update-urls/
— select all options EXCEPT the last one (GUID)
Once that is done, go to:
Settings > Permalinks and Save.
Forum: Localhost Installs
In reply to: Can't login/find localhost on own serverThen when I shut down
Shut down the Mac or MAMP or both?
If you shut down the Mac and or MAMP, you have to start up MAMP again, every time you shut either one down.
Applications/MAMP/MAMP.app
When the MAMP control panel opens, click Start Servers, once both Apache Server and MySQL Server show ‘green’, the MAMP Start Page should open in your default browser.
Unless you manually deleted them, your site files will be at the location I noted in my previous post.
Forum: Localhost Installs
In reply to: Can't login/find localhost on own serverDid you create the folder
testsitewithin Applications/MAMP/htdocs and place the WP files and folders in it?Or, did you unZIP the WP package within the above-mentioned path so that there is a
wordpressfolder in it?If it’s the latter, then you access it with:
http://localhost:8888/wordpress/wp-adminorhttp://localhost:8888/wordpress/wp-login.phpHowever, both the Apache and MySQL servers have to be running (green boxes on the MAMP control panel).
Forum: Fixing WordPress
In reply to: Creating and Editing Databases with WordPress and phpMyAdminYou’re on the right track! 🙂
However, the two items you linked to happen to be fairly unique.
The first, for some reason, does not display the standard method of adding a ‘regular’ plugin, that is, a plugin from the WP plugin repository or downloaded from another source. That standard method is via the Plugins > Add New in the Dashboard. One generally only resorts to the manual method, described in that plugin’s installation instructions, if the other method fails for some reason.
The second item is not a ‘regular’ plugin, but rather an addition to the core text editor, which is named TinyMCE. If you’ll note the first line of the second paragraph …
This article assumes that you are already familiar with the basics of Writing a Plugin and the Plugin API of hooks and filters.
… probably not ‘new to WordPress’ territory 🙂
Keep on track by adding your site functionality via the Dashboard’s Plugins > Add New and Appearance > Themes > Add New and you will be able to build pretty much whatever you want/need 🙂
Forum: Fixing WordPress
In reply to: How to find webpages uploaded with Filezilla?It sounds as though you are not completely familiar with how WordPress works 🙂
Here is a good place to start:
https://codex.wordpress.org/Getting_Started_with_WordPress
One does not upload files. HTML or otherwise, to publish in WP. Generally in normal operations, all content is added via the Post/Page editor in the WP Dashboard.
WP is not a ‘file-based’ website as you would have with a site created with Dreamweaver or FrontPage, etc. WP is a database-driven website where all content and settings are stored in and retrieved from the database. WP does not create any files.
That said, you can add your HTML file’s content directly to a blog post by simply copying the HTML in the file and then pasting into the ‘Text’ tab of the Post/Page editor.
Cheers!
LyleForum: Fixing WordPress
In reply to: Creating and Editing Databases with WordPress and phpMyAdmin@ksbaker1989 – In addition to what catacaustic has mentioned:
It sounds as though you may not be completely familiar with how a WordPress powered website ‘works’. 🙂
1. There is no need to do anything with any other databases; your site’s database is set up and running just fine because you site us up and running. During ‘normal operations’ there is no need to go into the database via phpMyAdmin. If and when you do, the most common reason is to reset the administrator’s password.
2. There is no need for you to have any WordPress files on your own computer; everything is done via the WordPress Dashboard on your site. Again, in ‘normal ops’ one does not edit any file anywhere. Period. 🙂 That said, you can make a copy of your live site and download and run it from your own computer, but that is solely for testing plugins, themes, etc. There is NO synchronization between the local site and the live site. See the codex or Google for “Installing WordPress locally”.
To summarize, for the majority of cases, everything is done via the Dashboard. If you do want to “get more in depth”, you can make edits to the various WP files via the File editor in the Dashboard, but beware, that in doing so, any changes made there can have ‘disastrous’ results if you don’t know what you are doing in addition to potentially having the changes wiped out during the next WP update. Not for the ‘faint-hearted’ 🙂
Cheers!
LyleHi Tim,
When do you get the “Oops, this page cannot be found” message.?
Are there any Categories showing up in the category widget? On a fresh install with the 2015 theme, you should have at least the Uncategorized category show up and the Category widget should be there without you having to add it.
There will, on a fresh install, be no Tags displayed in a Tag Cloud widget; you have to add them manually to your posts before they will show up in the widget.
Cheers!
LyleForum: Localhost Installs
In reply to: Way to conceal CSS/HTML from contributor?One method that may work is to use the lite (free) version of the Beaver Builder page layout plugin:
https://wordpress.org/plugins/beaver-builder-lite-version/
If the mp3s will be on the same page, it’s a snap to duplicate the previous entry, then change the audio file and text.
If they are on different pages/posts, then there are a couple options:
1) copy and paste the previous entry to a new one, then edit as required
2) spring for the Standard Version of BB (paid) where you can easily create a template for this that can be easily added wherever needed.With both versions, you can easily add your custom class names to the module where the player and text are presented and then add the required CSS wherever you do so; the customized look will appear wherever those class names are added.
Forum: Installing WordPress
In reply to: 2 wordpress installations not working on godaddyHi leeham69,
A few things:
1. Have you purchased the domain name liamkelly.xyz? In order for this to work the way you intend, you need to have a top level domain (TLD). Once (or if) you have this, then you have to set the nameservers for that domain to the nameservers of your dad’s hosting account. And give that anywhere from a few to 48 hours to take effect (it is not immediate by any means).
2. Once all that is done, then you have to set up an Addon Domain via your dad’s cPanel (assuming he has the ‘new’ Linux with cPanel hosting plan). You enter your domain and point it to the liamkelly folder in the root of your dad’s account.
3. Open phpMyAdmin from cPanel and check the wp_options table in YOUR database for the correct URL for the siteurl and home fields. They should be:
http://liamkelly.xyzorhttp://www.liamkelly.xyzIf the above were NOT as indicated, then you will have to run a search and replace script to update the URLs stored in the database with the new values. This is a very popular one:
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
However, if you really haven’t gotten that far along with your site yet, it may be easier to just start over, once items 1 and 2 are completed.
Cheers!
LyleForum: Localhost Installs
In reply to: Restore localhost site with WAMPIf you made a change to the pwd in the wp_users table in the db, and set it to a readable value, e.g. mynewpassword, then you have to set the type as MD5 (select from the drop down list in the user_pass varchar(64) and then click Go.
Then you do have to edit the pwd to this new value (mynewpassword, or whatever the readable version is) in wp-config.php.
NOTE: make any edits to this type of file in a plain text editor, such as NotePad and NOT in a word processor, such as MS-Word.