• Resolved dan.regueira

    (@danregueira)


    I was trying to find a way to post a .zip folder of photos from a formal event that was over 200MB into a post so that we could have parents download them (it’s a website for a school organization) and so I googled a couple of ways to change the annoying 2MB post limit. I found that the plugin WP Htaccess editor would help me do this.

    Well as many of you may’ve guessed I messed with the .htaccess by inserting these two lines of code at the bottom like an idiot.

    php_value upload_max_filesize 300M
    php_value post_max_size 300M

    Now I get a 500 Internal Server Error whenever I try to log in as admin and fix this problem. I’m freaking out because I just broke the website of this school organization that I’m a part of and have no idea how to fix it. I’ve called our hosting service and they said that they would send an email if they were able to fix it. I have yet to receive an email after several hours. I know this was a very dumb mistake and if anybody knows a way to fix this it’d be MUCH appreciated.

    Thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • Do you have another way to access that htaccess file other than through the plugin? Like Plesk/Cpanel/PHPmyAdmin or perhaps FTP (make sure to make hidden files visible)?

    Thread Starter dan.regueira

    (@danregueira)

    I don’t think so. I can’t even get to the Dashboard to check right now because whenever I go to the log in page it gives me the 500 Internal Server error. So I’m not sure where to go from here.

    Thread Starter dan.regueira

    (@danregueira)

    You don’t have a control panel of your host or FTP or anything? How was WP installed in the first place then?

    Roy is not talking about the WordPress Admin but about your ISP account control panel, if you are not sure about this contact your ISP support department to help you get file manager access, or FTP.

    Once you are back up and running:
    As you say it is photos for parents then I assume the post is password protected, or the parents have to register to download?

    If you have a look at the plugin wp-download-monitor you can link to a url, so upload the zip through your ISP filemanager or FileZilla (FTP) to the /wp-contents/uploads/ folder on your website, and just link to the file download in the post for the zip file, the browser will then prompt to save the file without the WordPress size limit.

    HTH

    David

    Thread Starter dan.regueira

    (@danregueira)

    How do I change my .htaccess file back to normal once I’ve obtained this information? I’ve downloaded FileZilla.

    Again huge thanks for the help.

    Thread Starter dan.regueira

    (@danregueira)

    And thanks with the photo help. That sounds like a much better option once I get the site back up.

    Thanks

    How do I change my .htaccess file back to normal once I’ve obtained this information? I’ve downloaded FileZilla.

    Once you log in using filezilla allow to see the hidden file is on server tab and just rename file to say .htaccess_hold

    Thread Starter dan.regueira

    (@danregueira)

    Okay, I’ve forced showed hidden files but I don’t see the .htaccess, the only thing I see is access-logs. Is this it?

    Thread Starter dan.regueira

    (@danregueira)

    I believe I’ve found it within “www”. Would it be advisable to just take out the bit of code that I added in a simple text editor or is there another course of action I should take?

    I tried renaming the file to .htaccess_hold as mentioned above but I still wasn’t able to log into the dashboard.

    I’m sorry I’m very new/bad at this so I’m struggling with every step of this solution. Help is much appreciated.

    Thread Starter dan.regueira

    (@danregueira)

    Well, I went ahead and took out the offending line of code that I insterted at the bottom in .htaccess file in the “www” folder and the “public_html” folder. I took out the line of code in basic text edit in OSX then closed and saved it.

    Now I’m getting a 404 error when I try to log in and some of the activated theme shows
    https://utsporttkd.com/wp-login

    I’ll wait for responses here before I take any further steps. Thank you.

    https://utsporttkd.com/wp-login.php is the link you need, as you’ve probably already worked out.

    Thread Starter dan.regueira

    (@danregueira)

    Yeah sorry about that, I’ll close this thread. Thanks everyone

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Huge Newbie Mistake Please Help’ is closed to new replies.