• Hello I had some trouble with the wp-config-sample and wp-config file as I saw in my cpanel fantasico that my wordpress is outdated, I went onto my website and my website is down when I did not even touch anything and saw this message

    “There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.

    Create a Configuration File”

    When I tried to create the config file through that link on my website, I was asked to reupload config file from installation which I did and upload the config file from the latest version but I get this

    “Sorry, I can’t write to the directory. You’ll have to either change the permissions on your WordPress directory or create your wp-config.php manually.”

    Permissions for wp-config-sample.php and setup-config.php was set to 777 and even when I manually create and upload the wp-config.php file, I dont even see any message from wordpress but ie display error message saying programming error.

    Lastly when I tried to login admin https://www.mydomain.com/wp-admin I get error message saying

    “Warning: main(../wp-config.php) [function.main]: failed to open stream: No such file or directory in /home/wzhyng/public_html/wp-admin/admin.php on line 7

    Fatal error: main() [function.require]: Failed opening required ‘../wp-config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/wzhyng/public_html/wp-admin/admin.php on line 7″

    The line 7 on admin.php file is

    require_once(‘../wp-config.php’);

    Can anyone guide me how to slove this issue and update my wordpress while preserving my current contents, any help will be greatly appreciated.

    Many Thanks. ??

Viewing 1 replies (of 1 total)
  • you’ll have to figure out the database name and username and password for that database that fanastico made. Then just upgrade manually and create the new wp-config file using the info you found out.

Viewing 1 replies (of 1 total)
  • The topic ‘Need assitance on wp-config and update’ is closed to new replies.