when I want to upload a picture, I see this message in the header:
In your php.ini file, the upload_max_filesize (10MB) is bigger than post_max_size (8MB), you should change this settings
Then, I see this error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3200 bytes) in /pad/to/my/website/photo_album/admin/include/functions_upload.inc.php on line 254
What should I do?
Offline
Gust wrote:
when I want to upload a picture, I see this message in the header:
In your php.ini file, the upload_max_filesize (10MB) is bigger than post_max_size (8MB), you should change this settings
The PHP configuration should be changed. post_max_size should be bigger than upload_max_filesize
Gust wrote:
Then, I see this error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3200 bytes) in /pad/to/my/website/photo_album/admin/include/functions_upload.inc.php on line 254
What is your Piwigo version?
Offline
plg wrote:
The PHP configuration should be changed. post_max_size should be bigger than upload_max_filesize
I can 't find a php.ini file
plg wrote:
What is your Piwigo version?
Piwigo 2.1.2
Offline
I had exactly the same problem. The PHP.INI file is something that your webhost controls with the version of PHP that they use.
MY host is 1and1 (using PHP 5) and I couldn't get access (shared hosting) to the php.ini file. Through their help files and contact with their tech support they told me how to write a new php file that would bypass the original php.ini file. Then I was suppose to put it in every folder that Piwigo uses that needs the php file.
After hours of attempting to fix the issue all it managed to do was create more problems, to the point I couldn't even upload any images at all. Even after deleting the php file I wrote from all the folders, it was still a mess.
My solution was to use ploader instead. I've had no issues uploading any size file (up to 10 megs so far).
Last edited by NWS (2011-04-29 17:23:10)
Offline
NWS wrote:
MY host is 1and1 (using PHP 5).
If you try to upload photos bigger than 3000px (width), you will get a memory error.
Try this plugin: [extension by P@t] External ImageMagick, it's work perfectly on 1and1.
Offline
I have installed the plugin too, for 2.1.2 and I see this error:
Warning: array_push() [function.array-push]: First argument should be an array in /pad/to/my/fotoalbum/plugins/external_ImageMagick/main.inc.php on line 24
Warning: Cannot modify header information - headers already sent by (output started at /pad/to/my/fotoalbum/plugins/external_ImageMagick/main.inc.php:24) in /pad/to/my/fotoalbum/include/page_header.php on line 98
Last edited by Gust (2011-04-29 17:56:22)
Offline
P@t wrote:
NWS wrote:
MY host is 1and1 (using PHP 5).
If you try to upload photos bigger than 3000px (width), you will get a memory error.
Try this plugin: [extension by P@t] External ImageMagick, it's work perfectly on 1and1.
Mine are 3872 and was getting a memory error. 1and1 told me how to write the php.ini file so I wouldn't have that problem but it didn't work. With ploader I have no problems, BUT, sometimes it would be nicer to upload through the Piwigo interface.
I'll give the plugin a shot and see how that works. Thanks!
Offline
Gust wrote:
I have installed the plugin too, for 2.1.2 and I see this error:
Warning: array_push() [function.array-push]: First argument should be an array in /pad/to/my/fotoalbum/plugins/external_ImageMagick/main.inc.php on line 24
I will check that... but this error significate that piwigo is not able to locate ImageMagick installation.
Offline
plg wrote:
Gust wrote:
when I want to upload a picture, I see this message in the header:
In your php.ini file, the upload_max_filesize (10MB) is bigger than post_max_size (8MB), you should change this settingsThe PHP configuration should be changed. post_max_size should be bigger than upload_max_filesize
Gust wrote:
Then, I see this error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3200 bytes) in /pad/to/my/website/photo_album/admin/include/functions_upload.inc.php on line 254What is your Piwigo version?
Hi, i'm just finding my feet with this but i'm new to it all.
Could you please tell me where i can change the post_max_size so that it's bigger than upload size?
Piwigo is great BTW! best i've tried.
guest2011 wrote:
Hi, i'm just finding my feet with this but i'm new to it all.
Could you please tell me where i can change the post_max_size so that it's bigger than upload size?
Piwigo is great BTW! best i've tried.
If your hoster is 1and1, you can create a php.ini file a the root of piwigo installation, and write something like that inside:
upload_max_filesize = 40M post_max_size = 40M
Offline
VDaemon Error: Group Validator must contain at least one Validator
</td>
<td>
<vlgroup size="1" name="age">
<option selected value="age">Age</option>
<option value="1">1</option>
"VDaemon Error: Validator referenced by Validators attribute not found"
<tr>
<td>
<vllabel errclass="error" validators="Age" for="Value" cerrclass="controlerror">Age</vllabel>
</td>
<td>
please any body can help me what is this error...............
hai,
i am creating a new website almost it is over with some errors.....
In my home page i want code in javascript how to insert a photo dynamically by user .