RossMitchell
Forum Replies Created
-
Forum: Localhost Installs
In reply to: Hope to get help! I have a local problem!Your English is so much better than any other language I know.
The steps are:
1 – Add the new lines to your wp-config.php
2 – Access your website login page and login as the administrator.
3 – Navigate to your page: dashboard > Settings > General
4 – Correct the settings for “Site Address” and “WordPress Address”, save changes.
5 – Remove the lines you added to wp-config.php in step (1)Suggest that you experiment with SSL and https:// accessed pages that do not use WordPress. After you have it working as https:// then try it again with WordPress.
Forum: Fixing WordPress
In reply to: Plugins installation failed: Could not copy file.Are you able to install other plugins ?
Problems of this type often come down to file and directory permission and ownership issues.
Access your file using either FTP or your hosting management file manager. Is there already a file with this name ?To install the plugin manually in your position I would:
– Install the FTP program filezilla, configure it to access my website files.
– Extract the woo plugin on my local computer.
– Use filezilla to upload the woocommerce directory to your plugins directory.Forum: Fixing WordPress
In reply to: Corruption of databaseSorry no specific ideas.
Suggest that you archive your website access logs so that you can subsequently research if there have been irregular activities.
Otherwise all you can do is restore from your backup and hope that it does not happen again, if it does you then have two examples to investigate.Forum: Fixing WordPress
In reply to: How to change wordpress general settings without loginIf you have SQL access via your website managemnt login then you can use phpmyadmin to change these settings in the “_options” table.
Otherwise you can add these lines to your “wp-config.php” file:
define('WP_HOME','http://www.wiseoid.com'); define('WP_SITEURL','http://www.wiseoid.com');Then you will be able to login and change your settings, then remove the special lines from wp-config
Forum: Fixing WordPress
In reply to: Change PHP Version for WordPress OnlySuggest that you talk to the tech support of your client’s hosting company.
Forum: Localhost Installs
In reply to: Hope to get help! I have a local problem!In your wp-config.php file, add these lines:
define('WP_HOME','http://localhost/wordpress'); define('WP_SITEURL','http://localhost/wordpress');This will let you login and change the database entries, then remove the wp-config lines.
Then suggest that you experiment with SSL etc using NON-WordPress pages on your server before doing this again.
Forum: Localhost Installs
In reply to: how to replace a live site with locally created siteYes, clone to local, develop then upload to hosting is very viable. I have done this frequently. There are a very few aspects such as sending email that is too difficult to setup and test.
What I do is configure apache to use the “virtualhost” technique and put the domain name into the “hosts” file. A migration step is not required, the website will not know that it has moved. I even use the same names for the database and database user and password as on the hosted site. I use filezilla to download all the files, then export and import the database unchanged, in reverse you just have to upload the changed files (all in the wp-content and subdirectories), and import the database, it gets trickier if the live site has ecommerce running or is otherwise changing, in this case you need to be selective of which tables you import.
Detailed docs here:
http://httpd.apache.org/docs/current/vhosts/
http://en.wikipedia.org/wiki/Hosts_%28file%29Forum: Localhost Installs
In reply to: Migrate from desktop server to hostYes, you can use ftp such as filezilla to upload the files. The only file which will change is your “wp-config.php” which will need the database name and password strings required by your hosting.
This will leave you with upload the database and almost certainly modify many entries in it to accommodate the domain name change. If you used the “VirtualHost” technique it is possible that this will not be necessary, but most people develop at “localhost” instead. What you will need is a smart search and replace function, there are plugins available to do this.
On the other hand you could save your time and pay for the plugin that you are already familiar with. It probably is not a lot of money, it is what I would do if I was otherwise paying a developer by the hour to do it manually. What is your time worth ?
- This reply was modified 7 years, 6 months ago by RossMitchell.
Forum: Localhost Installs
In reply to: Total Newby / LocalhostMy advice is to develop your website on a hosted site, give each participant their own contributor level login.
If you want to share documents then using google docs lets you share and edit spreadsheets and text docs between users, each needs their own google login.What localhost is really good for is as a developer it lets you edit code and css etc with a very snappy turnaround when developing themes and plugins, which is not your situation.
Forum: Fixing WordPress
In reply to: What is the best approach to provide frontend pages from a plugin?There are two different ways I could do this, the choice between them would depend upon a balance between how complex the page is and how generic your solution is and how easily it could be configured on other sites with other themes.
A) Create a custom page template in your theme (best practice a child theme). Start with your theme’s page.php or index.php file and just after the code that does “the loop”, you incorporate your PHP that does the query and outputs the results in a table on the page. You have complete control of the page, if you need custom javascript or css you just put it there. You put the text which preceeds the results table into a page and set the page template to your custom php file. No plugin required, all your code is in just one file. This approach gives you total control but does associate your result to using your specific theme.
B) Write a plugin that defines a shortcode. The shortcode function does the query and again outputs the results in a table. Your WordPress page has your descriptive text and the shortcode. The plugin can be used with any theme, depending upon the theme you may need custom css. However your code only gets to work at the point of the shortcode, if the page needs custom javascript or css or customised page features then this single call may not be enough. Again you could confine all your code to just a plugin file.
Neither approach addresses how your custom data table is created or maintained. The first time I did something like this I used both a plugin and theme template files, it works fine but would be a bit unfair on anyone else as they would not know what was coming from where. Subsequently I have mostly taken the custom page template approach because I wanted some pages to be totally off theme.
Forum: Fixing WordPress
In reply to: New User NotificationsYes. Login to your WordPress dashboard, go to the Settings > General tab. There is a field labeled “Email Address”, it will take a comma separated list of email addresses, each of them will be sent all the admin emails including new user reg.
Suggest that you also sort for a plugin that will more specifically direct the new user reg emails, there is likely a function that can be hooked.
Forum: Fixing WordPress
In reply to: Page not showing correct contentYou would help us help you if you chose a better heading for this support thread.
Your problem is that a cache is displaying stale content, this could be caused by:
– your browser cache on your computer. What happens when you view from other computers or browsers ?
– Do you have any page cache plugins configured in your WordPress site, if so disable them and or check the settings.
– Your website hosting may be using a cache. If so check with your website hosting support.Forum: Fixing WordPress
In reply to: Parse ErrorYour problems started when you updated your plugin: “pixabay-images”
Causes could be:
– the update has a syntax error
– the update is incompatible with your PHP version
Suggest seeking support from the plugin support forum.In WordPress all the plugins are loaded on every request (with minor variations), so a single parse error can easily crash a site, this is called “the white screen of death”.
Hence your site will not work until you either fix or disable the plugin, you will have to establish either FTP access or hosting management file access, you will need help from your organisation to do this.In my opinion the firewall is not complicating your problem.
Possibly a website hosting file/directory permission or owner problem.
You will need to access your website files using either FTP or your website hostimg management control panel file manager.
Your website hosting support may be able to help.(Edit) I just checked and can’t access any part of your website.
- This reply was modified 7 years, 7 months ago by RossMitchell.
Forum: Everything else WordPress
In reply to: Is there a WP developer forum?Suggest
https://wordpress.org/support/forum/wp-advanced/