Skip to main content
Topic: attachments size problem (Read 2565 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

attachments size problem

Hi,

Attachment Settings  Max attachment size  3024 kb

Post replay page Restrictions: 65,536 KB 

Re: attachments size problem

Reply #1

What language are you using?
Bugs creator.
Features destroyer.
Template killer.

Re: attachments size problem

Reply #2

Turkish

(my forum wedge to ElkArte convert)
Last Edit: May 30, 2016, 03:35:11 pm by gevv
sorry for my bad english

Re: attachments size problem

Reply #3

Try to change both values (to 3025 for example) and the put again the 3024.
Bugs creator.
Features destroyer.
Template killer.

Re: attachments size problem

Reply #4

Hi,

I tried the problem continues

I am sending login information admin

thanks
sorry for my bad english

Re: attachments size problem

Reply #5

Could you have a look in your index.turkish.php file what is the value of $txt['number_format']?

In case, would you mind trying with the latest version of the translation? http://translations.elkarte.net/
Bugs creator.
Features destroyer.
Template killer.

Re: attachments size problem

Reply #6

// Number format.
$txt['number_format'] = '1,234.00';

+ upload the latest version of the translation
Last Edit: May 31, 2016, 01:50:54 pm by gevv
sorry for my bad english

Re: attachments size problem

Reply #7

And the sizes still show the wrong values?
What if you change to for example 1024? Do you see the 1 MB or still the 65 MB?

Sorry if I "force" you to do the tests even though you sent me the admin account data, but I really prefer not to step in unless is absolutely necessary. ;)
Bugs creator.
Features destroyer.
Template killer.

Re: attachments size problem

Reply #8

yes I changed (1024) the problem continues
sorry for my bad english

Re: attachments size problem

Reply #9

Let's try another thing:
Code: [Select]
<?php
global $txt;

require_once('SSI.php');
loadLanguage('Post');

echo 'first: ' . sprintf($txt['attach_restrict_attachmentPostLimit'], comma_format($modSettings['attachmentPostLimit'], 0)) . '<br>';

echo 'second: ' . sprintf($txt['attach_restrict_attachmentPostLimit'], comma_format(1024, 0)) . '<br>';

echo 'third: ' . sprintf($txt['attach_restrict_attachmentPostLimit'], '1024') . '<br>';

put this code into a file (e.g test.php), then upload it to your forum directory (where is SSI.php), and finally reach the file from the browser, what do you see?
Bugs creator.
Features destroyer.
Template killer.

Re: attachments size problem

Reply #10

the results

Code: [Select]
first: toplam boyut en fazla 3,024 KB
second: toplam boyut en fazla 1,024 KB
third: toplam boyut en fazla 1024 KB
sorry for my bad english

Re: attachments size problem

Reply #11

Are you using the attachment image resize addon? 

That addon will change the form values to the server max so they can be uploaded and then the admin values are enforced during the resize.