• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

I keep getting this message

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • I keep getting this message

    I keep getting this message when I attempt to upload a pic: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in /home/httpd/vhosts/meguiarsonline.com/httpdocs/gallery/image-inc.php on line 81

    Even after extensive tweaking with EZ thumbnails.
    Any clues?
    Erik Mejia

    Polishing Paint removes the stress in my life, and the swirls on my car.

  • #2
    33554432 bytes = 32 MB (I think, 1024 bytes = 1 kb, 1024 kb = 1 MB)
    32 MB is very very big for a pic file so are you uploading the right file? After tweaking my pics, they are in the 20-100 kb range.

    Comment


    • #3
      32mb is a clip size not a pic size. Might want to see if its a clip you're trying to upload instead of a pic.

      Comment


      • #4
        Whatever you uploaded haulted the PHP script at line 81.

        PHP.inc, the configureation file of PHP, must be set to hault/unload scripts when they use too much resources. Resources are processing time, memory usage on the server, et cetera.

        When you go above and beyond the limits, PHP will unload.

        Essentially, the HTML in the webpage will look much like this:


        Choose a file to upload:





        It basically says make a box to browse and find a file and a button called "Upload File" that when clicked will submit the file to "uploadedfile" in uploader.php. It is uploader.php that will do the uploading with the help of your web-browser.

        The PHP itself looks much like this:

        PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.

        Comment


        • #5
          Try smaller pictures. Your picture file sizes are likely way to big.

          Comment

          Your Privacy Choices
          Working...
          X