12 Oct 12. októbra
This happened while I was writing an article just now. To sa stalo, keď som písal článok práve teraz. Suddenly I got the error message “ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 163569 bytes) in /home/…/translator.php on line 0 “. Zrazu som dostal chybové hlásenie "Fatal error: Dovolil pamét veľkosť of 8388608 bajt vyčerpania vzduchu (tried to allocate 163569 bytes) in / home / ... / translator.php on line 0". At first I thought it was the Translator plugin that was causing the problem. Najskôr som myslel, že to bol plugin Tlmočník, ktorý bol príčinou problému. I moved the plugin to another location and still the same error. Prešiel som plugin do iného umiestnenia a stále rovnaké chyby. Later I noticed that I couldn't get in to any part of Raymond.CC anymore. Neskôr som si všimol, že som nemohol dostať do ktorejkoľvek časti Raymond.CC ešte. Forum don't work, Wordpress admin don't work, not even the blog's main page! Fórum nefungujú, Wordpress admin nefunguje, dokonca ani blog na hlavnú stránku!
If all don't work, it must be a problem on the server side. Ak sú všetky nefungujú, musí byť problém na strane servera. I did a little searching and luckily I found a solution to fix this problem without submitting a support ticket to my webhost. I did trochu pátravý a náhoda JÁ liať jeden roztok až k Brynda táto otázka bez predloženia cestovného lístka na podporu môjho poskytovateľa webhostingu.
The error message “Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 163569 bytes)…” indicates that some PHP scripts needed more memory than PHP was allowed. Chybové hlásenie "Fatal error: Dovolil pamét veľkosť of 8388608 bajt vyčerpania vzduchu (tried to allocate 163569 bytes) ..." naznačuje, že niektoré potrebné PHP skripty PHP viac pamäte, ako bolo povolené.
You can fix the problem by increasing PHP's memory limit in either way: Môžete problém vyriešiť tým, že zvýši PHP limit pamäte v oboch smeroch:
1. 1. Try looking for php.ini file on the root of your site. Skúste hľadať php.ini súbor v koreňovom adresári vášho webu. Mine was located in public_html folder. Baňa bol umiestnený v priečinku public_html.
Open up php.ini file with any text editor and change the values for memory_limit. Otvoriť php.ini archív so akýkoľvek textový editor a meniť hodnoty memory_limit. By default you should see memory_limit = 8M . V predvolenom nastavení by ste mali vidieť memory_limit = 8M. Try changing it to 12M. Skúste zmeniť ho na 12M. If it doesn't work, increase it to 16M or even 24M if 16M doesn't work. Ak to nefunguje, jeho zvýšenie na 16 miliónov, alebo dokonca 24M-li 16M nefunguje. 
2. 2. If you can't find the php.ini file, open up the PHP file that requires more memory, and add a line below just after Ak nemôžete nájsť php.ini súbor, otvoriť súbor PHP, ktorý si vyžaduje viac pamäte, a pridajte riadok nižšie krátko po ini_set('memory_limit', '12M'); ini_set ( 'memory_limit', '12M ');
Same thing. To isté. Memory can be increased but do try it with 12M first. Pamäť možno zvýšiť, ale skúste to s 12M prvý.
3. 3. Final way is to look for .htaccess in your root, and add a line that looks like below. Konečný spôsob je hľadať. Htaccess v koreňovom a pridajte riadku, ktorá vyzerá ako nižšie.
php_value memory_limit 12M php_value memory_limit 12M
Good luck in fixing the fatal error allowed memory size error. Veľa šťastia pri stanovovaní fatálna chyba veľkosť pamäte nemá chybu.
Technorati Tags: Technorati Tags: php php , , memory pamäť , , error Chyba , , fatal error fatálna chyba
: Copying this article to your website is strictly NOT allowed. : Kopírovanie tento článok na svojich webových stránkach, je prísne zakázaná. However, if you like this article, you can use the HTML code below to directly link to this article. Avšak, ak sa vám tento článok, môžete použiť HTML kód priamo odkaz na tento článok. Fix Ad-Aware 2007 Fatal Error During Installation Brynda Inzerát-Vedomy si 2007 Osudný Dlh Počas Inštalácia Manifest Parse Error: Invalid at the top level of document Manifest Rozebírat Dlh: Činiť neschopným v hornej úrovni dokumente The BEST Anti-Spyware Ad-Aware 2007 Final is Here BEST Anti-Spyware Inzerát-Vedomy si 2007 Definitívne is Tu Google 502 Server Error Google 502 Server Error How Much Memory Does a WebPage in a Tab Take Up in Web Browser? Koľko pamäte WebPage v Tab Take Up vo webovom prehliadači? MSN Messenger 7.5.0319 QFE Patch (80048820 error FIX) MSN Posel 7.5.0319 QFE Dočasná oprava (80048820 dlh FIX) MSN Messenger Error 80048820 MSN Posol Dlh 80048820
Have computer technical problems? Mať počítač technické problémy? Get FREE help from Raymond.CC FORUM Získajte ZDARMA pomoc od Raymond.CC FORUM
9 Responses for "FIX Fatal error: Allowed memory size of 8388608 bytes exhausted ERROR" 9 Reakcie na "Brynda Osudný dlh: Dovolil pamét veľkosť of 8388608 bytes vyčerpania ERROR"
congrats Raymond you very smart!!! gratulace Raymond teba veľmi šikovný!
nice tip raymond pekný tip raymond
sorry to post again but 2 things id like to add Ospravedlňujem sa, ale zase po 2 things id chcete pridať
1 ) try the ajax save post plugin, helps a lot, saves without reloading page. 1) pokúsiť zachrániť ajax post plugin, pomáha veľa, šetrí bez prekládky stránku.
2 ) when i comment i get an error “Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/raycc/public_html/blog/wp-content/plugins/SK2/sk2_second_chance.php:2) in /home/raycc/public_html/blog/wp-content/plugins/translator/translator.php(16) : eval()'d code on line 1″ 2) when i komentár dostanem chybu "Warning: session_start () [function.session-start]: Cannot send session cache limiter - headers already sent (output started at / home / raycc / public_html / blog / wp-content / plugins / SK2/sk2_second_chance.php: 2) in / home / raycc / public_html / blog / wp-content / plugins / prekladateľ / translator.php (16): eval () 'd code on line 1 "
You may edit this comment to remove the error. Môžete upraviť tento komentár na odstránenie chýb. Thanks Vďaka
Granted this is a quick fix and for most scripts it should solve the problem. Udelená, je to narýchlo a pre väčšinu skriptov by malo problém vyriešiť.
However in my experience if a script is quickly running out of memory there is probably something wrong with the script. Avšak podľa mojich skúseností, ak skript beží veľmi rýchlo z pamäti je asi niečo v neporiadku s skript. For example this error can happen when you have loops that append strings or arrays go out of control. Napríklad táto chyba môže stať, keď máte slučiek, ktoré pridávať reťazce alebo polia idú mimo kontroly. It can also happen when manipulating huge amount of data. Môže tiež dôjsť pri manipulácii obrovské množstvo dát. In this case it may be that then translator plug in is cloning the data every time it auto-saves. V tomto prípade je možné, že potom prekladateľ plug-in klonovanie dát zakaždým, keď sa auto-šetrí. (Just a stab in the dark) (Len bodnúť v tme)
The configuration fix may alleviate the symptoms it may not really solve the problem which may be some bad interaction between WordPress and the plug-in or some bad code so this MAY come back to bite you in the future. Konfigurácia oprava môže zmierniť príznaky nemusia v skutočnosti vyriešiť problém, ktorý môže byť zlé interakcie medzi WordPress a plug-in alebo zlé číslo, takže to môže vrátiť do uhryznúť vás v budúcnosti.
True this is a quick fix to solve the problem without bringing down the whole Wordpress blog site. Pravda je to narýchlo riešiť problém bez čím sa celý Wordpress blogu. This is definitely something wrong with the script which we have to voice out to the plugin's author. To je určite niečo v neporiadku s skript, ktorý musíme hlas, aby čap na jeho autora.
thanks vďaka
thanks!! Vďaka!
Thanks for the great tip. Vďaka za skvelý tip. My host was kind enough to make the change to php.ini file for me. Môj hostiteľ bol tak láskavý, aby sa zmeny súboru php.ini pre mňa.
Thanks for this its first in google this is my problem in my blog thanks! Vďaka za to jeho prvý v google to je môj problém v mojom blogu vďaka!
Leave a reply Zanechajte odpoveď