← WordPress

Memory Exhausted

Lida 3986 vezes

Offline

João Godinho 
Membro
Mensagens 1755 Gostos 2
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Tive um problema com o Wordpress que era o famoso memory exhausted, tentei resolver adicionando: define('WP_MEMORY_LIMIT', '64M'); ao wp-config.php e o código php_value memory_limit 64M ao htaccess

Agora está a dar este erro:
Citar
Internal Server Error

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

Please contact the server administrator, webmaster@pormenorvirtual.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Server at pormenorvirtual.com Port 80

Obrigado ;)
Offline

marsupillami 
Equipa
Mensagens 850 Gostos 4
Feedback +1

Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 500 Posts

Não poderás colocar esse "php_value" no .htaccess, já que certamente o teu host estará a correr sobre CGI / FastCGI.

Pede-lhe para alterar o memory_limit através de um php.ini personalizado.
Offline

João Godinho 
Membro
Mensagens 1755 Gostos 2
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

@Luís continua a dar o erro, provavelmente estou a fazer algo errado.

@marsupillami O meu host disse-me que não havia limitações para todos os clientes. :S

Obrigado pelas respostas. ;)
Offline

GhostMaster 
Membro
Mensagens 1374 Gostos 0
Feedback +10

Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 1000 Posts

tenta desactivar todos os plugins e ve se continua a dar esse erro.

Parece-me ser de um plugin.
Offline

João Godinho 
Membro
Mensagens 1755 Gostos 2
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

tenta desactivar todos os plugins e ve se continua a dar esse erro.

Parece-me ser de um plugin.
Sim, se apagar todos os plugins o erro desaparece.
Offline

João Godinho 
Membro
Mensagens 1755 Gostos 2
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Estive a apagar alguns plugins e quando apaguei o User Roler Editor, a página inicial já apareceu, mas agora está a dar esse erro no wp-admin.

Edit: esquece de editar o outro post, desculpem o double post.

Noutros meus sites do mesmo alojamento que uso estão a dar este erro em algums partes do wp-admin, tipo nos comentários recentes e naquela "widgets" que aparecem no wp-admin depois de se fazer login.
Offline

GhostMaster 
Membro
Mensagens 1374 Gostos 0
Feedback +10

Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 1000 Posts

Sim, se apagar todos os plugins o erro desaparece.

Nao era apagar era so desactivar. :superlol:
Offline

João Godinho 
Membro
Mensagens 1755 Gostos 2
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Mas eu apaguei os desnecessários.
Offline

asturmas 
Administrador
Mensagens 19734 Gostos 50
Feedback +2

Troféus totais: 39
Trófeus: (Ver todos)
Mobile User Windows User Super Combination Combination Topic Starter 100 Poll Votes 50 Poll Votes 10 Poll Votes Poll Voter Poll Starter

O melhor é mesmo pedires ajuda ao te provedor de alojamento pois algo de estranho se passa ai... Além disso existem SEMPRE limitações
Offline

GhostMaster 
Membro
Mensagens 1374 Gostos 0
Feedback +10

Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 1000 Posts

O melhor é mesmo pedires ajuda ao te provedor de alojamento pois algo de estranho se passa ai... Além disso existem SEMPRE limitações

limitações? Como assim?
Offline

asturmas 
Administrador
Mensagens 19734 Gostos 50
Feedback +2

Troféus totais: 39
Trófeus: (Ver todos)
Mobile User Windows User Super Combination Combination Topic Starter 100 Poll Votes 50 Poll Votes 10 Poll Votes Poll Voter Poll Starter

Existem sempre limitações a nível de config do PHP: max memory, max uploads etc...
Offline

João Godinho 
Membro
Mensagens 1755 Gostos 2
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Este problema já está a tornar-se insuportável, o site está down já há muito tempo.
Offline

Nelson de Sousa 
Membro
Mensagens 833 Gostos 0
Feedback +5

Troféus totais: 27
Trófeus: (Ver todos)
Windows User Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Se não consegues resolver um problema desses, como tens uma empresa aberta ao publico a fornecer alojamentos e afins?
Offline

João Godinho 
Membro
Mensagens 1755 Gostos 2
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Se não consegues resolver um problema desses, como tens uma empresa aberta ao publico a fornecer alojamentos e afins?
O problema já está resolvido e não consigo entender o sentido dessa pergunta...