Showing posts with label Zend. Show all posts
Showing posts with label Zend. Show all posts

Wednesday, November 27, 2013

500 internal server error in zend framework

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
I Faced this error when i install wamp server and run a website using vitual host..

Then i googled for a solution. Finally i got solution which shows below


Using Zend Application you may see more information about the errors putting those lines inapplication.ini:
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1
500 Errors are mostly caught exeptions. You may debug the problem looking at the variables inErrorController.php.
Also, the most common Apache issues:
  • mod_rewrite module not enabled in Apache
  • required RewriteBase / rule in .htaccess (on shared hostings)
  • missing AllowOverride All in virtual host configuration
DONE..

Wednesday, May 8, 2013

How to install Zend framework in Windows


1.Download Zend framework package from http://www.zend.com/en/company/community/downloads

2.unzip all files.

3.i created a folder in C:\program files\zendFramework. (its not necessary)

4.i copied bin and library folder to zendFramework folder. (all other files are not important)

5.then right click on computer->Properties->Advanced system Settings->in advanced tab click Enviromental variables button
In System Variables list select Variable Path then click Edit Button.

6.Then Add a semicolon at the end.

7.then add bin directory path of your zendframework folder after semi colon. in my case C:\program files\zendFramework\bin.
click ok.

8.Then open Command prompt(cmd).

9.type zf show version then it will show zend framework version.

Incase it's showing an error then we can understood that the zf.bat file is missing from our framework folder.
Download zf.bat from http://framework.zend.com/svn/framework/standard/incubator/bin/zf.bat
add zf.bat file to your bin folder.in my case "C:\program files\zendFramework\bin".
Then repeat step 8,9.

DONE..