Never mind, problem solved. I named my modelfiles with a capital...
*sigh*
On 1 okt, 14:31, Pieter Van Leuven <[EMAIL PROTECTED]>
wrote:
> OK. I built a small CakePHP application on ubuntu. It doesn't show
> relative data on my ubuntu install and online webhosting, but on my
> local windows insta
OK. I built a small CakePHP application on ubuntu. It doesn't show
relative data on my ubuntu install and online webhosting, but on my
local windows installation the exact same code (with the exact same
dababase) does! How is this possible? Am I missing something? I'm
getting desperate ;-) It must
Ok, I did some research and discovered the following:
On my local system I have a query like this: (as seen in the query
overview delivered by CakePHP when running in debugmode 2)
"SELECT `Post`.`id`, `Post`.`title`, `Post`.`content`,
`Post`.`created`, `Post`.`modified`, `Post`.`user_id`,
`Post
Ah I see. I switched the error reporting value for my local PHP to
E_ALL, but I'm getting no errors at all. It has indeed to be
difference in configuration between my local machine and the online
server, but I have absolutely what it could be.
Is the fact that I didn't build the models with the b
No, I mean the PHP error reporting in your php.ini.
http://jp2.php.net/manual/en/configuration.php
http://jp2.php.net/manual/en/errorfunc.configuration.php#ini.display-errors
The error is coming from PHP, not Cake.
You should switch error reporting on on your development system and
off on your
Hello David,
thanks for the tips. Both are currently running in debuglevel 2 mode.
That's why I think it's so strange.
Can someone give me some tips about what could be wrong with the
database? The application can reach the database, because some data is
fetched correctly...
Thanks in advance,
Stabs into the dark:
a) your local PHP has a lower debug level than your production server,
i.e. your local system doesn't complain about missing indexes but your
server does
b) the associated model can't be fetched because your database setup
is different/misconfigured
Hope that helps,
Da
Hello people,
I have a strange problem i ran into with CakePHP. On my local machine
all works fine. When I upload the complete project to my webhost, the
problems begin.
For example: when I query posts from the database. All fields of this
posts are shown fine (for example $post['Post']['title']