Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter pinnerite

    (@pinnerite)

    All enquiries led back to errors in wp-config.php.
    Finally, it occurred to me to search for a php code checker. I tried it on the sample config.php file – No errors.
    I then changed each item line by line running the php checker each time until finally the complete file was error free.
    I copied it to the blog directory on my domain and attempted to access it from a browser. No problems.

    I still am baffled by the earlier problems but thank you for hand-holding me. ??

    Thread Starter pinnerite

    (@pinnerite)

    As suggested I deleted everything on /blog and on my download directory relating to WordPress, excluding the zip file and went through the whole process again.

    The only difference this time is that the error code is now 77.

    I’ll tackle my hosting supplier as soon a i can.
    Thank you for your efforts. I’ll report back as soon as I have some fresh information.

    Thread Starter pinnerite

    (@pinnerite)

    I reworked from wp-config-sample.php and uoloaded to the web site.
    No difference.
    Line 32 seems to be just the closing marker of a comment(!)

    Thread Starter pinnerite

    (@pinnerite)

    I always employ Kate for editing text but there is always the possibility of a ‘slip ‘twixt cup and lip’.
    I’ll double check.

    Thread Starter pinnerite

    (@pinnerite)

    I finally managed to get into my hosting account’s cpanel and thence to MySQL.
    I deleted and recreated the database. I returned wp-config.php and edite it to match the changes that I had made and copied the amended file to the site.

    Now both:

    https://www.asandco.co.uk/blog/
    https://www.asandco.co.uk/blog/wp-admin

    return:

    Fatal error: Can’t use function return value in write context in /home/asandcoc/public_html/blog/wp-config.php on line 32

    Thread Starter pinnerite

    (@pinnerite)

    I have not been handling this well.

    I moved all the WP files from public_html to public_html/blog
    I then edited wp-config.php as suggested.
    There was no .htaccess in public_html/blog

    I could not get into cPanel.
    I assumed https://www.asandco.co.uk/blog/cpanel should do it.
    For now I’m a bit stuck.

    Thread Starter pinnerite

    (@pinnerite)

    I really appreciate this.

    I created /public_html/blog and moved all the WP files there.

    Thread Starter pinnerite

    (@pinnerite)

    At the mopment https://www.<mydomain&gt;.co.uk/index.php is not going anywhere!
    Except to a google listing.
    It looks like I’m going have to learn about .htaccess before I go any further. ??

    Thread Starter pinnerite

    (@pinnerite)

    Thank you. I’ll do as you suggest.

    Thread Starter pinnerite

    (@pinnerite)

    At Nativespace the WordPress files are situated on /public_html along with those for my website.

    https://www.asandco.co.uk/wp-admin/

    gets me to a logon screen for a new installation (it wasn’t even doing that yesterday) but I had already created the first part including activating mysql via cPanel.

    Thread Starter pinnerite

    (@pinnerite)

    Thanks for responding.

    Yes by domestic machine, I meant the local machine from which I access my domain.
    My web site is:

    https://www.asandco.co.uk

    Thread Starter pinnerite

    (@pinnerite)

    No my existing domain is hosted on Nativespace. It is to /public_html on my section of their server to which I have uploaded the WordPress files.

    For DB_HOST I have tried assigning ‘albury.asandco’ (my machine’s hostname but have since switched to ‘localhost’. Neither produce anything different. I certainly cannot get a login panel.

    Although I can access my website at the moment, I cannot access Nativespace in order to seek advice from them. Neither the .com or .co.uk sites.

    Thread Starter pinnerite

    (@pinnerite)

    No the install process was handled via me as the user.

    Since you confirmed that I need not move the files to a separate folder I left them on my hosting provider’s /public_html folder.

    When I go to my domain’s /wp-admin from Google I get an apparently random return from a Google search.

    However, something niggles me. When I accessed MySQL to create the database it was handled via cPanel which would be addressing the facilities allocated to me by Nativespace and not MySQL on my demestic machine. Indeed at this stage I do not even have MySQL (or MariaDB) installed on my machine. So what is DB_HOST supposed to be pointing to? What is its purpose?

    Thread Starter pinnerite

    (@pinnerite)

    I always change my hostname so as to identify every machine on my LAN so that is not the cause of my problem.
    The table_prefix is the default -> wp_

    I have checked and triple-checked the other entries,I think the time has come to raise the issue with my hosting provider Nativespace.
    Presumably it is their MySql server and that my have issues at the moment.

    Thread Starter pinnerite

    (@pinnerite)

    I think the problem is most likely to be that I may not have the database server name entered correctly.

    At DB_HOST I had entered my machine’s hostname.

    I just checked it at $hostname

    Should there be more to it than this?

Viewing 15 replies - 1 through 15 (of 16 total)