WordPress.org

Ready to get started?Download WordPress

Forums

when adding larger image to media library, gives login instead of image (18 posts)

  1. PeacockAndPaisley
    Member
    Posted 4 years ago #

    I just added a php5.ini which increased my max file upload size on GoDaddy shared deluxe linux hosting. I'm now able to get past the 8M upload limit half the time -- the file goes all the way through the 100% uploading sequence, but instead of the image showing up, I get a log in thing! When I sign in to that, I get a page asking if I really want to do that. If I click the save all changes button down below, it shuttles me over to the image library, but without the new image. I just tried it again, to be able to share the precise error messages, but now it's telling me the file is too big (over 8M)! I'm confused!!

  2. PeacockAndPaisley
    Member
    Posted 4 years ago #

    PS: I basically followed the directions in this thread to increase max upload file size: http://wordpress.org/support/topic/276318

  3. Oscar Gonzalez
    Member
    Posted 4 years ago #

    Anychance you could post a picture (screenshot) of the actual error when it happens? Did you try asking GoDaddy about this?

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    I've had problems with php.ini files on godaddy....I basically have two files.... php.ini and php5.ini, both with the same content.

    Maybe just coincidence, but since I did that, my upload limits have not bugged out

    also, do you have a phpinfo file setup so you can check your php settings? Make sure everything is good?

    <?php
    
    phpinfo ();
    
    ?>

    make a new file called whatever.php, drop that bit of code in it, then point your browser at it

  5. PeacockAndPaisley
    Member
    Posted 4 years ago #

    Thank you for responding -- I'll try to recreate it, although my last few tries just got me the over 8M error message.

    I had talked with one GoDaddy rep about a month ago who basically told me I was out of luck. He was pushing me to get a more expensive hosting plan.

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    I believe in the godaddy help section on their website...you can actually search for php.ini and they give you an example.....it's where I learned how to change it.

    I used deluxe linux shared for a couple years with no problem, with a 200M upload limit set in php.ini.....you will be fine once it works....

  7. PeacockAndPaisley
    Member
    Posted 4 years ago #

    I've tried clearing the cache and restarting Firefox, but it's just giving me the "This file is too big. The maximum upload size for your server is 8M." message. Again.

    Is it possible the GoDaddy is overriding my php5.ini at the top of the hour when they reset the servers or something?

  8. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    Not that I'm aware of. I haven't touched my php.ini or php5.ini files in over a year and my limits stick.

    Did you actually make the php test file I suggested and check the info?

  9. PeacockAndPaisley
    Member
    Posted 4 years ago #

    RVoodoo, I'll add the php.ini file back, in addition to the php5.ini! Where did you put them? I have php5.ini in a main directory, in the directory for the WP site, and in that site's wp-admin folder.... Overkill?

  10. PeacockAndPaisley
    Member
    Posted 4 years ago #

    And how long does it usually take for the php.ini files to "take" with GoDaddy? I know the .htaccess files used to take 24 hours sometimes...

  11. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    I put my php.ini and php5.ini in the main html directory.....I think I may have also dropped them into the actual WP directory......you won't need them in the wp-admin folder

  12. PeacockAndPaisley
    Member
    Posted 4 years ago #

    I will make the php test file in just a second -- I hadn't seen your file before my post went through.... hold on.... and thank you!!

  13. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    memory_limit = 500M
    post_max_size = 500M
    file_uploads = On
    upload_max_filesize = 250M
    upload_tmp_dir = /home/content/r/v/o/rvoodoo/html/tmp

    just for comparison....
    here is some of the stuff in my php.ini

    if I recall...the spaces before and after the = are important....at least on godaddy....
    (again...maybe not, and it was justa coincidence it worked for me just then)

  14. PeacockAndPaisley
    Member
    Posted 4 years ago #

    I did the phpinfo file, and it says I have 200M file upload, etc. as in my php.ini files. This is my php.ini:

    register_globals = off

    allow_url_fopen = off

    expose_php = Off

    max_input_time = 60

    variables_order = "EGPCS"

    extension_dir = ./
    upload_tmp_dir = /tmp
    precision = 12
    SMTP =

    relay-hosting.secureserver.net
    url_rewriter.tags =

    "a=href,area=href,frame=src,input=src,form=,fieldset="

    [Zend]
    zend_extension=/usr/local/zo/ZendExtensionManager.so
    zend_extension=/usr/local/zo/4_3/ZendOptimizer.so

    memory_limit = 200M
    post_max_size = 200M
    file_uploads = On
    upload_max_filesize = 200M

  15. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    hmmm....then you've got your php.ini file set up correctly....I'm not at all sure why WP would be giving you grief...

    I hope someone else can help ya now....

  16. PeacockAndPaisley
    Member
    Posted 4 years ago #

    Thanks, RVoodoo! I appreciate your help!

    Anyone else? Please! :)

  17. PeacockAndPaisley
    Member
    Posted 4 years ago #

    When I look at my php info page, 8 times out of 10, it says I have only an 8M upload. 2 times out of 10 it says the correct 200. I've clicked through, refreshing the page for 3 cycles -- about 30 page refreshes, and it stays on 8M for about 8 refreshes, changes to 200 for 2 refreshes, then goes back to 8M for 8 to 9 refreshes. What is that?

  18. Go Daddy
    Go Daddy Support
    Posted 4 years ago #

    @PeacockAndPaisley
    .htaccess files are recognized immediately.

    I'd like to take a look at this. If you feel comfortable, please post the domain name.

Topic Closed

This topic has been closed to new replies.

About this Topic