Forum Replies Created

Viewing 15 replies - 451 through 465 (of 3,259 total)
  • First DO NOT share your wp-config info, it is not safe, the rules prevent anyone helping you this way.

    My guess is that the site has changed directory level between where it was developed and where it is now. It may be simpler to delete it and repeat the migration, or at least consider doing this.

    What is:
    – Your SITE ADDRESS and WORDPRESS ADDRESS ? these from your Dashboard > Settings > General tab
    – What is your .htaccess file from both:
    https://bachanddevos.com/wp/ and https://bachanddevos.com/ ?

    I confirm that I find “readme.html” at both these locations:
    https://bachanddevos.com/wp/readme.html
    https://bachanddevos.com/readme.html

    You will be changing the site address and wordpress address in the General settings, changing these amounts to moving WordPress even though you have not actually moved anything, what matters is that the apparent address has changed, hence this doc has parts which are relevant:
    http://codex.wordpress.org/Moving_WordPress

    You have two options.
    – Use the server IP address 176.221.120.83, this will work from anywhere that can access this IP, possibly the whole internet, possibly only your local LAN segment.
    – Use the DNS (Domain Name Service) mechanism to access the website by name, the name could either be one that is purchased and managed through nameservers, OR mapped at the server and every computer which needs to access to your site.

    In all cases the moving WordPress doc is relevant.

    In the first case the site and wordpress addreess are:
    http://176.221.120.83
    OR
    http://176.221.120.83/wordpress

    The second case is more interesting, you configure the webserver (probably Apache2) using the VirtualHost method, details here:
    http://httpd.apache.org/docs/current/vhosts/
    You will have a block in your “sites-enabled” configuration like:

    <VirtualHost *:80>
    DocumentRoot /var/www/wpB
    ServerName wpB.local
    ServerAlias www.wpB.local
    </VirtualHost>

    in Linux this at a location like: /etc/apache2/sites-enabled/001-local
    In this case your site and wordpress address would be:
    http://wpB.local
    Then you can either:
    – Buy the domain name, and set it to resolve to the IP address 176.221.120.83
    – Edit the hosts file, details here:
    https://en.wikipedia.org/wiki/Hosts_(file)
    and add a line like:
    176.221.120.83 wpB.local
    at every computer that needs to access your website, the domain need not be purchased, it can be an domain at all, even a well known one !!!! since the hosts file is consulted BEFORE the DNS mechanism.

    • This reply was modified 8 years, 1 month ago by RossMitchell.

    This can mean that the website hosting does not have sending email configured, this is often the case using localhost setups.
    Can the website send emails at all ? Under any circumstances ? If not then suggest that you ask your website hosting support about how to configure sending emails.

    Using your browser inspector you can find where the border code settings are coming from.
    Also where are you putting your css customizations ? Instead of “!important” it helps if your css is loaded late in the page loading process, often using the customizer (Customizer > Additional CSS) does this for you.

    This is very expediently done using a custom page template in the theme.
    The very first thing the template does is validate the user credentials, issues a redirect immediately even before the WordPress page header is invoked.

    Yes WordPress is an excellent platform for this type of application.
    You will be writing your own plugin that contains you code, it will publish some shortcodes that let your code run in nominated pages, all the rest of WordPress provides the support features to your app, things like user registration and management, instruction pages, menus, all of this functionality arrives free of charge and without additional effort.
    The shortcode function will first check that the user is logged in and has the required capabilities, otherwise generating a page “You do not have the credentials to access this page”. Otherwise it does your SQL query and displays the results in a table, or displays a form to upload a file etc. You maintain user data separation by having the user ID as a key field.
    When I was getting started with this type of app, I found this plugin a very helpful starting place:
    https://wordpress.org/plugins/wp-csv-to-database/
    I always acknowledge the author in my derived works.
    Initially I focus upon the user app side and do the creation of SQL tables and data admin in phpmyadmin, only coding those aspects subsequently.

    Also, has access been enabled to that filesystem sub-tree, this is required in Linux, something like:

    <Directory c:/users/edkna/onedrive/documents>
     Options Indexes FollowSymLinks
     AllowOverride All
     Require all granted
    </Directory>

    Have you enabled debugging ?
    https://codex.wordpress.org/Debugging_in_WordPress
    Have you examined your webserver logs ?

    Or you could adjust the opacity of the background image.
    It might just be easier to edit the background image in photoshop or gimp and reduce the saturation or contrast.

    So it was not the social media.
    I see how the div “gdir-header-container” is getting a width of 1140, but not the height of 342, this could be happening to the “dom” by the javascript doing the slider.
    Have you asked in the support forum for the slider ?

    Here is another approach, the SQL INSERT clause has a variation “ON DUPLICATE KEY UPDATE”
    details here:
    https://dev.mysql.com/doc/refman/5.5/en/insert-on-duplicate.html

    I use this when I had a page streaming form updates back to the server using AJAX, and the specific form row was part of the key, the context did not differentiate when it was the first data for that row or when the javascript sensed a revision to the contents and queued the rows data to be posted to the database again.

    Forum: Fixing WordPress
    In reply to: Upgrade to 4.9.5

    Something has gone wrong with the auto update process.
    Suggest that you do a manual update to 4.9.5 and probably it will get back onto the auto updates track.
    Look for errors during the update such as wrong file permissions, unable to delete files, unable to create files etc.
    Instructions for manual update here:
    https://codex.wordpress.org/Upgrading_WordPress_-_Extended_Instructions

    • This reply was modified 8 years, 1 month ago by RossMitchell.

    At first glance it looks like it is associated with the social media icons, the class name: “top-social-wrapper” may give you clues as to where it comes from, theme or plugin ?

    Forum: Fixing WordPress
    In reply to: Recipes

    I have made some websites a little like this.
    (One is a family tree wiki, people can search on names and dates, view displays of parents + grandparents + sibblings + partners + children + grandchildren. Logged in users can edit data and relationships.)
    You write a plugin that creates various shortcodes, some of the website pages use these shortcodes to create that page display.
    You probably could interface with google docs, but I have always created custom database tables and done it in SQL in the plugin.

    Certainly this is possible.
    Given your specific requirements you should expect to have this developed to your needs.
    Most likely a plugin, though a mix of plugin and page templates would also work.
    Your website homepage would consist of a single shortcode that invoked a plugin function, it would initially check if the user is logged in, if not would explain the need to login, and direct them to how to obtain an account. If they were logged in then it would query its database tables and display the reports. Other pages could have different shortcodes.
    I have constructed some websites that do online competitions that would fall into your framework. The entrants and judges each had their own login as did the supervisor, judges would be given a list of their assigned teams, and would review the docs and submissions on youtube, submit their marks and comments in the form. Teams would get their results and reports when the contest was complete, the supervisor could view progress of marking, progressive results, final results and reports.
    I customised the page header functions so that the top level menu varied depending upon the login status and their assigned role. As well each page checked that the user had the correct credentials.
    I had several custom database tables supporting the app, the rest of WordPress never knew about them.

Viewing 15 replies - 451 through 465 (of 3,259 total)