english post, please help...Allowed memory size

Gesperrt
quokka
Beiträge: 48
Registriert: Sa 12. Mär 2005, 00:07
Wohnort: Tilburg - The Netherlands
Kontaktdaten:

english post, please help...Allowed memory size

Beitrag von quokka » Sa 3. Dez 2005, 15:11

Hi,
Can someone help me, can't find it in the german forum...After install of 4.6.2 I get error in module:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 273 bytes) in /home//HTML/pear/HTML/Common.php on line 140

Sorry, need help but my German is too bad ;-)

Thanks in advance,
Bas

timo
Beiträge: 6284
Registriert: Do 15. Mai 2003, 18:32
Wohnort: Da findet ihr mich nie!
Kontaktdaten:

Beitrag von timo » Sa 3. Dez 2005, 15:22

Where exactly do you get that error?

Please describe your problem more precisely

quokka
Beiträge: 48
Registriert: Sa 12. Mär 2005, 00:07
Wohnort: Tilburg - The Netherlands
Kontaktdaten:

module

Beitrag von quokka » Sa 3. Dez 2005, 15:42

Hi,
Thanks for quick response.
After installation I go to:
-Style
-Module
While loading the module page in left frame (under neues modul)
tis error is displayed:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2688 bytes) in /home/HTML/contenido/classes/class.htmlelements.php on line 1937

Any idea?
Regards,
bas

timo
Beiträge: 6284
Registriert: Do 15. Mai 2003, 18:32
Wohnort: Da findet ihr mich nie!
Kontaktdaten:

Beitrag von timo » Sa 3. Dez 2005, 16:22

what's your PHP-Version?

quokka
Beiträge: 48
Registriert: Sa 12. Mär 2005, 00:07
Wohnort: Tilburg - The Netherlands
Kontaktdaten:

PHP Version 4.3.10

Beitrag von quokka » Sa 3. Dez 2005, 18:17

PHP Version 4.3.10
RGRDS
Bas

timo
Beiträge: 6284
Registriert: Do 15. Mai 2003, 18:32
Wohnort: Da findet ihr mich nie!
Kontaktdaten:

Beitrag von timo » Sa 3. Dez 2005, 18:27

whats RGRDS and Bas?

try setting the memory_limit to a higher amount (like 12 or 16MB)

quokka
Beiträge: 48
Registriert: Sa 12. Mär 2005, 00:07
Wohnort: Tilburg - The Netherlands
Kontaktdaten:

ok....

Beitrag von quokka » Sa 3. Dez 2005, 18:41

RGRDS = regards
and Bas is my name ;-)

Where to set memory limit?? it's a shared enviroment by the way....
Thanks
bas

quokka
Beiträge: 48
Registriert: Sa 12. Mär 2005, 00:07
Wohnort: Tilburg - The Netherlands
Kontaktdaten:

timo, thanks a lot

Beitrag von quokka » Sa 3. Dez 2005, 18:49

Timo,
Got it...used .htaccess:
<FilesMatch "\.(php|html?)$">
php_value memory_limit 16M
</FilesMatch>

Now it works fine....just some testing but guess it runs!!

Thanks a lot for your help
highly appreciated

regards,
bas

DoroM
Beiträge: 116
Registriert: Mo 26. Jul 2004, 12:11
Wohnort: Saarland
Kontaktdaten:

Beitrag von DoroM » Mo 21. Jul 2008, 20:43

Ich habe auch dieses Problem, es taucht auf, wenn ich im Beispielmandanten im Backend die einzelnen Artikel aufrufen will. Alles andere geht.
Die Meldung:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 311296 bytes) in /var/www/xxx/contenido/includes/functions.lang.php on line 436

Contenido 4.8.6
Installierte PHP-Version 5.2.0-8+etch1
Datenbankserver-Version 5.0.32-Debian_7etch1-log

die memory size im skript zu ändern, wie ngcat schreibt, funktioniert bei mir nicht.

In der Zeile 436 steht:

Code: Alles auswählen

                /* Reallocate the category -> templatecfg
                   allocations */
                if (is_array($cfg_cat))
                {
                    foreach($cfg_cat as $data)
                    {
436                        if ($data['idtplcfg'] != 0)
                        { // Category has a configuration
                            foreach ($cfg_old_new as $arr)

Kann jemand helfen?
Danke und Gruß
DoroM

tono
Beiträge: 574
Registriert: Mo 25. Apr 2005, 20:51
Wohnort: Frankfurt am Main
Kontaktdaten:

Beitrag von tono » Di 22. Jul 2008, 15:46

Hallo DoroM,
DoroM hat geschrieben:die memory size im skript zu ändern, wie ngcat schreibt, funktioniert bei mir nicht.
Wer ist ngcat??? Was hast Du in welchem Skript geändert?

Du kannst den Wert für memory_limit in der php.ini ändern, wenn Du Zugriff darauf hast. Oder Du kannst ihn, wenn der Provider es erlaubt und Apache mit mod_php zum Einsatz kommt, in der .htaccess Datei ändern, wie quokka beschreibt.
Bis dann
Tono

Gesperrt