I'm having problems with the QuickStart:
http://framework.zend.com/manual/en/learning.quickstart.intro.html

I download the application:
http://framework.zend.com/demos/ZendFrameworkQuickstart.zip
(which contains a version dated ZendFrameworkQuickstart-20100203)

When I run it, the index page comes up OK, but clicking on the
guestbook link gives me a corrupt HTML page (two lots of doctype,
html, head, body tags, etc.) with the message "An Error Occurred".

I don't know where to start debugging this, so I went back to the
tutorial.

Firstly, is there an easy way to copy/paste the code snippets into
my own scripts without getting the line numbers?  This shouldn't
need to be an exercise in copy-typing...

Secondly, the application.ini generated by zf.bat doesn't look like
the one in the tutorial.  It has some extra lines in.  These may
not be relevant, but perhaps the tutorial code isn't compatible
with ZF1.10 ....

Thirdly, at the page:
http://framework.zend.com/manual/en/learning.quickstart.create-layout.html
it says to edit the application.ini.  Since the zend-tool has an option
to do the same thing (zf.bat enable layout), is there a reason why we don't
use it?
Also, should there be a trailing "/".  zf.bat adds one, but the tutorial
example doesn't.  It probably doesn't matter, but one form must be the
"preferred" one, and this is a tutorial.  Which?

Fourthly, the script for application/layouts/scripts/layout.phtml
seems to be missing the opening "<?php".  Of course, this is easily fixed,
but shouldn't be necessary in a tutorial.

Before I continue with copy-typing, am I missing something?

Is this the right version of the tutorial?
Is it known to work?

Greg
-- 
View this message in context: 
http://n4.nabble.com/ZF1-10-QuickStart-QuickStop-tp1471898p1471898.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to