RossMitchell
Forum Replies Created
-
Forum: Localhost Installs
In reply to: Apache2 says “Error establishing a database connection”My thoughts:
– You mention having both mySQL and MariaDB, they could be tripping over each other, suggest only having one or other installed and not both.
– Have you installed “phpmyadmin”, it is very useful. Does it run ?
– Otherwise can you connect to the mySQL server using the command line ? Something like:
mysql -u <dbUserHere> -p
Try
man mysql
for options. Does it work ?Forum: Fixing WordPress
In reply to: Guidance on creating a assessment/quiz ?I have made sites that do capture of survey questions and input of multi judge contest scores.
I have custom page templates for the pages with the form. The field inputs are streamed back to the server using AJAX. Other pages use shortcodes to display contest results and progress of scoring.Forum: Localhost Installs
In reply to: Update profile email address (email not received)Most likely your localhost computer does not have a working SMTP service, hence your WordPress on localhost cannot send emails.
Various solutions:
– add one of the SMTP plugins, it will connect out to the internet and your email will get back to you.
– install an SMTP service on your computer.
– accept that not having your website send emails is ok during development, leave that bit of testing and functionality till you deploy the website.
– Get into your database using phpmyadmin and change your email address manually in the users table, this is akin to fixing your problem with a spanner.There are various reasons why the normal mechanisms within WordPress to download and install plugins (and themes) just do not work. These include file system permissions and various system settings. Given that the alternative methods of downloading and installing them on your local file system are so easy, it is simply not worth the effort of getting the WordPress mechanism to work.
So:
– Download the relevant .ZIP file for your plugins.
– Extract them and place the plugin in the wp-content/plugins directory
Similarly for themes.Forum: Fixing WordPress
In reply to: CSS Help NeededFor the flag spacing try this in your customizer > additional CSS
a.glink { padding-left: 0 !important; padding-right: 0 !important; }Figuring out the hover and active menu changes is harder. Suggest that you examine your custom theme’s CSS files and OR consult your theme developer.
As a start you should learn how to use your browser inspector for addressing CSS issues.Forum: Fixing WordPress
In reply to: Download or copy any website?A literal and narrow reading of your question lets me answer YES. It is possible to copy a website files AND DATABASE without a WordPress ADMIN login.
What is needed is a website hosting management login. With it you can make an FTP connection and download the files, and also backup the database.
Somehow I doubt that this answer is helpful.
It would be helpful if you were to explain your situation and what you want to do.Forum: Fixing WordPress
In reply to: How to interact safety with the database through custom queries.In my website hosting management I use the GUI database program PHPMYADMIN to access my database. I would:
– Take a complete database backup.
– create the new table
Not familiar myself with “custom safe query”, Among the viable techniques is to register shortcodes, or create custom page templates in your child theme. In this PHP code declare the global $wpdb and do code your queries, be careful and be sure to use the “prepare” method to safely sanitise user input and prevent SQL injection attacks.Forum: Localhost Installs
In reply to: Moving website from localhost to BluehostYou will be able to use an FTP program such as FILEZILLA to connect to your hosting and upload your files.
A plugin such as DUPLICATOR can be very helpful.Forum: Fixing WordPress
In reply to: My content are inside of Header, there is no Space Betweenmy support its over, can you help me to fix that ?
You will normally be able to purchase extended support from your theme vendor.
As I said:
“suggest that you test by try a different theme.”Forum: Fixing WordPress
In reply to: My content are inside of Header, there is no Space BetweenThis is very likely a theme problem.
Suggest asking in your theme support forum.
Also suggest that you test by try a different theme.Forum: Fixing WordPress
In reply to: WordPress Pulling Wrong UTC Time, Thus Throwing Off Post Times/DatesSuggest that you discuss this with your website hosting technical support, I think that it is likely that the server time settings are wrong.
Forum: Fixing WordPress
In reply to: How can i convert php script to wordpress plugin?Yes you can.
IF you are using a child theme, you can also install your PHP code in the file functions.php
I could be more helpful if you provided more details.Forum: Fixing WordPress
In reply to: Elementor plugin installation freezes at “Unpacking the package”Have you installed other plugins or themes on this site? same hosting ?
Suggest enabling DEBUG, retry installation and look at error logs.
Otherwise do a manual install:
– unzip locally
– upload using filezilla
– activateForum: Localhost Installs
In reply to: Sharing redesignIn this situation I use ANYDESK remote desktop. From anydesk.com
Have client download and install ANYDESK
First I establish a phone connection with client.
Get them on a phone connection.
Start anydesk myself and get them to start and connect to my computer.
Then can browse the site, OR I can give them thew guided tour. I keep notes of what is viewed, reactions and difficulties in interpretation etc.
At the end of the session I disconnect ANYDESK and wind up the phone call.
You would have to do the above for each client.Forum: Fixing WordPress
In reply to: removing title from widgetIt is MUCH better to change some css to do this, in customizer > Additional CSS add something like:
.widget-categories .screen-reader-text { display:none; }It is never a good idea to change core code, your changes will get lost at every update.