Author Topic: Fatal error ps_main.php on line 1149..please help  (Read 3208 times)

giocr

  • Beginner
  • *
  • Posts: 6
Fatal error ps_main.php on line 1149..please help
« on: August 15, 2009, 18:45:25 pm »
When I try to upload a photo for produscts I receive this error, Can you please help...

Fatal error: Out of memory (allocated 42467328) (tried to allocate 35 bytes) in /home/mysite/public_html/administrator/components/com_virtuemart/classes/ps_main.php on line 1149

Scar

  • Full Member
  • ***
  • Posts: 1035
    • J-lux
Re: Fatal error ps_main.php on line 1149..please help
« Reply #1 on: August 15, 2009, 19:27:20 pm »
How big is this image? Also check that the file name only contains valid characters, no spaces etc. And that it is a valid file type.

giocr

  • Beginner
  • *
  • Posts: 6
Re: Fatal error ps_main.php on line 1149..please help
« Reply #2 on: August 15, 2009, 19:53:32 pm »
Thanks for your response but the error happens before I trying the select the photo, just click over the "NEW" Photo button in the FileManager box and the error appears.

Scar

  • Full Member
  • ***
  • Posts: 1035
    • J-lux
Re: Fatal error ps_main.php on line 1149..please help
« Reply #3 on: August 15, 2009, 20:16:20 pm »
Have you added a main picture for the product through the add product procedure?

giocr

  • Beginner
  • *
  • Posts: 6
Re: Fatal error ps_main.php on line 1149..please help
« Reply #4 on: August 15, 2009, 20:25:22 pm »
Yep just have the principal photo, Thumbnail. The point is how or where I can define the file or directory size to put more photos...?

MikeUK

  • Global Moderator
  • Full Member
  • *
  • Posts: 1344
Re: Fatal error ps_main.php on line 1149..please help
« Reply #5 on: August 15, 2009, 22:33:51 pm »
I don't understand your last question. Is it related to the error?

The error sounds like a php server configuration issue. Talk to your hosting company.

For more info about uploading pictures, see the user manual. Link in my signature.

Get answers faster:

I can build your online shop, setup or customize Virtuemart or help your existing shop maximize its potential. Email / PM for info