Search found 28 matches

by brake6
Fri Sep 25, 2009 1:26 pm
Forum: Zend Framework
Topic: Page is not found
Replies: 7
Views: 4142

Re: Page is not found

Yesss!
Thanks a million! You put me on the right track.

My form class was named "Form_Album" in the filename "Albums". Well, I added an "s" at the end in the class name. And now it is working! :=)

Many, many thanks.
Magnus
by brake6
Fri Sep 25, 2009 10:04 am
Forum: Zend Framework
Topic: Page is not found
Replies: 7
Views: 4142

Re: Page is not found

Hi Elnur You lost me a little now. But I'll try… This is the form: class Form_Album extends Zend_Form { public function __construct($options = null) { parent::__construct($options); $this->setName('album'); $id = new Zend_Form_Element_Hidden('id'); $artist = new Zend_Form_Element_Text('artist'); $ar...
by brake6
Fri Sep 25, 2009 9:49 am
Forum: Zend Framework
Topic: CSS file is not loaded
Replies: 4
Views: 1939

Re: CSS file is not loaded

Many thanks!

Removing "baseUrl" solved the problem :)

-- magnus
by brake6
Fri Sep 25, 2009 9:07 am
Forum: Zend Framework
Topic: Page is not found
Replies: 7
Views: 4142

Re: Page is not found

Hello Elnur No, I dont have anything like that in the indexController. I used Zend_Tool to set up the project, and I have only added a addAction and a editAction apart from "init" (which is empty) and indexAction. Maybe this problem and the one with the "missing" css file is related somehow. Both ha...
by brake6
Fri Sep 25, 2009 8:59 am
Forum: Zend Framework
Topic: CSS file is not loaded
Replies: 4
Views: 1939

Re: CSS file is not loaded

Hello Elnur I realise now that I was i little unclear. Sorry for that. So, in layout.phtml I have this code: <?php echo $this->headLink()->prependStylesheet($this->baseUrl().'/css/site.css'); ?> Which viewed in the browser becomes this on my local machine: <link href="/css/site.css" media="screen" r...
by brake6
Thu Sep 24, 2009 8:21 pm
Forum: Zend Framework
Topic: Page is not found
Replies: 7
Views: 4142

Page is not found

Hello I'm trying to do Akra's tutorial, but have run into some trouble. The index page lists everything in the db, but if I try to add a record to the db i got this error: Page not found Exception information: Message: Action "functionInclude" does not exist and was not trapped in __call() Stack tra...
by brake6
Thu Sep 24, 2009 3:16 pm
Forum: Zend Framework
Topic: CSS file is not loaded
Replies: 4
Views: 1939

CSS file is not loaded

Hello Just moved my ZF test site to my service providers server. And then, the CSS file is not loaded. Looking at the source, the link to the css is: <link href="/index.php/css/site.css" media="screen" rel="stylesheet" type="text/css" /> Can it be that the htaccess file is not read? Regards, Magnus
by brake6
Tue Sep 15, 2009 11:01 pm
Forum: Zend Server
Topic: Zend Server CE and Mac OS X 10.6 (Snow Leopard)
Replies: 63
Views: 62251

Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)

Thanks for the modified watchdog file. Everything seems to working - except, when running "php -v" in Terminal I got this output: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php_extensions/oci8.so' - dlopen(/usr/local/zend/lib/php_extensions/oci8.so, 9): Library not...
by brake6
Tue Sep 15, 2009 6:51 am
Forum: Zend Framework
Topic: Why force UTF-8 encoding?
Replies: 3
Views: 4416

Re: Why force UTF-8 encoding?

Hello dulepov I tried to get this output in the Terminal (Mac OS X and MAMP PRO), but I could not. But something is not right… Here are a part from the terminal: character-sets-dir (No default value) column-type-info FALSE comments FALSE compress FALSE debug-check FALSE debug-info FALSE database (No...
by brake6
Mon Sep 14, 2009 2:38 pm
Forum: Zend Framework
Topic: Why force UTF-8 encoding?
Replies: 3
Views: 4416

Why force UTF-8 encoding?

Hi Just started my first ZF project, and had some troubles with swedish characters (å ä ö). I solved it with help in this forum (Thanks!). But why do I have to "force" a utf-8 charset output? Is it "normal" ;) In the boostrap I have this code: protected function _initViewHelpers() { $this->bootstrap...