Jump to content

Directory Handle and imagecreatefromjpeg()


kvnmck18

Recommended Posts

Any error messages to go by?(you know the procedure... add ini_set('display_errors', 'On'); at the top, just to be sure errors get displayed)

Link to comment
Share on other sites

Error:

Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 8192 bytes) in /hermes/web01/b1909/'WEB_SITE_ADDRESS'/htdocs/admin/App/test.php on line 8
Link to comment
Share on other sites

I've tried adding this:

ini_set("memory_limit","12M");

But wasn't helpful. Maybe change it to bytes...??

Link to comment
Share on other sites

Well... actually when I do this:

ini_set("memory_limit","52582912");

It works, but whenever I add "M" at the end... it doesn't. If it works, I guess it works?? haha

Link to comment
Share on other sites

Well... actually when I do this:
ini_set("memory_limit","52582912");

It works, but whenever I add "M" at the end... it doesn't. If it works, I guess it works?? haha

Well, yeah, this FAQ entry says you can't use the shorthand notation outside of php.ini, i.e. it can't be used with ini_set() or .htaccess files.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...