Jump to content

ZF 500 error


sasori

Recommended Posts

I have the .htaccess file that contains these stuffs

 

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCOnd %{REQUEST_FILENAME} -d [
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /index.php [NC,L]

 

my folder tree is like this

 

htdocs/mysite/

                    /application/

                                  =>/controllers/

                                  =>/views/

                                                =>/scripts/

                                                                =>/index/

                    /library/

                    /public/

                            =>/css/

                            =>/images/

                            =>/javascript/

                  .htaccess

                  .index.php

 

is that correct ?

Link to comment
https://forums.phpfreaks.com/topic/187658-zf-500-error/#findComment-990721
Share on other sites

changing that configuration you stated didn't help.

but with regards to the document root,

yes, "htdocs" is my xampp's document root,

i named the folder "mysite" and tweaked my host and vhosts so that I can just type a shortcut on my browser like "http://mysite"

but then 500 error is showing up

 

Link to comment
https://forums.phpfreaks.com/topic/187658-zf-500-error/#findComment-990726
Share on other sites

I managed to tweak the AllowOveride stuff. but then some methods are depracated :(

 

Notice: Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use Zend_Loader_Autoloader instead in C:\xampp\htdocs\gamenomad\library\Zend\Loader.php on line 207

Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in C:\xampp\htdocs\gamenomad\library\Zend\Controller\Dispatcher\Standard.php:242 Stack trace: #0 C:\xampp\htdocs\gamenomad\library\Zend\Controller\Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 C:\xampp\htdocs\gamenomad\public\index.php(22): Zend_Controller_Front->dispatch() #2 {main} thrown in C:\xampp\htdocs\gamenomad\library\Zend\Controller\Dispatcher\Standard.php on line 242

Link to comment
https://forums.phpfreaks.com/topic/187658-zf-500-error/#findComment-990744
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.