QuickStart zend - zend-framework

I was following quickstart tutorial. My servername is "quickstart.local" which works fine but when i click guestbook then the link "quickstart.local/guestbook" doesn't work and message "An error occurred Application error" is displayed.
Any idea? Tried to find answers hard but to no avail.
Thanks for any help

Make sure that resources.frontController.params.displayExceptions = 1 (in your config) if you don't have logging enabled and you should see the exception details. You could always modify the ErrorHandler (default: application/controllers/ErrorController.php) so that you get the error details emailed to you, etc.
If you are using Zend Studio / Eclipse, then you could try using the debugger if available.

I would guess the .htaccess file is misconfigurated or the Apache won't handle the .htaccess the way it should. Does http://quickstart.local/index.php/guestbook work? In case yes: mod_rewrite module on your server does not work correctly.

Related

Error: "Err Too Many Redirect" Prestashop 1.7

I get the ERR_TOO_MANY_REDIRECTS error just modules and products page on the prestashop admin panel. When i try to connect pages url is contain ...security/compromised.... I was changed the all modules names for the making disable. But its not help to me.
How can i fix? Which methods can I try?
Thanks
I have installed this version on my live server and noticed the same issue.
I had my shop enabled for SSL but not for all pages, soon as I enabled it for all pages my error went away.
Hope this helps
Check your PHP setting for session.save_path. It should be /tmp. Particularly if you've switched PHP versions around, it has a nasty habit of setting it to something like /var/cpanel/php/sessions/ea-php72/.
Try to regenerate the .htaccess with SEO/URL in admin.
try to disable and then to enable friendly url.
if that won'tt help please try to switch on the error in config/defines.inc.php ps_mod_dev in true
and please check out if you htaccess is generated
please send your htaccess

Zend A 404 error occurred Page not found

I am new to zend frame work. I am in the process of learning this, in fact at the very beginning of this. My problem is that I download the zend studio and try to run the zend application by following a tutorial on net but the when I run the code it said that
'A 404 error occurred
Page not found The requested URL could not be matched by routing '.
I googled man time and applied all the possible solutions on it but all in vein. Kindly help me in this regard.
To Do list:
check your server folder permission -> 777 for the development
check .htaccess file in the public folder, there is a good example .htaccess files for Zend in here stackoverflow
check your php configuration for model rewrite, unlikely sometimes it does not install
check your apache site-enable file for model rewrite and allowaccess
you need to google them out, but that is it, after you finish your first one , all other project just copy from the first one

Tabris "Hello World" application not shown

I am trying to follow the hello world tutorial at http://developer.eclipsesource.com/tabris/docs/gettingstarted-hello-world. I setup everything as explained but when I try to launch the browser
an Error 404 - Not Found is thrown.
No context on this server matched or handled this request.
I am using the J2EE Preview server.
Any idea why this occurs or how to fix?
there was a bug which I recently fixed in the web.xml (see commit https://github.com/eclipsesource/tabris-sdk/commit/bf6400006768353a85b925a9239aceb82d190bcf).
The class org.eclipse.rwt.engine.RWTServletContextListener has moved to org.eclipse.rap.rwt.engine.RWTServletContextListener (note the difference is "rap"). It's fixed in the next SDK but in your example you need to modify the listener-class property in the WebContent/WEB-INF/web.xml file to "org.eclipse.rap.rwt.engine.RWTServletContextListener".
Hope this helps?

Installing Zend on a Plesk Shared Host

I've created an Zend Application on a local machine, with Zend Server Installed on it.
However I am now looking to migrate it to a live host - Shared hosting with Parallel Plesk 8.4.0
I've moved everything up and at one point I was just getting a blank screen when loading the public folder.
I tweaked the public/index.php file to include Error_Reporting(E_ALL|E_STRICT)
So I am now getting an error from the script. The error I am getting is...
Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'Error parsing /var/www/vhosts/eekonomics.co.uk/httpdocs/application/configs/application.ini on line 4
Theres more to the error. But alot of it seems irrelevant, If required I can post the rest.
Has anyone any ideas how I can get this setup and working, Its slowing me down big style :-(
Any help appreciated...
Changing the application.ini file from APPLICATION_PATH to the absolute path of the files seems to have fixed this.
I've got another error associated with PDO Adapter not being installed, but that is down to a server install issue rather than Zend / PHP.

Weird zend fw problem that makes me crazy!

There is a problem that I can't resolve. I am developing a project and test on my computer which runs as expected. But when I move the project to testing server, which also has Zend Server CE, it gives blank page. Display errors function is ON and I put try catch at the very begining, but it still shows a blank page. When ever I write "exit;" command at the end of related view script, page works normally!
What can couse this problem ?
Thanks
My first guess would be a problem with your include path. That's a very common issue when deploying from one server to another.
But clearly it's some kind of fatal error. I haven't used Zend Server, but in Apache I'd look in the error_log, since any fatal error output ends up there. Does Zend Server have something similar?
...aha, Zend Server seems to have a log, accessed through Monitor > Logs in the admin interface. Try looking in the PHP Error Log for reports of fatal errors.