[VAZA] 0 Denunciar post Postado Abril 22, 2009 Eu estou utilizando o Xampp. Sempre que descomento a seguinte linha: $this->view->noticias = $noticias->fetchAll(); E mando rodar minha página, o Apache me retorna um erro e da falha no carregamento. será que é alguma config. do .htaccess? Eu lembro que no ApplicationServer eu nao tive problemas..eu tinha até testado o application server pq eu tive esse problema com o Xampp... o que pode ser? $noticias = new Noticias(); $this->view->noticias = $noticias->fetchAll(); Apenas isso q estou fazendo..e meu model: ./application/models/Noticias.php <?php class Noticias extends Zend_Db_Table { protected $_name = 'noticias'; } ?> flww Compartilhar este post Link para o post Compartilhar em outros sites
[VAZA] 0 Denunciar post Postado Abril 22, 2009 O pior de tudo, é que fui testar meu projeto no Application server agora... e por causa do .htaccess, esta dando a mensagem: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, mvos@bol.com.br 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. Quando não é uma coisa é outra...no xampplite isso tudo funciona normalmente...só da o erro com o DbTable. Meu .htaccess: # Rewrite Engine config RewriteEngine on #RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule !\.(gif|jpg|png|css|js|controller.php|tpl|trans.php|service.php)$ index.php # Coloca UTF-8 como charset padrao AddDefaultCharset utf-8 # Desabilita a auto insercao de escapes (\) php_flag magic_quotes_gpc off # Desabilita as Variaveis globais php_flag register_globals off Compartilhar este post Link para o post Compartilhar em outros sites
Fabyo 66 Denunciar post Postado Abril 24, 2009 Tente instalar o PHP separado, assim você terá certeza que tudo ta funcionando certo Compartilhar este post Link para o post Compartilhar em outros sites
[VAZA] 0 Denunciar post Postado Abril 24, 2009 Então Fabyo, eu instalei o appserv e ta rodando normalmente... vai entender! Compartilhar este post Link para o post Compartilhar em outros sites