[TYPO3-UG Dutch] fatal error bij regulartext in blad "nieuw content element"

Jacco van der Post jacco at id-internetservices.com
Thu Nov 4 13:50:31 CET 2010


Op 4-11-2010 12:56, C.C.N. Pols schreef:

>
> Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes) in /mounted-storage/home138/sub001/sc77420-ZJUL/cms/cms/cms/typo3_src-4.4.4/typo3/contrib/jsmin/jsmin.php on line 146
>

Hoi,

Het zou kunnen dat de site te weinig PHP geheugen heeft op de server. 
Vaak mag je van je webhost in de .htaccess (niet _.htaccess, dat is een 
voorbeeld) toevoegen :

php_value memory_limit 128M


Misschien is het handig dat je bijvoorbeeld onderstaande .htaccess 
gebruikt, ik heb er wat commentjes bij gezet :

php_value memory_limit 128M

#Maximum size of POST data that PHP will accept.
php_value post_max_size 128M

#Maximum allowed size for uploaded files.
php_value upload_max_filesize 32M

#Realurl, mooie urls voor als je de extensie Realurl wilt gebruiken
RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php

#Rewrite alle urls's zonder www naar met www.
RewriteCond %{HTTP_HOST} ^jewebsite.nl
RewriteRule (.*) http://www.jewebsite.nl/$1 [R=301,L]


# Allow Apache to handle TYPO3 compressed .js and .css files correctly.
# Sinds 4.4 kunnen .js en .css files compressed worden, zet dan in de
# installtool BE en FE compressionlevel op 5

<FilesMatch "\.js\.gzip$">
   AddType "text/javascript" .gzip
</FilesMatch>
<FilesMatch "\.css\.gzip$">
   AddType "text/css" .gzip
</FilesMatch>
AddEncoding gzip .gzip


-- 
Met vriendelijke groet
Kind Regards

Jacco van der Post
Certified TYPO3 Integrator

Tel +31 (0)24 3602100

www.id-internetservices.com


More information about the TYPO3-UG-Dutch mailing list