RossMitchell
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: I have Issus with database when upload my plugin on serverSuggest that you download some other plugins and see how they do this. Pick any plugin that has its own tables.
Forum: Localhost Installs
In reply to: How to run (NOT install) WordPress locallyWhen I do this I configure my webserver to use the “virtualhost” method, details here: https://httpd.apache.org/docs/current/vhosts/
Then I put the domain name (normal and with www. prefix) into my “hosts” file, details here:
https://en.wikipedia.org/wiki/Hosts_(file)When I do it this way I do not need your steps 8 and 9
I can switch between viewing the local site and the webhosted site by commenting out the appropriate lines in my hosts file.
- This reply was modified 5 years, 4 months ago by RossMitchell.
Forum: Fixing WordPress
In reply to: PHP Update problemIn the meantime suggest that you revert back to PHP 7.2
Forum: Developing with WordPress
In reply to: Creating an organized layout for my categories pageFind which template of your theme is being used to render this page, this plugin will tell you: https://wordpress.org/plugins/show-current-template/
Create a child theme and customise this template, also if required customise the CSS used in this template/page.
Forum: Developing with WordPress
In reply to: Integrating C# program with wordpress siteAnother approach:
Have your site use forms to capture the user input, use javascript to send an AJAX request to the C# app.
The C# app responds sending its response back, and convenient format.
The javascript receives and displays the AJAX response.This way there is no PHP to C# interface, the processes stand independent.
Forum: Developing with WordPress
In reply to: Site Logo Options – MP4 instead of heavy GIFWould be very surprised if you could make an MP4 that is lighter than a GIF.
To do this:
– work in a child themeThe exact details are theme specific
– find the page component that holds the logo, probably “header.php”, copy it to your child theme
– customise the code to replace the GIF image display with a video playerSuggest that you seek support in the theme support forum.
Forum: Developing with WordPress
In reply to: Icons are not showing on the pageI am seeing a cart icon, to right of “login/register”
Maybe you need to:
– clear cache, your computer and webhosting
– try a different browser on your computer
– try a different computerIf you cannot see an icon, go in with your browser inspector and see what the exact file details are, do they match the icon locations.
Forum: Localhost Installs
In reply to: An error about installing WordPress with XamppMy apologies, still it would be better and more convenient for us if you were to copy/paste the text of the errors.
These could be xampp errors. Suggest also seeking support from the xampp forums.
Again, an you load the readme.html file ? This is a good test of the webserver configuration.
Suggest running the WordPress install step again.
<website> /wp-admin/install.phpForum: Localhost Installs
In reply to: An error about installing WordPress with XamppWe might be able to help if you told us what the errors were. Without the details no one here can do more than offer general advice.
Like can you load and view the “readme.html” file ?More comprehensively, all round WordPress development can involve use of:
– PHP for the server side scripting
– SQL, specifically mySQL for server database operations
– HTML for the structure of the generated pages
– CSS for the rendering and display of the generated pages
– Javascript and jquery for browser side scripting
– AJAX for browser to webserver and database interactionNow I admit that this is quite a constellation, and maybe they are not all languages in a strict sense. On occasion I have also needed VisualBasic and spreadsheets in supporting roles.
Depending upon just what you want to do, I would say that PHP and CSS are essential, you can develop the rest as required.Forum: Developing with WordPress
In reply to: migrating a testing domain to primary domainsound right to you?
Well not quite. Some of the content in the database will be wrong when the domain changes. When you move the site use a plugin like DUPLICATOR to do the required database changes.
Forum: Developing with WordPress
In reply to: migrating a testing domain to primary domainWelcome to the WordPress culture.
Some things in WordPress are different, sometimes it is just historical, a choice was made back when and it is best to stay with it. Others such as the hook and filter mechanisms are effectively PHP language extensions, getting with them is the easy way, ignoring or fighting them is your choice.
Rather than have you explain to me how you think WordPress works, suggest that you actually look at the database tables, export a .sql file and load it in a text editor, and browse.
I stand by my earlier post, the only file that changes between sites is your wp-config.php, all of the variability of a site is from the database. (With the exception of images and media which load from files, but these are EXTRA files, not files distributed as WordPress.)
Forum: Fixing WordPress
In reply to: Hacks for last 14 days have been hacking my WordPress SiteWhen you say that ALL passwords have been changed, presumably this means:
– Website hosting management login
– Database user and password as configured in wp-config.php
– All WordPress admin user accounts
– All hosting FTP loginsDelete any database users except the one used in wp-config.php
Have you scanned for malware on all your devices ? It could be that a keylogger is leaking your passwords to the bad guys.
Have you read and followed these articles:
http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/
http://ottopress.com/2009/hacked-wordpress-backdoors/If all else fails change hosting.
Forum: Fixing WordPress
In reply to: HELP!!! Can’t Fix my database errorSuggest viewing your database using the phpmyadmin web application, your website hosting management almost certainly provides this.
Then check and recheck that the database name and table prefix are correct.
Rather than check the user password (I don’t think this is possible), create a new database user and password, make sure they are assigned all privileges over your database, put this new username and password into your wp-config.php file.If this does not work I suggest that you talk to your website hosting support, on occasions they can be very helpful, even when the problem is strictly not their responsibility.
Forum: Developing with WordPress
In reply to: migrating a testing domain to primary domainThe only file with “database pointers” is your wp-config.php.
However the website domain in its entirety is in the database MANY times, they all need to be changed, and as many of the entries are “serialized” with filed length encoding it is not a simple matter of search and replace. Fortunately there are plugins that help with this, I have successfully used the “Duplicator” plugin for this.
Suggest that you read this documentation:
http://codex.wordpress.org/Moving_WordPress