Reply to php redeclaration error

Your name:

Reply:


Posted by someone on 06/13/05 23:43

Windows 2000SBS php 5.0.4 PostgreSQL 8.0

We are developing an accounting application and our primary developer wrote
a DB access library called pWAK. It works accessing MS SQL; now we are
trying to get it working with PostgreSQL.
Our developer has left us, leaving a bunch of newbies trying to continue the
project.

We're getting in our php_error.log:

[13-Jun-2005 15:01:50] PHP Fatal error: Cannot redeclare class iconfig in
D:\svnWC\BAL\pWAK\Config\IConfig.class.php on line 15

line 15 in IConfig is:

interface IConfig

The code works the first time you login, but if you close the browser and
log back in, it eventually fails on the second or subsequent execution of
the code.

If it succeeds, there is a line in our log that says:

Pgsql::__destruct(): destructing which destroys the database access object

If it fails, that line is not in the log

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация