|
Joined: Mar 2010
Posts: 34
newbie
|
newbie
Joined: Mar 2010
Posts: 34 |
Can anyone help please. When i try to upload a picture on my forum it says
Fatal error: Call to undefined function: resize_image_() in /home/sites/thewirral.org/public_html/libs/image.inc.php on line 66
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
Try going to the gallery settings in the control panel and just "submit" the page
|
|
|
|
Joined: Mar 2010
Posts: 34
newbie
|
newbie
Joined: Mar 2010
Posts: 34 |
No not working mate. Just changed a few settings and now it is saying
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5120 bytes) in /home/sites/thewirral.org/public_html/libs/image.inc.php on line 78
|
|
|
|
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
|
Pooh-Bah
Joined: Jul 2006
Posts: 2,143 |
Well, submitting the form did work, it is no longre an undefined function. Now the (no longer undefined) function is taking more memory than your php settings have made available to it.
Try again with a smaller image. I'm not sure which php.ini setting you would need to increase for this, but starting with a smaller image would also work.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
php.ini needs to be changed to allow for a larger POST submit size, you also might want to increase the maximum file upload size while you're there.. 2 values to change
|
|
|
|
Joined: Mar 2010
Posts: 34
newbie
|
newbie
Joined: Mar 2010
Posts: 34 |
Thanks guys. Could you tell me where and what i need to change please.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
do you have access to your php.ini?
|
|
|
|
Joined: Mar 2010
Posts: 34
newbie
|
newbie
Joined: Mar 2010
Posts: 34 |
do you have access to your php.ini? Im not sure how would i find out?
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
If you don't know what it is, I doubt you have access to it... Or would feel comfortable with going through a webserver configuration file (assuming you're on a dedicated server).
if you're on a standard shared host, you'll need to email your host and ask them to up the settings
|
|
|
|
Joined: Mar 2010
Posts: 34
newbie
|
newbie
Joined: Mar 2010
Posts: 34 |
If you don't know what it is, I doubt you have access to it... Or would feel comfortable with going through a webserver configuration file (assuming you're on a dedicated server).
if you're on a standard shared host, you'll need to email your host and ask them to up the settings Ok thanks so much for your help. So it says when i go to upload a pic 2m does that mean mb?
Last edited by Vic; 04/02/2010 9:35 PM.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
yes 2M is 2MEG you will also ask your hosting provider to increase the maximum post size limit as well.. see if you can get them to give you 6M or even shoot the moon for 10M then you can regulate that on your side in ubb.threads settings so you don't allow HUGE pictures anyway
|
|
|
0 members (),
719
guests, and
142
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|