New Wordpress Installation Showing Error Message

by 7 replies
9
Hi warriors,

I had completed a new wordpress installation on my server and tried to restore my files etc from my old blog but no data/information apart from the initial 1 post and 1 comment was showing on the new blog.

I then accessed the wp-confiq.php to update these variables

Data base name
Data Base User
Data Base Password

which i did and my site is now showing this error message.


Kindly advise on what i have to do to rectify the situation, even at least to restore it first of all to the initial position of not showing my restored posts.
#programming #error #installation #message #showing #wordpress
  • Can you post the contents of your wp-config.php file. Making sure to blank out your database user and passwords.

    It looks like there is a syntax error causing the problem in this file. Maybe because there is whitespace before the <?php tag.
  • Look at line 1 in wp-config.php. Looks like you deleted or added something by accident.
  • Thank you guys for your response.

    I have crosschecked for any blank spaces but cannot find any.

    I have also copied wp-confiq-sample.php to editor, placed my details in the slots provided and uploaded to server as wp-confiq.php, with no different result.

    Below is the wp-confiq.php. I have edited out the security details
    Thank you for your assistance.

    • [1] reply
    • Can hardly read that code but try putting a space between the <?php and the first forward slash.
      • [ 1 ] Thanks
  • Do you get the same error message if you put in a new copy of wp-config.php?

  • I have tried putting in the wp-confiq-sample.php but not a new wp-confiq.php from elsewhere outside my server

    Where can i get that?
    • [1] reply

Next Topics on Trending Feed