Sisäänkirjautuminen| Uusi tunnus
FrontPage| Projects| Forums| Search|
^ DaoGen Forums: › Why? › PHP5? › Using ToString() with PHP › Next DaoGen version almost ready! › Create (insert) and Save (update) PHP examples › Support for numeric object types almost ready! › DaoGen 2.1.0 released! › Compliments and minor suggestion › variables within a class › Foreign key constraint in create() › Security issue!!! › auto-generated columns and create method › Oracle BLOB › DAO for cross-table queries › Please help me.. › Please use this forum for DaoGen related stuff › Call-time Pass-By-Reference › DaoGen 2.4.0 has been released! › How can I show relationships? » DaoGen & PHP 5 › PHP4 vs PHP5 and other considerations. › singleQuery example in php › Why are save and delete not synchronized? › Why are save and delete not synchronized? › DTD for generated XML › DaoGen 2.2.2 has been released! › DaoGen 2.0.2 is available. › For a thesis ?? › Extremely good idea ?? how can I ???? › Usability suggestions for DaoGen › Performance of DaoGen with Mapping tools › Performance with List › Some usage statistics › DaoGen 2.2.1 has been released! › Programming Examples are back! › DaoGen 2.0.1 is available. › Version 2.0.0 generates buggy PHP code! New version soon available! › Examples of DaoGen customizations › Code Examples
» Käyttäjätunnus:
» Salasana:
» Muista kirjautuminen:
Suosituimmat sivut: › DaoGen Forums › Programming Examples › DaoGen Manual › Using ToString() with PHP › DaoGen FAQ › DaoGen › Search › Forums › Projects › Some usage statistics
FrontPage » Forums » DaoGen Forums » DaoGen & PHP 5

DaoGen & PHP 5

Posted by anonymous 27.02.2006 07:09

I previously created a web app using DaoGen and PHP 4.x running on Mandrake 10.

I just upgraded my dev server hardware and installed Mandriva 2006, which comes with PHP 5. After moving over the code and rebuilding the database, my web app no longer works. I now only get a blank screen when accessing DaoGen-driven pages. I have confirmed that my MySQL permissions are correctly setup using an independent script.

Is anyone running a DaoGen project with PHP 5?


On an unrelated note, until upgrading I've been running Linux (first Red Hat 5 and then Mandrake 10) on an P2 233MHz for the last 5 years. It is without a doubt the most efficent OS around.

Re: DaoGen & PHP 5

Posted by anonymous 27.02.2006 22:57

After checking the Apache error log it turns out the offending DaoGen code is the function clone(), where "clone" is now a reserved keyword in PHP 5.

This function exists in each DaoGen table class. I simply renamed each function to cloned() and I'm back in business.