+ Reply to Thread
Results 1 to 18 of 18

Thread: Image Upload limit

  1. #1
    guroos is offline New Bee
    Join Date
    Apr 2009
    Posts
    3
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Upload limit

    I am currently running Photostore on my site hosted by you. When I go to upload images it tells me it is limited to files under 1.9mb and this limit is imposed by the host.

    In addition these images are in excess of 4000 pixels in resolution so even when I get them under 1.9mb they still will not process. I have found that I have to get them down to 2800 pixels & be under 1.9mb in order to be processed.

    What can I do to lift this limit to 4800 pixels and 10mb limits?

    I should add that I can ftp these files ok but Photostore will not process them saying the host has limited PHP processing memory.
    "memory_limit of 32M" and I need at least 80mb
    Last edited by guroos; 04-30-2009 at 11:01 PM.

  2. #2
    Arkadij S Guest

    Default

    Hi guroos,

    In order to get this problem solved, I'd rather you create a local php.ini file and place it to the very folder, where your Photostore script is located.

    This php.ini file can be easily created in the notepad and should contain the following lines:
    [PHP]
    memory_limit = 96M

    That will be enough even for photos of a bigger size.

    In addition you can place another line in this file below:

    upload_max_filesize = 96M

    In case, you have any other questions, don't hesitate to get back to us.

  3. #3
    guroos is offline New Bee
    Join Date
    Apr 2009
    Posts
    3
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default error when adding php.ini

    Thank you for your quick response. However when I add a php.ini I get the following error:

    Site error: the file /home/guroos/public_html/store/addon.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

  4. #4
    Arkadij S Guest

    Default

    You seem to need our global php.ini file to be put into that folder.
    Please be so kind to go to https://www.whbsupport.com and submit a ticket to our technical support department, requesting the global php.ini file to be put into /home/guroos/public_html/store/ directory. Please also don't forget to provide your server name or main domain name. Looking forward to hearing from you.

  5. #5
    guroos is offline New Bee
    Join Date
    Apr 2009
    Posts
    3
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Many thanks

    that seems to have done the trick

  6. #6
    Arkadij S Guest

    Default

    It was a pleasure to help you
    Feel free to contact us at any time.

  7. #7
    lzzrdboy's Avatar
    lzzrdboy is offline The Reverend
    Join Date
    May 2009
    Location
    SC USA
    Posts
    17
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm having a similar issue with Joomla and JoomGallery. I'm completely aware of the 2MB file size upload limit but now that I see a post where you guys have advised another user how to increase the limit...I WANT IN. LOL! I would try the php.ini fix but since I'm using a Joomla Component and NOT a photostore script I thought it best to ask first.

    So, in my case, how would I go about increasing the upload max file size? I have NO need to increase the memory I think.

    Thanks in advance!

    Versions:
    Joomla 1.5.10
    JoomGallery 1.5.0
    Peace!
    The Reverend LzzrdBoy

    My Sites:
    A Family Affair dot org
    Moving Mercury dot com
    The Casual Kings dot com
    Groovy Gamer dot com
    **********************
    LzzrdBoy on XBOX Live
    LzzrdBoy on Twitter

  8. #8
    Sergey S.'s Avatar
    Sergey S. is offline WeeHBie
    Join Date
    Oct 2008
    Posts
    181
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You can go ahead and create the php.ini file described by Arkadij S.
    And have the following line there:

    [PHP]
    upload_max_filesize = 96M
    Regards,
    Sergey S.
    Customer Support
    WebHostingBuzz.com
    WHB Networks LLC *Hosting Wakeup Call*

  9. #9
    lzzrdboy's Avatar
    lzzrdboy is offline The Reverend
    Join Date
    May 2009
    Location
    SC USA
    Posts
    17
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by sergey.s View Post
    You can go ahead and create the php.ini file described by Arkadij S.
    And have the following line there:

    [PHP]
    upload_max_filesize = 96M
    Thanks again Sergey...dude you're all over the place today! NICE WORK!

    One more thing...do I put the php.ini file in my JoomGallery component directory or in the root of my Joomla site?
    Peace!
    The Reverend LzzrdBoy

    My Sites:
    A Family Affair dot org
    Moving Mercury dot com
    The Casual Kings dot com
    Groovy Gamer dot com
    **********************
    LzzrdBoy on XBOX Live
    LzzrdBoy on Twitter

  10. #10
    Taras O. Guest

    Default

    Yes, you need to put this file into each directory you need to change settings for.

  11. #11
    lzzrdboy's Avatar
    lzzrdboy is offline The Reverend
    Join Date
    May 2009
    Location
    SC USA
    Posts
    17
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by taras.o View Post
    Yes, you need to put this file into each directory you need to change settings for.
    Pardon my stupidity but I'm guessing you're stating I should place a copy of the file into EVERY directory which RECEIVES uploaded files? Or do I need to place it into EVERY directory... PERIOD!

    Thanks!
    Peace!
    The Reverend LzzrdBoy

    My Sites:
    A Family Affair dot org
    Moving Mercury dot com
    The Casual Kings dot com
    Groovy Gamer dot com
    **********************
    LzzrdBoy on XBOX Live
    LzzrdBoy on Twitter

  12. #12
    Taras O. Guest

    Default

    To every directory which contains the script which is designed for uploading.

  13. #13
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    A local PHP.ini files applies only to scripts in the directory containing the PHP.ini. That's why if you want it to apply to scripts in multiple directories, you must copy PHP.ini into each of those directories. This is different from how an .htaccess file operates.
    I am not WHB staff and I am not paid.
    I provide help in these forums on my own time.

  14. #14
    Colin's Avatar
    Colin is offline Wait, What?
    Join Date
    Aug 2007
    Posts
    175
    WHB Points this Month
    0.00
    WHB Points
    5.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    In theory, if you're using a CMS package, the local PHP.ini script should only need to be in the same folder which runs the uploading script, however, you might want to check with the Joomla people to see how to properly set it up to work with their software.

  15. #15
    lzzrdboy's Avatar
    lzzrdboy is offline The Reverend
    Join Date
    May 2009
    Location
    SC USA
    Posts
    17
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by taras.o View Post
    Yes, you need to put this file into each directory you need to change settings for.
    I never came back to thank you again for the follow-up so, Thanks again!
    Peace!
    The Reverend LzzrdBoy

    My Sites:
    A Family Affair dot org
    Moving Mercury dot com
    The Casual Kings dot com
    Groovy Gamer dot com
    **********************
    LzzrdBoy on XBOX Live
    LzzrdBoy on Twitter

  16. #16
    carlobee is offline Member
    Join Date
    Jul 2009
    Posts
    41
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm also having this problem. Good thing I ran into your thread! thanks. got tips from Arkadij and sergey.

  17. #17
    horsemanworld is offline New Bee
    Join Date
    Nov 2009
    Posts
    1
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I do not mean to be ignorant but where and how do I edit the directories? I am so new at this. Thank you in advanced!

  18. #18
    Anna M.'s Avatar
    Anna M. is offline WeeHBie
    Join Date
    Dec 2008
    Posts
    453
    WHB Points this Month
    0.00
    WHB Points
    50.00
    Thanks
    2
    Thanked 6 Times in 3 Posts

    Default

    if you are asking how to add a php.ini file to increase a memory limit, it should be uploaded via FTP to each folder with a script which needs this kind of increase or via file manager in cPanel
    CS Team
    WebHostingBuzz.com

    Get the latest news and promotions by following us on Twitter and Facebook

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts