Yesterday I attempted to upload a video, and found I didn't have enough memory (8mb/2mb's) I read all the help files on this and I can't seem to locate this line of script anywhere. It's not in the php.ini, nor the config.php.
php_value post_max_size 10M
php_value upload_max_filesize 10M
I'm reading these help files
http://gallery.menalto.com/node/62603
http://codex.gallery2.org/Gallery2:FAQ
-----------------------------------------
Then in another thread Valiant says:
the text is in modules/core/templates/ItemAddFromBrowser.tpl
I looked there and noticed that the script seems incomplete? Should it end in {/if}? I checked the folder on my harddrive, and it's the same. Can you just verify that this is correct? Below are the last lines of script from ItemAddFromBrowser.tpl
{* Include our extra ItemAddOptions *}
{foreach from=$ItemAdd.options item=option}
{include file="gallery:`$option.file`" l10Domain=$option.l10Domain}
{/foreach}
<div class="gbBlock gcBackground1">
<input type="submit" class="inputTypeSubmit"
name="{g->formVar var="form[action][addFromBrowser]"}" value="{g->text text="Add Items"}"/>
</div>
{/if}
------------------------------------------
http://museum.reiddust.com/wing/gallery2/main.php
Gallery version = 2.2.1 core 1.2.0.1
PHP version = 4.3.11 apache
Webserver = Apache
Database = mysql 4.1.20-max-log, lock.system=flock
Toolkits = ArchiveUpload, Getid3, NetPBM, Thumbnail, Gd, ImageMagick, Ffmpeg, LinkItemToolkit, SquareThumb
Acceleration = full/1814400, full/1814400
Operating system = Linux web30.opentransfer.com 2.6.14.4 #2 Wed Jan 4 22:51:21 CST 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.0; Windows NT 5.1; .NET CLR 1.1.4322)
Rows in GalleryAccessMap table = 771
Rows in GalleryAccessSubscriberMap table = 1051
Rows in GalleryUser table = 36
Rows in GalleryItem table = 949
Rows in GalleryAlbumItem table = 67
Rows in GalleryCacheMap table = 1357
Posts: 32396
> enough memory (8mb/2mb's)
that sounds like your upload limits, not like the memory limit.
see:
- FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?
- FAQ: Why can't I upload big files (over a megabyte or two)?
if you can't change the upload limits yourself, maybe ask your webhost whether they can change it for your account.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 117
sorry, yes I mean upload limits. I've dedicated quite a bit of memory to the program, thanks I will ask the webhost to help me