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
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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.