pcxt8088
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Current technologies used by latest WordPress version?Thank you for that.
I’m OK with how to use raw JS and DHTML to manipulate the browser DOM.
I’ll take a look at React & Vue soon.
Obviously using a shared JS library makes the code much more portable.
Forum: Fixing WordPress
In reply to: Current technologies used by latest WordPress version?Checking the source code for a clean install on localhost 5.4.2 I see the following is used:
html5 jquery TinyMCE JSON CSS SVG? Javascript
Plus other things under wp-includes directory.
Are there certain plugins that use Bootstrap?
Also, note that WordPress core is relying more and more on JS.
Is this raw javascript or certain JS libraries please?
Forum: Fixing WordPress
In reply to: Current technologies used by latest WordPress version?Hi @fakhriaz
Thank you for your reply and link above.
I’m aware that I need to understand all areas of WordPress from a user’s perspective, as well as a plugin & theme developer’s perspective.
I have started working through the Core handbook, and am currently learning how to master Subversion in Eclipse with the Subclipse plugin.
I’m up to using tags, branches and how to merge from and back to the trunk. Obviously I need to be proficient with Subversion both from within the Eclipse IDE and also from the command line.
I currently run Linux Mint 18, having first started using Linux in 1988 with SuSE Linux 5.2: https://www.linuxmisc.com/17-linux-advocacy/0bcb33442f95620b.htm
What I was really looking for was a brief list of web developer technologies that WordPress is made with, like:
html5
CSS3
JQuery
Bootstrapand any other modern javascript and CSS libraries that make WordPress core.
That’s all I need to know for now, so I can get an overview of the core web technologies that make WordPress what it is today.
Forum: Fixing WordPress
In reply to: Error 500 on localhost, possible issues with permissions.Forum: Fixing WordPress
In reply to: Error 500 on localhost, possible issues with permissions.Could be a permissions problem like @a2hostingrj said, as I always unpack wordpress as root to a download directory then do the following install procedure for localhost:
How to install an evaluation copy of WordPress 5.4 on localhost. * Prepare the 02-PASSWORDS file for the new website. * Create the WordPress MySQL database and username from MySQL text console. * Install the WordPress code on localhost. 1. unpack wordpress in the downloads directory as root user with # tar -zxvf wordpress-5.4.tar.gz wordpress/ wordpress/xmlrpc.php wordpress/wp-blog-header.php wordpress/readme.html 2. change permissions with # chmod 777 wordpress -R # ls original wordpress wordpress-5.4.tar.gz 3. convert CR/LF microsoft line endings to Linux with: aspire-laptop 5.4 # endlines check -r wordpress endlines : dry run, scanning files endlines : 1708 files checked ; found : - 71 No line ending - 1632 Unix (LF) - 3 Windows (CR-LF) - 2 Mixed endings 193 binaries skipped 2 hidden files skipped aspire-laptop 5.4 # endlines linux -f -r wordpress endlines : converting files to Unix (LF) endlines : 1708 files converted from : - 71 No line ending - 1632 Unix (LF) - 3 Windows (CR-LF) - 2 Mixed endings 193 binaries skipped 2 hidden files skipped aspire-laptop 5.4 # endlines check -r wordpress endlines : dry run, scanning files endlines : 1708 files checked ; found : - 1708 Unix (LF) 193 binaries skipped 2 hidden files skipped 4. copy the unpacked code from downloads directory to the target directory. eg. copy to: /var/www/html/websites/evaluate/wordpress/5.4
HTH ??
- This reply was modified 4 years, 11 months ago by pcxt8088.
Forum: Localhost Installs
In reply to: Two WP installation on localhost, LINUXHi @sebacodroipo,
Good to see you are making progress.
Yes I think it might be better if you copy and repost this and give it a new title for your current problem.
I’ll look out for that post then.
??
Forum: Localhost Installs
In reply to: Two WP installation on localhost, LINUXHi @sebacodroipo,
I have set up my develop and live websites on my own machine before, and then made the live branch accessible to the outside world. It’s a lot of hassle to get that all working though. IMHO it’s a lot easier to use a remote hosting company for beta and live websites.
If you are using your own machine for development purposes only, then you can work out a suitable directory structure to organise where you put all your websites.
I’m running Linux Mint 18 on my laptop with multiple installations of WordPress and OpenCart plus other websites, and my directory structure is:
aspire-laptop html # pwd /var/www/html aspire-laptop html # tree -dL 1 websites websites ├── develop ├── evaluate ├── examples ├── originals ├── test ├── tutorials └── wordpress-src
You can put any number of websites under your Apache web server’s DocumentRoot folder, which for Linux Mint defaults to /var/www/html/
If you create a directory where you want to install WordPress into, then all you need to do is open the index.php file in a browser with the full path like:
https://127.0.0.1/websites/evaluate/wordpress/5.4/wordpress/index.php
and install WP there. (Obviously you will need to use a separate database name and username & password for each installation of WordPress you are testing.)
NB:
There seems to be an issue now with Firefox 75.0 accessing localhost, but this works with 127.0.0.1 instead. This was working until I updated Firefox to 75.0 (64-bit) yesterday.
Chrome appears to work OK though using localhost.
That’s all you need to do for setting up your own personal development environment to test and experiment with WordPress.
If you are looking for some decent web hosting, I have been using
https://www.unlimitedwebhosting.co.uk/web-hosting/plesk
Which runs OpenCart (another PHP-based web application) OK.
(See their reviews here: https://uk.trustpilot.com/review/www.unlimitedwebhosting.co.uk )
With remote web hosting all you need is one domain like example.com then you can set up subdomains on that, like test.example.com, beta.example.com, etc.
Probably the main issue you could have with deploying to remote shared web hosting is database names and usernames will not be the full length as used on localhost, due to using a prefix for each user of the shared hosting database.
HTH ??
- This reply was modified 4 years, 11 months ago by pcxt8088.
Forum: Localhost Installs
In reply to: Two WP installation on localhost, LINUXor are you going to FTP your site code to a remote server when you have made the changes?
Forum: Localhost Installs
In reply to: Two WP installation on localhost, LINUXwhen I am done making my experiments I will publish it.
But how are you going to publish your website?
Are you trying to give people public access to your local development environment running on your machine at home across the internet?
Forum: Localhost Installs
In reply to: Two WP installation on localhost, LINUXHi @sebacodroipo,
Are you trying to set up your own development environment on localhost, or are you trying to let others get access to it over the internet?