While logged in, can't edit my website at all.
-
Hi all, like many others I was trying to remove the comments section on my website completely. I searched some trouble shooting and read through some support forums and ran across a great one. While following these steps….
If you wish to remove the comments/replies stuff directly, here’s the steps.
1) Open your ftp to: /wp-content/themes/twentyten or whatever theme dir your theme may be within.
2) Then open the loop-page.php, loop-single.php, and loop.php files. Search for the words ‘comments_template’. Comment out those lines by adding // to the front of them.
3) You can also try uploading a blank comments.php file… be sure to backup the org one first.That should do it though.
…. I couldn’t seem to figure out what step 2 was. I am totally new to coding and have no clue what loop-page.php, loop-single.php, and loop.php files are. So I was just trying to find that in the coding somewhere word for word. and I believe what I did wrong was put // somewhere i shouldn’t have, and now anytime i try to click anything related to editing my website, and i mean ANYTHINGi can’t edit my website . I can’t even start over with a new theme, WordPress wont allow me to go to my dashboard at all. Anyway after I put // on the coding, the next day this error popped up…
Warning: require_once(/home1/kristi/public_html/wp-admin/includes/comment.php): failed to open stream: No such file or directory in /home1/kristi/public_html/wp-admin/includes/admin.php on line 26
Fatal error: require_once(): Failed opening required ‘/home1/kristi/public_html/wp-admin/includes/comment.php’ (include_path=’.:/opt/php54/lib/php’) in /home1/kristi/public_html/wp-admin/includes/admin.php on line 26
Here is what I did
1st) logged into my host site, Hostgator2nd) went to Primary tab ‘hosting’ – secondary tab ‘Files and Folders’ – Tertiary tab ‘Open File Manager’
3rd) Brought me to what seemed to be a coding page of some sorts
4th)clicked on ‘Public_html’ then ‘wp-includes’ then ‘theme compat’ which brought me to ‘comments.php’ which then asked me to open up DreamWeaver, which I have never used and basically I added the // on line 103, which I took a screen shot of just in case. But even the screen shot isn’t helping.
Someone Please help, all I want to do is be able to edit my website again. I cant even do that.
- The topic ‘While logged in, can't edit my website at all.’ is closed to new replies.