Wohoo I managed to narrow down the problem! The answer was 42 all along. [?]According to my supercomputer it means something like this.
The answer is 42. The next time some newbie wonders why porting a fully functional ZF project, from Windows to Linux doesn't work. And all they get from their browser is this Error message that tells you nothing. And also Apache access.log and error.log doesn't say anything at all. http://i47.tinypic.com/zad75.jpg My Albums An error occurred Application error *Solution 1.* Then most likely the newbie haven't recreated the entire database and its tables so that it was identical to their first ZF project on Windows. Creating partial tables will give you this ERROR without any hints to go on. *Solution 2.* Since my first ZF project on Windows was still in alpha stage with a lot of test codes all over the place. I wasn't so keen on creating an identical database. That was what I overlooked when porting to Linux. The same goes for when you port from one Windows platform to another Windows platform, not just when porting to Linux. So I just had to delete a few database calling lines in relevant *view pages * to make things work. /Darth apprentice On Mon, Nov 30, 2009 at 5:31 PM, W Itch < [email protected]> wrote: > Short story > I'll try to make my long story short and do my mystical rain dance while > crossing my fingers. :-) > I'm suspecting most of my problems are file permissions related. > > 0.) > * I didn't put my ZF project in */var/www/* will this create major > problems? > * Instead I put things in */home/user/Desktop/www/* will this create major > problems? > > > 3.) > *Is it a bad idea to put Apache into my User's group list?* > http://forums.debian.net/viewtopic.php?f=5&t=47290 > > > Is it a bad idea to put Apache into my User's group list? In the /etc/group > file. Will this create a security risk for me? > > If Ok then the relevant line should look like this am I correct? > myuser:x:1000:www-data > > > /Darth Apprentice > > > > Long story > > I was afraid of pouring too much information on people. But here's the > best description I could create for my situation. > Please check out my post in the *Zend Forums:* > > 1.) > *cannot be opened with mode "a" - Zend_Log_Exception* > http://forums.zend.com/viewtopic.php?f=69&t=4421 > > > Which doesn't say much after having fixed Zend_Log I guess, so I suspected > a file permissions problem with my ZF project which I have described here. > At *Debian Forums: > > *2.)* > [ZF] PHP, Apache, permissions problem. > *http://forums.debian.net/viewtopic.php?f=8&t=47277 > > > 3.) > *Is it a bad idea to put Apache into my User's group list?* > http://forums.debian.net/viewtopic.php?f=5&t=47290 > > > > /Darth Apprentice > > > > > > > > > On Sun, Nov 29, 2009 at 6:26 PM, Bradley Holt > <[email protected]>wrote: > >> If you can provide more detail about what doesn't work (error >> messages, etc.) then you will probably be more likely to get some >> helpful responses. ZF applications (like PHP applications in general) >> are usually portable between platforms with little or no work. It's >> possible that you're taking advantage of some platform specific >> feature but it's more likely that you don't have a required extension >> installed or that it's simply a configuration issue. The ZF >> documentation has a list of required extensions and what components >> use those extensions: >> >> http://framework.zend.com/manual/en/requirements.html >> >> On Sun, Nov 29, 2009 at 11:50 AM, W Itch >> <[email protected]> wrote: >> > Hi, has anyone ported ZF project from Windows Vista to Linux Debian >> before? >> > The ZF project which I worked on was fully functional on Vista but >> > when I moved it to my Debian machine then nothing works anymore. >> > >> > Can you tell me what the most common things I should take care is >> > about in general, when porting ZF code from one platform to another? >> > >> >> -- >> Bradley Holt >> [email protected] >> > >
<<360.gif>>
