I am extremely new to wordpress, but was tasked with fixing two websites for the company I am interning with this summer and things have taken a turn for the worse with one of them. (joke is on them now)
The “broken” site in question is BPremium.es, which to start with had no theme and wouldn’t display any content. Thus, I tried downloading a theme which gave me the error wp content cannot be found.
So I went into the FTP and edited my wp-config.php with the following code which I saw on this site to possibly fix this issue and make updates/installs easier and saved the file.
add_filter(‘filesystem_method’, create_function(‘$a’, ‘return “direct”;’ ));
define( ‘FS_CHMOD_DIR’, 0751 );
After this, I went to log back into the dashboard to see if it worked. To my suprise when I tried to login it just went to a blank white page!!
So I went back into the FTP, removed the code I entered at the end of my wp-config.php, and resaved it so it was like the original. I thought this would fix it, but I am still unable to login to the site to edit anything.
Do you guys have any ideas what the problem may be? Think I might have tried to get a little too advanced too quick but I was feeling somewhat confident until now.
P.S.- In both websites’ FTPs I also cannot even find the wp-content.php anywhere, there was a string of code at the end of the wp-config.php that referenced the wp-content though. Can these files be one in the same? (sorry if that is a dumb question)
- The topic ‘Edited wp-config.php now can't login to dashboard’ is closed to new replies.