content limitation?

or - December 24, 2008 - 09:29

Hi everyone,

I have a wierd problem happening to me with my client's site.

when I try to upload content I'm encoutering a situation where drupal doesn't save the body of the content when this

is a long article. I'm just copy&paste a long PLAIN TEXT and if it's too long, I see then only the article subject without any content.

Is anybody know about the problem? is it happening because of my theme? my drupal installation?

P.S

I'm using drupal 5 with "Blix" based theme.

Ideas are most welcome...

Ori

It is possible that the

cog.rusty - December 24, 2008 - 11:01

It is possible that the limit is your PHP settings for post_max_size or memory_limit. To make sure, create a post containing <?php phpinfo(); ?> using PHP input format, hit "Preview", and check if any of these values seems small.

Try increasing them by adding somewhere in your .htaccess something like:

php_value memory_limit 48M
php_value post_max_size 16M
php_value upload_max_filesize 15M

Notice these sizes relative to each other, 1st > 2nd > 3rd. Additionally, the memory_limit must be big enough to allow Drupal to operate.

If the problem is not that, is your textarea a normal "Body" field or some custom CCK field? Does the problem happen only with some WYSIWYG editor or also with a plain textarea?

I think you're in the right direction

or - December 26, 2008 - 14:32

Hi,

For me it sounds like it's really the problem but I don't know where to put those lines.

I've tried to put it in various places within the htacess file that in my drupal site root directory and I get an error:

"The server encountered an internal error or misconfiguration and was unable to complete your request."

are you talking about this htacess file?

when I viewed the info I saw that this is really limit to 8mb post_max_size.

this is happening also in plain text, in a long nodes. the text inserted into a body-standart "core" field and not

to some cck, or somthing similar.

Those are the only exact lines I need to put on the file? where is the file I'm suppost to edit?

Thanks!

unless drupal has another

steveadamo - December 26, 2008 - 15:16

unless drupal has another config file i'm unaware of (which is certainly possible, as im very new to the CMS), the settings you would change are in your php.ini file (upload_max_filesize, etc.)... if you are running something like WAMP, you'll see the icon in the system tray on your server...

click the icon, go to the PHP folder, and select the php.ini file... inside that file, you'll find the settings referenced in the earlier post...

good luck!

 
 

Drupal is a registered trademark of Dries Buytaert.