zend framework basepath

843 Views Asked by At

hi i have a web application installed in a remote server i wanted to modify this web application so i downloaded all the files from the server

.zfproject library folder application folder public_html folder

and i created a folder called newZend in my local xampp\htdocs folder

when i tried to access the website "http://localhost/newZend/public"

it gives me an application error saying script 'login/index.phtml' not found in path (C:/xampp/htdocs/newZend/application/modules/user/views\scripts/)

i believe something might be wrong with the url router or base path..please help

1

There are 1 best solutions below

0
On

The standard Zend Framework .htaccess rules and routes will take the url you gave

when i tried to access the website "http://localhost/newZend/public"

and call for the "index" action of the "public" controller.

None of my Zend apps allow access directly to the public directory. Try this url:

http://localhost/newZend

which will call the index action of the index controller.