DEL1 - Exception [message #7716] |
Fri, 22 April 2022 05:58 |
htManager
Messages: 433 Registered: May 2014
|
Senior Member |
|
|
Hi Tony,
I have a strange behavior in one of my del1 pattern. There is always an exception saying that there is a unknown database. I attached the errorlog.htm. I checked the tables in dict (dict_table, dict_table_key, dict_column, dict_related_column). The fields, the relationships and the key are fine. It is just this pattern of this table. I used to have this behavior and after I exported the tables in php again, everything worked fine again.
Have you any idea where I can look for my fault?
|
|
|
Re: DEL1 - Exception [message #7717 is a reply to message #7716] |
Sat, 23 April 2022 05:11 |
AJM
Messages: 2367 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
Does this error with the DEL1 pattern only occur with this one table?
Can you send me the class.inc and dict.inc files for this table so that I can take a look?
The table class has the value 'unknown' loaded into $this->dbname in the abstract class by default, but this SHOULD be replaced with a valid dbname in the class constructor when it sets values into $this->dbname and $this->tablename before it calls $this->getFieldSpec_original();
Can you check the class constructor to see if it is doing what it is supposed to do? Can you check that this constructor is being called?
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
|
|
|
|