Forum Replies Created

Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter kuroz

    (@kuroz)

    Many thanks for that code – greatly appreciated. It worked and removed the More information field which is great. However, as other posters have requested, it would be a bonus to have only events with completed fields displayed and not display fields with blanks. For example, my site is about family history and quite often historical walks are done around a number of suburbs. It just gets messy if I have to always fill in the Location field.

    Still, a great little calendar.

    BTW could I use similar code on the other fields too to check for the empty string?

    Thread Starter kuroz

    (@kuroz)

    I’m heading off now so thank you for helping me. One more thing, given I can’t access the admin area of WordPress, is there some way that I can disable the plugins so that I can do a clean install of WordPress and add my content back in? I will check here in the morning to see if there are any options I haven’t thought of as yet.

    Thanks again
    Cathie

    Thread Starter kuroz

    (@kuroz)

    OK using PHPMyAdmin, I have gone into the database for the blog. Can’t mistake it as it is the only database I have now. In the table wp_options, the site URL is: https://www.mackayfamilyhistory.org.au/wp/ and the home URL is the same.

    Thread Starter kuroz

    (@kuroz)

    Sorry – PHPMyadmin – getting late here.

    Thread Starter kuroz

    (@kuroz)

    I can’t log into the admin area of WordPress. Is there another way I can view the settings through cPanel and/or PHYMyAdmin?

    Thread Starter kuroz

    (@kuroz)

    Krishna wrote:

    Yes, you are right. Theoretically, deleting your root directory should not affect your blog independently installed in a sub-directory.
    BTW, can you check what you have in the settings for site url and home url?

    Krishna
    I’m not sure where you want me to check the settings so I apologise if I’m a bit slow on the uptake here. The Joomla site was at mackayfamilyhistory.org.au and the WordPress blog was at mackayfamilyhistory.org.au/wp/. Is this what you mean?

    Thread Starter kuroz

    (@kuroz)

    I’ve just put up a ‘web site down for maintenance’ message on the main site so the database error won’t come up there but it will for mackayfamilyhistory.org.au/wp/. I have another site hosted on the same server which has a similar set up to this one with which I’m having issues. This other site also uses a database structure (but not Joomla) and the WordPress blog is in its own subdirectory. It is all working as it should so I doubt that it is a server issue. I think that the uninstall of Joomla has affected WordPress in some way but can’t work out what or how.

    Thread Starter kuroz

    (@kuroz)

    Krishna

    I’ve looked at my site now on a number of computers and have asked people who’ve never looked at it before to tell me what they see. All have given me the error message I’ve reported, not the internal server error message you report so I am not sure why we would all get a different message to you.

    When you refer to the dashboard, what one are you talking about – the WordPress dashboard and if so, then No I can’t log into it because I can’t access the site that way.

    Thread Starter kuroz

    (@kuroz)

    Since posting my issue, I’ve done further searches on the forum for the error message, “Error establishing a database connection”. Most responses seem to be along the lines of “It is likely to be issues with your host”. I an be almost 100% sure that the host for my site isn’t the issue. I had my web site using Joomla (& database) in the root of my public_html directory. I had a second database installed for WordPress with another version of the web site in a subdirectory of public_html. I decided that I wanted to continue with the WordPress version of the site and remove the Joomla version. Using Installatron, I uninstalled Joomla and hey presto, the error message came up about the database connection. I do not understand how removing Joomla and its database would impact on WordPress. I have checked all files and the config is still correct. I can still see everything once I log into PHPMyAdmin/Cpanel. I have a backup.

    I know that I can do a clean install and reload everything but I feel sure that it is only a simple matter of changing something in a file. Could deleting the Joomla database have affected WordPress in some way – are there files that would be shared under the public_html directory?

    Thread Starter kuroz

    (@kuroz)

    mackayfamilyhistory.org.au/wp

    Thread Starter kuroz

    (@kuroz)

    I have checked all of the above and it is correct. I had already copied the index.php and .htaccess and changed the following from:
    require(‘./wp-blog-header.php’);
    to the following, using your directory name for the WordPress core files:
    require(‘./wp/wp-blog-header.php’).

    What I didn’t do was change anything in the admin area of WordPress before deleting Joomla but I wouldn’t have thought that there was anything I needed to do as it should still be accessible through the subdirectory, shouldn’t it?

Viewing 11 replies - 16 through 26 (of 26 total)