latest working version and other coding questions

1 view
Skip to first unread message

Charles Mo

unread,
Nov 27, 2009, 10:57:03 PM11/27/09
to php...@googlegroups.com

Happy belated Thanksgiving!

 

I have followed the installation guide on:

http://code.google.com/p/phpdays/wiki/EnInstall

 

What is the starting page (for example, with PHP, I know it works when typed in <?php phpinfo(); ?>, and with Apache, “It works!”)?

 

Even though I know beta version is not a stable one, but what is the latest working version of phpdays I can work on?

 

I am using “phpdays-1.1beta3”, and encountered some roadblocks. To name a few:

 

1.       Lib\Days\Engine.php, line 126:   Days_Event::run('engine.start');

-There is no observers added to the $_observers array in Days_Events yet.

 

2. Lib\Days\Engine.php, line 132:   Days_Event::run('controller.start');

-There is no observers added to the $_observers array in Days_Events yet.

 

3. Lib\Days\Engine.php, line 137:   $controllerClass = "{$brand}_Controller_" . ucfirst($controller);

-Echo $controllerClass returns “Myblog_Controller_Myblog”.

-The function autoload tries to load “document_root/myblog/app/Controller/Myblog.php”, but it does not exist.

 

Any comments? Thank you.

 

 

 

Ira Go

unread,
Nov 28, 2009, 4:09:48 AM11/28/09
to phpDays - php5 framework

> What is the starting page (for example, with PHP, I know it works when typed
> in <?php phpinfo(); ?>, and with Apache, "It works!")?
>
That hit me too. It should show a menu and a copyright message. This
should definitely be in the documentation.
Can't comment on the rest but I used beta1 and it worked.

Anton Danilchenko

unread,
Nov 29, 2009, 8:23:03 AM11/29/09
to php...@googlegroups.com
1 and 2: the method run() only run existing observers.

3: change in file index.php located into "public" directory path to you application directory. Also change prefix in config file as described in our documentation.

Regards!

2009/11/28 Ira Go <let...@gmail.com>
Reply all
Reply to author
Forward
0 new messages