BA Phot
[30Sep21] Time for a new page on the matter.
I have a new domain baphot2.co.uk that I intend to set up as all-Wordpress with no danger of damage to the old BAPhot.
[14Nov] Begin setup using the template on the Old Page.
[15Nov] Try setting up a subdomain for LPE in BAPhot2. Conversation with LCN:
Thomas 09:41
Hi 😊There's currently no way to automatically install WordPress to a subdomain anymore, unfortunately, so it'd need to be installed manually by following the steps in this guide: https://www.wpbeginner.com/how-to-install-wordpress/#installftp This covers how you can create the database you'll need for the setup: https://www.lcn.com/support/articles/how-to-create-a-mysql-database/ LCN
I've tried this before and never succeeded. The alternative is a top level menu in BAPhot2 and all the subsidiary 'sites' haning off that - not ideal, subdomains are cleaner.
Here's a pdf of the install instructions.
FTP software Filezilla 3
1. install Filezilla
2. download the latest version of WP - https://wordpress.org/download/
3. Log into the domain
Host - ftp.hosts.co.uk
Username - baphot2.co.uk
Password - the ftp pwd set up at LCN
4. Locate the WP download in the left window and the subdomain web folder on the right then drag and drop
5. Now create the MySQL database. (LCN)
a. database prefix_lpe_baphot2; username lpebaphot2; pwd. dic setup similar.
b. set up these details in the wp-config.php file - how-to-edit-wp-config-php-file-in-wordpress
c. dowload the wp-config.php file using FileZilla, edit it in Dreamweaver setting the
DB_NAME, DB_USER, DB_PASSWORD, DB_HOST and DB_CHARSET.
But when I try to log in to wp-admin I get, "Your server is running PHP version 5.5.38 but WordPress 5.8.2 requires at least 5.6.20."
[16Nov] Try to fix it.
I couldn't spot a problem and turned to LCN - Thomas to the rescue again - update PHP - https://www.lcn.com/support/articles/how-to-change-php-version/. (I had tried that everywhere I could find the option. Try again.)
Answer - There's a little box at the top to select the subdomains, see fig. D3.
That seems to work. Of course, if that works on baphot2, it can also work on the original baphot and I'd save the cost of another domain - maybe baphotref too,
[17Nov] I made a start last night on thrying to set up subdomains in BAPhot for all the remaining courses - L2 LPE, DIC; L3 PR, CA, MP. DIC looks ok but LPE is a little flakey and might have to be deleted and done again.
[18Nov] lpe.baphot is broken with a fundamental Error Establishing a Database Connection fault. Here's the plan.
1. try to fix it using these
https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/
https://websitesetup.org/error-establishing-a-database-connection/
2. Either way, create template.baphot, get it working with a basic page and menu structure and clone it to all the subdomains - LPE, DIC, PR, CA, MP, Refs etc.
3. Reorder this page with the useful bits at the top and the fixes section archived.
later - fixed it - the db_user name was wrong and the permissions needed more boxes ticking.
On to template.
1. subdomain template created.
2. wordpress copied with FileZilla (Host - ftp.hosts.co.uk; Username - baphot.co.uk; Password - the ftp pwd set up at LCN).
3. Now create the MySQL database - DB_NAME LN022859_template_baphot; DB_USER templatebaph; DB_HOST appdb2.lcn.com + DB_PASSWORD, see fig. F1.
4. update the PHP version (PHP in the LCN control panel).
5. update the wp-config.php file (transfer with
FileZilla, update with Dreamweaver).
Note - it didn't work at all - I checked and couldn't find anything wrong so I reloaded Worpress, updated the config file again and all was fine. Moral - keep checking and don't panic.
Some basic pages and structure have been set up in template so now the pan is to clone it to LPE, DIC and also the third level PR, CA and MP, although the structure of those courses might well be different. Here's a link on cloning.
https://www.wpbeginner.com/wp-tutorials/how-to-clone-a-wordpress-site-in-7-easy-steps/
[date] text
text
text
[date] text
text
text
[date] text
text
text
First, I'm running through the 9th July checklist.
appearance / widgets - remove
[20Dec] Tag cloud - add plugin Category Tag Pages
Advanced Editor Tools plugin added to enable easy highlighting of text.
Additional CSS from IP
/* Smaller Heading Font please */
@media (min-width: 700px) {
h1, .heading-size-1 { font-size: 3.2rem; }
h2, .heading-size-2 { font-size: 2.2rem; }
h3, .heading-size-3 { font-size: 1.9rem; }
h4, .heading-size-4 { font-size: 1.6rem; }
}
/* Place this in your template CSS file or Theme CSS Editor */
a { text-decoration: none!important; }
.singular .entry-header {
padding-top: 2rem !important;
padding-bottom: 4rem !important;
}
References
author, (year) Title. Location: Publisher.
author (year) title [online]. website. Available from url [Accessed nn January 2020].
author (year) Title. Location: Publisher.
author, (year) Title. Location: Publisher.
author (year) title [online]. website. Available from url [Accessed nn January 2020].
author, (year) Book Title. Location: Publisher.
author (year) Title. Journal. Vol, pages.
author (year) Title. Newspaper. Date. pages.