Jump to content

Please help me to sove this problem


hailam

Recommended Posts

I am using a script called AZ Photo Album Script Pro for my photo gallery,

the index.php in the /include/ directory is not allowing my to upload large

images. This is the error I get when I try to upload a larger image

"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in /home/a1082769/public_html/img/Upload/includes/classes/img2thumb.php on line 22"

Here you can get img2thumb.ph http://download87.mediafire.com/zccwmmbyyqxg/zmniynzyjtv/img2thumb.php

 

I am very new to php, Please guide me to solve this problem

Thank you

Link to comment
https://forums.phpfreaks.com/topic/152400-please-help-me-to-sove-this-problem/
Share on other sites

Can you tell me where is that php.ini, is it in the same AZ photo album directory or somewhere else. because I don't see any file named php.ini. there are files like index.php, login.php logout.php menu.php. but php.ini don't see at all, or is it a hidden file

 

Thank you

it's a PHP configuration file located on the server.  if you are on a hosted server you may need to contact your host to get access to it if they will even allow you.

 

it will be below your public_html directory so as to not be visible to the public, so check there.

 

be warned though, if you do gain access to it, be careful .. 'cause again, that is you PHP config.

 

you're best off using the ini_set() function: http://www.php.net/manual/en/function.ini-set.php.

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.