Fatal error: Call to undefined method PEAR_Error::getField()

A place for users and developers of the Xataface to discuss and receive support.

Fatal error: Call to undefined method PEAR_Error::getField()

Postby 00Davo » Sat Jan 02, 2010 9:11 pm

I can't get Xataface to work correctly, under Windows 7 with XAMPP. My directory structure:
Code: Select all
-htdocs
--newypt
---conf.ini
---index.php
---.htaccess
---xataface
----usual xataface stuff inside, direct from download

When I try to view it with http://localhost/newypt, I receive a flood of PHP warnings, deprecateds, and finally a fatal error.
Code: Select all

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\config.inc.php on line 35

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 380

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 861

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 1077

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 1474

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\lib\I18Nv2\I18Nv2.php on line 177

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\lib\I18Nv2\I18Nv2.php on line 194

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\lib\I18Nv2\Negotiator.php on line 351

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\lib\I18Nv2\Negotiator.php on line 369

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\xampp\htdocs\newypt\xataface\config.inc.php:35) in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 590

Warning: syntax error, unexpected BOOL_FALSE in C:/xampp/xampp/htdocs/newypt/xataface/lang/en.ini on line 16 in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\ConfigTool.php on line 331

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\xampp\htdocs\newypt\xataface\config.inc.php:35) in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 795

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\xampp\htdocs\newypt\xataface\config.inc.php:35) in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 795

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\xampp\htdocs\newypt\xataface\config.inc.php:35) in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 796

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 1116

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 1559

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 1827

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 2042

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 2348

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 2850

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 2900

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 3047

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 3055

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 3277

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 3576

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Relationship.php on line 232

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Relationship.php on line 237

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Relationship.php on line 349

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Relationship.php on line 352

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Relationship.php on line 568

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Relationship.php on line 1093

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\SQL\Parser\wrapper.php on line 33

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Serializer.php on line 58

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Serializer.php on line 146

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Serializer.php on line 187

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Record.php on line 745

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Record.php on line 1125

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Record.php on line 2653

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Record.php on line 2702

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Record.php on line 2758

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\RelatedRecord.php on line 260

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\RelatedRecord.php on line 652

Deprecated: Function ereg_replace() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 440

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 512

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Deprecated: Function ereg() is deprecated in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 510

Fatal error: Call to undefined method PEAR_Error::getField() in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 2629


Why is it doing this? :(
Last edited by 00Davo on Sat Jan 02, 2010 9:51 pm, edited 1 time in total.
00Davo
 
Posts: 55
Joined: Sat Jan 02, 2010 9:02 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby shannah » Sat Jan 02, 2010 9:33 pm

Deprecation warnings are there because there are still remnants left for PHP 4 compatibility. Since I've officially dropped support for PHP 4 as of 1.2, I'll see about combing out these things for the next release.

For now you should turn off deprecation warnings in php. (If you replace your copy of dataface-public-api.php with http://weblite.ca/svn/dataface/core/tru ... ic-api.php) it should hide the deprecation warnings).

As for the fatal error, my best guess is that you have the table names wrong in the [_tables] section of the conf.ini file. Note that the table names (on the left side of the equals sign) are case sensitive.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby 00Davo » Sat Jan 02, 2010 9:50 pm

Thanks for the quick response, but I still have problems. Replacing dataface-public-api.php cuts down on the errors:
Code: Select all
Warning: syntax error, unexpected BOOL_FALSE in C:/xampp/xampp/htdocs/newypt/xataface/lang/en.ini on line 16 in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\ConfigTool.php on line 331

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\xampp\htdocs\newypt\xataface\Dataface\ConfigTool.php:331) in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 795

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\xampp\htdocs\newypt\xataface\Dataface\ConfigTool.php:331) in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 795

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\xampp\htdocs\newypt\xataface\Dataface\ConfigTool.php:331) in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 796

Fatal error: Call to undefined method PEAR_Error::getField() in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Table.php on line 2629

But, as you can see, I'm still getting the fatal error. I've checked my table names, and they seem to be correct. Here's my [_tables], just in case:
Code: Select all
[_tables]
    student = student
   tutor = tutor
   parent = parent
00Davo
 
Posts: 55
Joined: Sat Jan 02, 2010 9:02 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby shannah » Sat Jan 02, 2010 10:19 pm

Can you post the def of your student table?
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby 00Davo » Sat Jan 02, 2010 10:22 pm

shannah wrote:Can you post the def of your student table?

Like this?
Code: Select all
CREATE TABLE IF NOT EXISTS `student` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `LName` text,
  `FName` text,
  `House/Unit No.` tinyint(4) DEFAULT NULL,
  `Street` text,
  `Suburb` text,
  `Postcode` int(11) DEFAULT NULL,
  `Phone No.` int(11) DEFAULT NULL,
  `Mobile No.` int(11) DEFAULT NULL,
  `Email Address` text,
  `Enrolment status` char(2) DEFAULT NULL,
  `Current year at school` year(4) DEFAULT NULL,
  `Place on Waiting List` int(11) DEFAULT NULL,
  `Date of Placement on Waiting List` date DEFAULT NULL,
  `Date of Class Placement Offer` date DEFAULT NULL,
  `Class Placement Acceptance` tinyint(1) DEFAULT NULL,
  `Date of Class Enrolment` date DEFAULT NULL,
  `Year of Enrolment` year(4) DEFAULT NULL,
  `Class` int(11) DEFAULT NULL,
  `Student Status` char(1) DEFAULT NULL,
  `Fee paid` double DEFAULT NULL,
  `Receipt Number` int(11) DEFAULT NULL,
  `Payment Method` varchar(3) DEFAULT NULL,
  `Productions involved in during year:` text,
  `Production involvement:` text,
  PRIMARY KEY (`ID`),
  KEY `FK_class` (`Class`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

Also got foreign key constraints:
Code: Select all
ALTER TABLE `student`
  ADD CONSTRAINT `FK_class` FOREIGN KEY (`Class`) REFERENCES `class` (`ID`);
00Davo
 
Posts: 55
Joined: Sat Jan 02, 2010 9:02 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby shannah » Sat Jan 02, 2010 11:00 pm

There's the reason.

Xataface doesn't like periods (i.e. '.') in column names. It uses '.' as a shorthand for related fields. Unfortunately you'll need to change your column names to not include '.'.

While your at it, the use of spaces and '/' in column names is uncommon in the mysql world - and though legal (and should work in xataface), it could cause problems down the road.

If you cannot change your column names for some reason, a workaround would be to create a view on your table with xataface-friendly column names, and use the view instead.

(If you do decide to use a view, you will need to explicitly tell Xataface in the fields.ini file which columns are part of the primary key, as it can't figure that out automatically like it can with regular tables. See http://xataface.com/wiki/Key for the syntax).
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby 00Davo » Sat Jan 02, 2010 11:13 pm

Changing the column names, which I can thankfully do, eliminates the PEAR_Error issue, and Xataface displays correctly. :D

However, errors are STILL appearing, above the Xataface interface.
Code: Select all
Warning: syntax error, unexpected BOOL_FALSE in C:/xampp/xampp/htdocs/newypt/xataface/lang/en.ini on line 16 in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\ConfigTool.php on line 331

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\xampp\htdocs\newypt\xataface\Dataface\ConfigTool.php:331) in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 795

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\xampp\htdocs\newypt\xataface\Dataface\ConfigTool.php:331) in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 795

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\xampp\htdocs\newypt\xataface\Dataface\ConfigTool.php:331) in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\Application.php on line 796
00Davo
 
Posts: 55
Joined: Sat Jan 02, 2010 9:02 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby 00Davo » Sat Jan 02, 2010 11:33 pm

Uh, oh. Additional problem. fields.ini doesn't do anything, except create an extra warning at the top. Here's the fields.ini:
Code: Select all
[LName]
widget:label = "Last Name"

[Status]
widget:label = "Student or Associate?"
widget:type = select
vocabulary = Statuses

And here's the warning:
Code: Select all
Warning: syntax error, unexpected ':' in C:/xampp/xampp/htdocs/newypt/tables/student/fields.ini on line 2 in C:\xampp\xampp\htdocs\newypt\xataface\Dataface\ConfigTool.php on line 331
00Davo
 
Posts: 55
Joined: Sat Jan 02, 2010 9:02 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby shannah » Sat Jan 02, 2010 11:42 pm

Well you're just hitting all of the stops aren't you.

You must be using PHP 5.3.0. There is a bug in PHP 5.3.0.
http://bugs.php.net/bug.php?id=49172
This bug affects the parse_ini_file function which is necessary for Xataface. Solution: Upgrade to PHP 5.3.1 (or higher) or downgrade to PHP 5.2.x

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby 00Davo » Sun Jan 03, 2010 12:12 am

shannah wrote:Well you're just hitting all of the stops aren't you.

I am. Sorry.
shannah wrote:You must be using PHP 5.3.0. There is a bug in PHP 5.3.0.
http://bugs.php.net/bug.php?id=49172
This bug affects the parse_ini_file function which is necessary for Xataface. Solution: Upgrade to PHP 5.3.1 (or higher) or downgrade to PHP 5.2.x

-Steve

Yep. I installed the latest XAMPP, with PHP 5.3.1, and that's working now. Still getting those warnings above all the pages - and when you perform an INSERT, you just get the errors, without a "success" message or anything. Granted, it does actually perform the INSERT, but with no confirmation.
00Davo
 
Posts: 55
Joined: Sat Jan 02, 2010 9:02 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby shannah » Sun Jan 03, 2010 12:19 am

What is on line 16 of lang/en.ini?

This is the cause of the error. I suspect there could be a problem with that file as in my copy of that file there is nothing that appears to be able to cause that error.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby 00Davo » Sun Jan 03, 2010 12:25 am

shannah wrote:What is on line 16 of lang/en.ini?

This is the cause of the error. I suspect there could be a problem with that file as in my copy of that file there is nothing that appears to be able to cause that error.


Line 16 is:
Code: Select all
No action found = "No action found named '$name'"


Here's the whole file, just in case.
Code: Select all
scripts.GLOBAL.FORMS.OPTION_PLEASE_SELECT = "Please Select ..."
save_button_label = "Save"
scripts.GLOBAL.MESSAGE.PERMISSION_DENIED = "Permission Denied"
scripts.GLOBAL.INSUFFICIENT_PERMISSIONS_TO_VIEW_RECORD = "Sorry you have insufficient permissions to view this record."
scripts.GLOBAL.NO_RECORDS_MATCHED_REQUEST = "No records matched your request."
scripts.GLOBAL.LABEL_MOVE_UP = "Move up"
scripts.GLOBAL.LABEL_MOVE_DOWN = "Move down"
scripts.GLOBAL.LABEL_WITH_SELECTED = "With Selected"
scripts.GLOBAL.LABEL_SUBMIT = "Submit"
scripts.GLOBAL.LABEL_BACK = "Back"
scripts.GLOBAL.LABEL_GO_BACK = "Go Back"
scripts.GLOBAL.HEADING_ERRORS = "Errors"
scripts.GLOBAL.LABEL_RECENT_RECORDS = "Recent Records"
Permission Denied = "Permission Denied"
scripts.GLOBAL.MESSAGE_VIEW_FIELD_CONTENT = "View Field Content in New Window"
No action found = "No action found named '$name'"
Permission Denied. No action found in strict permissions mode = "Permission denied for action '$action'.  No entry for this action was found in the actions.ini fil.  You are currently using strict permissions mode which requires that you define all actions that you want to use in the actions.ini file with appropriate permissions information."
Permission Denied for action. = "Permission to perform action '$action[name]' denied.  Requires permission '$action[permission]' but only granted '$permissions_granted'"
scripts.Dataface.Application.handleRequest.NO_HANDLER_FOUND = "No handler found for request.  This should never happen because, at the very least, the default handler at dataface/actions/default.php should be called.  Check the permissions on dataface/actions/default.php to make sure that it is readable by the web server."
scripts.Dataface.Application.parseString.ERROR_PARSING_EXPRESSION_DBL_QUOTE = "Invalid expression (possible hacking attempt in Dataface_Application::eval().  Expression cannot include double quotes, but recieved '$expression'."
scripts.Dataface.Application.parseString.ERROR_PARSING_EXPRESSION = "Error parsing expression '$expression'."
Incorrect Password = "Sorry, you have entered an incorrect username /password combination.  Please try again."
scripts.Dataface.DB._replaceBlobs.BLOB_NOT_UPLOADED = "Attempt to load blob that is not uploaded. "
scripts.Dataface.DB.translate_query.FAILED_TO_TRANSLATE = "Failed to translate query: '$query':"
scripts.Dataface.DB.checkoutBlob.BLOB_DOESNT_EXIST = "Blob with ID $blobID doesn't exist."
scripts.Dataface.DeleteForm._build.ERROR_TRYING_TO_FETCH = "Error trying to fetch element to be deleted.: "
scripts.Dataface.DeleteForm._build.ERROR_NO_RECORD_SELECTED = "No record is currently selected so no record can be deleted."
scripts.Dataface.DeleteForm._build.LABEL_DELETE = "Delete"
scripts.Dataface.DeleteForm.display.ARE_YOU_SURE = "Are you sure you want to delete this record: "$displayCol"?"
scripts.Dataface.DeleteForm.display.ERROR_ESTIMATING = "Error estimating number of rows that will be deleted: "
scripts.Dataface.DeleteForm.display.ERROR_NO_RECORDS_FOUND = "There are no records in the current found set so no records can be deleted."
scripts.Dataface.DeleteForm.display.ARE_YOU_SURE_MULTIPLE = "Are you sure you want to delete the found records.  $num records will be deleted."
scripts.Dataface.DeleteForm.display.ERROR_GET_VARS = "Error: You must specify either '-delete-one' or '-delete-found' in GET vars."
Missing key while trying to delete record = "Attempt to delete single record when not all keys were specified.  Missing key '$key'"
scripts.Dataface.DeleteForm.checkPermissions.ERROR_PERMISSION_DENIED = "Permission Denied: You do not have permission to delete this record ($title)"
scripts.Dataface.ExistingRelatedRecordForm._build.ERROR_GETTING_FOREIGN_KEY_COLS = "Error getting foreign key columns while building Related Record Form on line $line of file $file"
scripts.Dataface.ExistingRelatedRecordForm._build.LABEL_SELECT = "Select"
scripts.Dataface.HistoryTool.logField.ERROR_FAILED_TO_MAKE_HISTORY_FOLDER = "Failed to make history folder $histpath to store the history for container field $fieldname in table $tablename.  It could be a permissions problem.  Please ensure that the $savepath directory is writable by the web server."
scripts.Dataface.HistoryTool.logField.ERROR_NOT_A_DIRECTORY = "The history path for the field $fieldname in table $tablename is not a directory.  Perhaps a file has been uploaded with the reserved name '.history'.  Please delete this file to allow Dataface's history feature to work properly."
scripts.Dataface.HistoryTool.logField.ERROR_CONTAINER_FIELD_SAVEPATH_MISSING = "Field $fieldname is a Container field but its corresponding savepath $savepath does not exist.  Please create the directory $savepath and ensure that it is writable by the web server"
scripts.Dataface.HistoryTool.getDiffs.ERROR_HISTORY_TABLE_DOES_NOT_EXIST = "History table for '$tablename' does not exist, so we cannot obtain changes for records of that table."
scripts.Dataface.HistoryTool.getDiffsByDate.ERROR_FAILED_TO_LOAD_HISTORY_RECORD = "Failed to load history record with id '$id'"
scripts.Dataface.HistoryTool.restore.ERROR_NO_SUCH_RECORD = "Could not restore record with id '$id' in table '$tablename' because no such record exists.  Perhaps the history was cleaned out."
scripts.Dataface.IO.read.ERROR_PARAMETER_2 = "Dataface_IO::read() requires second parameter to be of type 'Dataface_Record' but received '$class'\n<br>"
Error reading record = "Error reading table '$table' from the dataface: '$mysql_error' on line '$line' of file '$file'. \nSQL used was '$sql'"
No records found = "Record for table '$table' could not be found"
scripts.Dataface.IO.delete.ERROR_NO_PRIMARY_KEY = "Could not delete record from table '$tablename' because no primary key was defined."
Could not delete record because missing keys = "Could not delete record '$title' because not all of the keys were included."
Failed to delete record. SQL error = "Failed to delete record '$title' because of an SQL error: '$mysql_error' : '$sql'"
scripts.Dataface.IO.write.ERROR_PARAMETER_1 = "Dataface_IO::write() requires first parameter to be of type 'Dataface_Record' but received '$class'\n<br>"
scripts.Dataface.IO.write.ERROR_SAVING = "Error while saving record of table '$tablename' in Dataface_IO::write() on line '$line' of file '$file'"
scripts.Dataface.IO.recordExists.ERROR_PARAMETER_1 = "In Dataface_IO::recordExists() the first argument is expected to be either a 'Dataface_Record' object or an array of key values, but received neither.\n<br>"
recordExists failure. Too many rows returned. = "Test for existence of record in recordExists() returned $rows records.  \n<br>It should have max 1 record.  \n<br>The query must be incorrect.  \n<br>The query used was '$sql'.  On line '$line' of file '$file'"
scripts.Dataface.IO._update.ERROR_PARAMETER_1 = "In Dataface_IO::_update() the first argument is expected to be an object of type 'Dataface_Record' but received '$class'.\n<br>"
scripts.Dataface.IO._update.ERROR_INCOMPLETE_INFORMATION = "Attempt to update record with incomplete information. On line '$line' of file '$file'"
scripts.Dataface.IO._update.ERROR_RECORD_DOESNT_EXIST = "Attempt to update record that doesn't exist in _update() on line '$line' of file '$file'"
scripts.Dataface.IO._update.ERROR_GENERATING_SQL = "Error generating sql for update in IO::_update() on line '$line' of file '$file'"
scripts.Dataface.IO._update.ERROR_DUPLICATE_ENTRY = "Failed to update record in table '$tablename' because of a duplicate entry"
scripts.Dataface.IO._update.SQL_ERROR = "Failed to update due to sql error: "
scripts.Dataface.IO._insert.ERROR_GENERATING_SQL = "Error generating sql for insert in IO::_insert()"
Failed to insert record because of duplicate entry = "Duplicate entry in table '$table'"
scripts.Dataface.IO._insert.ERROR_INSERTING_RECORD = "Error inserting record: "
scripts.Dataface.IO._writeRelationship.ERROR_OBTAINING_RELATIONSHIP = "Error obtaining relationship '$relname' in IO::_writeRelationship() on line '$line' of file '$file'"
Failed to write relationship because not table was selected = "Error writing relationship '$relationship'.  No tables were selected on line '$line' of file '$file'"
scripts.Dataface.IO._writeRelationship.ERROR_GETTING_RELATED_RECORDS = "Error getting related records in IO::_writeRelationship() on line '$line' of file '$file'"
scripts.Dataface.IO._writeRelationship.ERROR_UPDATING_DATABASE = "Error updating database with query '$sql': '$mysql_error'"
scripts.Dataface.IO.performSQL.ERROR_PARAMETER_2 = "In Dataface_IO::performSQL() 2nd argument is expected to be an array but received '$class'."
scripts.Dataface.IO.performSQL.ERROR_PERFORMING_QUERY = "Error performing query '$current_query' on line '$line' of file '$file': <br/>"
scripts.Dataface.IO.addRelatedRecord.ERROR_GENERATING_SQL = "Error generating sql in ShortRelatedRecordForm::save() on line '$line' of file '$file'"
scripts.Dataface.IO.removeRelatedRecord.ERROR_RECORD_DOESNT_EXIST = "Failed to delete entry for record '$title' in table '$currTable' because record doesn't exist."
Successfully deleted record = "Successfully deleted entry for record '$title' in table '$table'"
scripts.Dataface.IO.fireEvent.ERROR_WHILE_FIRING = "Error while firing event '$name' on table '$tablename' in Dataface_IO::fireEvent on line '$line' of file '$file'"
scripts.Dataface.IO.importData.ERROR_NO_DESTINATION_TABLES = "Error occurred while attempting to parse import data into a table.  The relationship '$relationship' of table '$table' has no destination tables listed.  It should have at least one.\n"
scripts.Dataface.IO.importData.ERROR_WRITING_TO_IMPORT_TABLE = "Failed to import records into table '$table' because of a problem writing to the import table '$importtable'."
scripts.Dataface.IO.importData.ERROR_INVALID_IMPORT_TABLE = "Error importing data from table '$importtable' because it is not a valid import table."
scripts.Dataface.IO.importData.ERROR_LOADING_DATA = "Error loading data from import table '$importtable'.  There was an SQL error: "
scripts.Dataface.IO.importData.ERROR_DROPPING_IMPORT_TABLE = "Error dropping import table '$importtable'."
scripts.Dataface.ImportForm.getRelationship.ERROR_RELATIONSHIP_NOT_FOUND = "Field '-relationship' not found in Import Form."
scripts.Dataface.ImportForm._build.LABEL_IMPORT_FILE_FORMAT = "Import File Format:"
scripts.Dataface.ImportForm._build.LABEL_PASTE_IMPORT_DATA = "Paste Import Data"
scripts.Dataface.ImportForm._build.LABEL_UPLOAD_IMPORT_DATA = "Upload Import Data"
scripts.Dataface.ImportForm._build.MESSAGE_IMPORT_FILE_FORMAT_REQUIRED = "Import File Format is a required field"
scripts.Dataface.ImportForm._build.MESSAGE_PROCEED_WITH_IMPORT = "Looks good.  Proceed with import"
scripts.Dataface.ImportForm.loadImportTable.ERROR_INVALID_IMPORT_TABLE = "Import table is not valid. : $importtable"
scripts.Dataface.ModuleTool.loadModule.ERROR_MODULE_DOES_NOT_EXIST = "The module '$name' does not exist."
scripts.Dataface.ModuleTool.loadModule.ERROR_CLASS_DOES_NOT_EXIST = "Attempted to load the module '$name' from path '$path' but after loading - no such class was found.  Please check to make sure that the class is defined.  Or you can disable this module by commenting out the line that says '{$name}={$path}' in the conf.ini file."
Role not defined but specified as parent = "The role '$parent' was specified as a parent role for the role '$key'.  Check that the role exists in the permissions.ini file.  Note that parent roles must be defined before child roles in the permissions.ini file."
scripts.Dataface.PermissionsTool.getPermissions.ERROR_PARAMETER_1 = "In Dataface_PermissionsTool, expected first argument to be Dataface_Table, Dataface_Record, or Dataface_Relationship, but received '$class'\n<br>"
Role not found = "The role '$role' is not a registered role."
scripts.Dataface.QueryBuilder.select.ERROR_FAILED_TO_SELECT_COLS = "Failed to select columns in select() on line '$line' of file '$file'"
scripts.Dataface.QueryBuilder.update.ERROR_PARAMETER_1 = "Attempt to use QueryBuilder::update() where something other than a Dataface_Record object is defined.\n<br>"
scripts.Dataface.QueryBuilder.insert.ERROR_PARAMETER_1 = "First argument to QueryBuilder::insert() must be of type Dataface_Record, but received '$class'.\n<br>"
scripts.Dataface.QueryBuilder._select.ERROR_EMPTY_SELECT = "No columns were selected in select statement.  Make sure that _omitBlobs property is disabled in QueryBuilder object if you are only wanting to return Blob columns."
scripts.Dataface.QueryBuilder._match.ERROR_NO_QUERYABLE_COLUMNS = "Query attempted when no queryable columns are available in table '$table'.  Only tables with a full-text search defined on at least one column are eligiblle to be searched in this way."
scripts.Dataface.QueryBuilder.addRelatedRecord.ERROR_PARAMETER_1 = "In QueryBuilder::addRelatedRecord() expecting first argument to be type 'Dataface_RelatedRecord' but received '$class'\n<br>"
scripts.Dataface.QueryBuilder.addRelatedRecord.ERROR_GETTING_FOREIGN_KEY_VALUES = "Error getting foreign key values for relationship '$relationship' on line '$line' of file '$file'"
scripts.Dataface.QueryBuilder.addExistingRelatedRecord.ERROR_PARAMETER_1 = "In Dataface_QueryBuilder::addExistingRelatedRecord() expected first argument to be of type 'Dataface_Record' but received '$class'.\n<br>"
scripts.Dataface.QueryBuilder.addExistingRelatedRecord.ERROR_PARAMETER_2 = "In Dataface_QueryBuilder::addExistingRelatedRecord() expected third argument to be an array but received a scalar.\n<br>"
No primary key defined = "There is no primary key defined on table '$table'. Please define a primary key."
scripts.Dataface.QueryTool.getTitles.ERROR_ERROR_RETRIEVING_TITLES = "Error retrieving title from database in Dataface_QueryTool::getTitles():"
scripts.Dataface.QueryTool.loadSet.ERROR_LOADING_RECORDS = "Error loading records in Dataface_QueryTool::loadSet(): "
scripts.Dataface.QueryTool.loadCurrent.ERROR_COULD_NOT_LOAD_CURRENT_RECORD = "Error: Could not load current record: "
scripts.Dataface.QueryTranslator.translateQuery.ERROR_INVALID_QUERY = "Invalid query attempted to be translated.  Expected select, update, or insert query but received: $query"
scripts.Dataface.QueryTranslator.expandGlob.ERROR_NONEXISTENT_TABLE = "Attempt to expand glob for non-existent table '$table'"
scripts.Dataface.QueryTranslator.translateUpdateQuery.ERROR_MULTI_TABLE_UPDATE = "Failed to translate update query because the translator does not support multiple-table update syntax."
Cannot build quickform with no record = "Attempt to build quickform with no record set."
scripts.Dataface.QuickForm._build.ERROR_FAILED_TO_BUILD_WIDGET = "Failed to build widget for field '$name' at line '$line' of file '$file'"
scripts.Dataface.QuickForm.getElementByFieldName.ERROR_GETTING_FIELD = "Error getting field in QuickForm::getElementByFieldName({$fieldname}) on line '$line' of file '$file'"
scripts.Dataface.QuickForm.getElementByFieldName.ERROR_GETTING_GROUP = "Failed to get group '$groupname' when trying to load field '$fieldname' in Dataface_Quickform::pushWidget() on line $line of file '$file'"
scripts.Dataface.QuickForm.getElementByFieldName.ERROR_GETTING_GROUP_FIELD = "Error trying to load field '$fieldname' in group '$goupname'.  The group was found but not the field. in Dataface_Quickform::pushWidget() on line '$line' of file '$file'"
scripts.Dataface.QuickForm.pullField.ERROR_NO_ACCESS_TO_FIELD = "No read access on field '$fieldname'"
scripts.Dataface.QuickForm.pullField.ERROR_FAILED_TO_GET_ELEMENT = "Failed to get element for field '$fieldname' in QuickForm::pullField() on line $line of file '$file'"
scripts.Dataface.QuickForm.push.ERROR_PUSHING_DATA = "Error pushing data onto field $field in QuickForm::push() on line '$line' of file '$file'"
scripts.Dataface.QuickForm.pushField.ERROR_GETTING_VALUE = "Error getting value for field '$fieldname' in QuickForm::pushField() on line $line of file '$file'"
scripts.Dataface.QuickForm.pushField.ERROR_SETTING_VALUE = "Error setting value for field '$fieldname' in QuickForm::pushField() on line $line of file '$file'"
scripts.Dataface.QuickForm.pushField.ERROR_SETTING_METAVALUE = "Error setting value for meta field '$field' in QuickForm::pushField() on line $line of file '$file'"
scripts.Dataface.QuickForm.pushValue.ERROR_PUSHING_VALUE = "Error trying to push value onto field '$name' in push() on line $line of file '$file'"
scripts.Dataface.QuickForm.pushValue.ERROR_GETTING_ELEMENT = "Error getting element in QuickForm::pushField() on line $line of file '$file'"
scripts.Dataface.QuickForm.pushValue.ERROR_GETTING_TABLE = "Error getting table for field '$fieldname' in QuickForm::pushField() on line $line of file '$file'"
scripts.Dataface.QuickForm.pushValue.ERROR_GETTING_ELEMENT_VALUE = "Error getting element value for element '$fieldname' in QuickForm::pushField on line $line of file '$file'"
scripts.Dataface.QuickForm.pushValue.ERROR_THROWN_BY_DELEGATE = "Error thrown by delegate when preparing value for field '$fieldname' on line $line of file '$file'"
scripts.Dataface.QuickForm.pushValue.ERROR_INSUFFICIENT_DIRECTORY_PERMISSIONS = "Could not save field '$fieldname' because there are insufficient permissions to save the file to the save directory '$savepath'. Please Check the permissions on the directory '$savepath' to make sure that it is writable by the web server."
scripts.Dataface.QuickForm.getGroupElementTemplate.ERROR_GETTING_FIELD_GROUP = "Error getting field group '$groupname' in QuickForm::getGroupElementTemplate() on line '$line' of file '$file'"
scripts.Dataface.QuickForm.save.ERROR_SAVING_RECORD = "Error saving record in QuickForm::save() on line $line of file '$file'\n<br>"
scripts.Dataface.QuickForm.save.ERROR_PUSHING_DATA = "Error pushing data from form onto table in QuickForm::save() on line $line of file '$file'"
scripts.Dataface.Record._loadRelatedRecordBlock.ERROR_GETTING_RELATIONSHIP = "Error getting relationship '$relationship'.  The value returned by getRelationship() was '$retval'."
scripts.Dataface.Record._loadRelatedRecordBlock.ERROR_LOADING_RELATED_RECORDS = "Error loading related records for relationship '$relationship' in table '$table'.  There was a problem performing the sql query '$sql'. The Mysql error returned was '$mysql_error'\n<br>"
scripts.Dataface.Record.numRelatedRecords.ERROR_CALCULATING_NUM_RELATED_RECORDS = "Error calculating the number of related records there are for the relationship '$relationship' in the table '$table'.  There was a problem performing the sql query '$sql'.  The MYSQL error returned was '$mysql_error'.\n<br>"
scripts.Dataface.Record.setValue.ERROR_FIELD_DOES_NOT_EXIST = "Attempt to set value for field '$field' in table '$table' failed because the field does not exist.\n<br>"
scripts.Dataface.Record.getValue.ERROR_PARAMETER_2 = "In Dataface_Record.getValue() expected 2nd parameter to be integer but received array."
scripts.Dataface.Record.getValue.ERROR_PARAMETER_3 = "In Dataface_Record.getValue() expected 3rd parameter to be a string, but received array."
scripts.Dataface.Record.getValue.ERROR_PARAMETER_4 = "In Dataface_Record.getValue() expected 4th parameter to be a string but received array."
scripts.Dataface.RelatedList.toHtml.LABEL_ADD_NEW_RELATED_RECORD = "Add New $relationship Record"
scripts.Dataface.RelatedList.toHtml.LABEL_ADD_EXISTING_RELATED_RECORD = "Add Existing $relationship Record"
scripts.Dataface.RelatedList.toHtml.LABEL_IMPORT_RELATED_RECORDS = "Import $relationship Records"
scripts.Dataface.RelatedList.toHtml.MESSAGE_FOUND = "<b>Found</b> $num Records in relationship <i>$relationship</i>"
scripts.Dataface.RelatedList.toHtml.MESSAGE_NOW_SHOWING = "<b>Now Showing</b> <i>$start</i> to <i>$finish</i>"
scripts.Dataface.RemoveRelatedRecordForm._build.LABEL_ALSO_DELETE_FROM_DB = "Also delete record(s) from database?"
scripts.Dataface.RemoveRelatedRecordForm._build.LABEL_REMOVE = "Remove"
scripts.Dataface.RemoveRelatedRecordForm.display.MESSAGE_ARE_YOU_SURE = "Are you sure you want to remove the following records from the relationship '$relationship'?"
scripts.Dataface.RemoveRelatedRecordForm.delete.INSUFFICIENT_PERMISSIONS = "Could not remove record '$title' because of insufficient permissions"
scripts.Dataface.TranslationForm.ERROR_NO_TRANSLATIONS = "Attempt to translate a record in a table '$table' that contains no translations."
scripts.Dataface.TranslationForm.ERROR_NO_RECORD_FOUND = "No record was found to be translated."
scripts.Dataface.TranslationForm.LABEL_SOURCE_TRANSLATION = "Source Translation"
scripts.Dataface.TranslationForm.LABEL_DESTINATION_TRANSLATION = "Destination Translation"
scripts.Dataface.TranslationForm.LABEL_TRANSLATION_STATUS = "Translation Status"
scripts.Dataface.TranslationForm.LABEL_VERSION = "Version"
actions.browse.label = "Details"
actions.list.label = "List"
actions.find.label = "Find"
actions.new.label = "New Record"
actions.new.description = "Create a new record"
actions.show_all.label = "Show All"
actions.show_all.description = "Show all records in table"
actions.copy_replace.label = "Copy Set"
actions.copy_replace.description = "Copy the records in this found set."
actions.update_set.label = "Update Set"
actions.update_set.description = "Update the records in this found set as a group."
actions.translate_found_babelfish.label = "Translate found records"
actions.translate_found_babelfish.description = "Translate found records using Google Webservice"
actions.export_csv.label = "Export CSV"
actions.export_csv.description = "Export the current result set in comma separated value (CSV) format.  CSV is compatible with most spread sheet applications like MS Excel"
actions.rss.label = "RSS"
actions.rss.description = "RSS Feed of this found set"
actions.export_csv_related.label = "Export CSV"
actions.export_csv_related.description = "Export the current result set in comma separated value (CSV) format.  CSV is compatible with most spread sheet applications like MS Excel"
actions.delete.label = "Delete"
actions.delete.description = "Delete current record"
actions.delete_found.label = "Delete Set"
actions.delete_found.description = "Delete found records"
actions.invalidate_translations.label = "Invalidate Translations"
actions.invalidate_translations.description = "Flag all translations of this record (or the currently found records) so that they will be re-translated."
actions.set_translation_status.label = "Set Translation Status"
actions.set_translation_status.description = "Set Translation Status of the found set"
actions.submit_translation.label = "Submit a translation"
actions.submit_translation.description = "Submit your own translation for this section"
actions.view_original.label = "View original"
actions.view_original.description = "View the original version of this page in its original language"
actions.view.label = "View"
actions.edit.label = "Edit"
actions.translate.label = "Translate"
actions.history.label = "History"
actions.register.label = "Register"
actions.import.label = "Import Records"
actions.import.description = "Import records into table"
actions.history_restore_record.label = "Restore"
actions.history_restore_record.description = "Restore the current record to the contents of this history snapshot"
actions.copy_selected.label = "Copy"
actions.copy_selected.description = "Copy selected records"
actions.update_selected.label = "Update"
actions.update_selected.description = "Update selected records"
actions.update_selected_related.label = "Update"
actions.udpate_selected_related.description = "Update selected records"
actions.remove_selected_related.label = "Remove"
actions.remove_selected_related.description = "Remove selected records from this relationship"
templates.Dataface_DeleteForm.DELETE_RECORDS = "Delete Records"
found x records in table y = "<b>Found</b> $found or $total records in table <b><i>$table</i></b><br/><b>Now Showing</b> $cursor of $found"
No records matched request = "No records matched the request"
templates.Dataface_Fineprint.POWERED_BY_DATAFACE = "Powered by Dataface"
templates.Dataface_Fineprint.DESIGNED_BY = "Dataface framework designed and developed by <a href='mailto:steve_hannah@sfu.ca'>Steve Hannah</a>, <a href='http://www.fas.sfu.ca'>Faculty of Applied Sciences</a> Web Services Developer (<a href='http://www.sfu.ca'>Simon Fraser University</a>)."
templates.Dataface_Fineprint.COPYRIGHT = "(c) $year All rights reserved"
templates.Dataface_Fineprint.STYLESHEETS = "Stylesheets adapted from <a href='http://www.plone.org'>Plone</a> 2.0.5 stylesheet"
templates.Dataface_Import_Related_Records.HEADING_IMPORT_RECORDS_FORM = "Import Records Form"
templates.Dataface_Import_Related_Records.MESSAGE_INTRO = "This form allows you to import records into the current table"
templates.Dataface_Import_Related_Records.HEADING_INSTRUCTIONS = "Instructions"
templates.Dataface_Import_Related_Records.P_INSTRUCTIONS_1 = "Select the appropriate import format from the select list, paste the appropriate data to be imported into the text area or select a file to upload that contains the data to be imported."
templates.Dataface_Import_Related_Records.P_INSTRUCTIONS_2 = "Be sure that the data being imported is in the correct format or the import may fail."
templates.Dataface_Import_Related_Records.HEADING_IMPORT_SPECIFIC_INSTRUCTIONS = "Import Format Specific Instructions:"
templates.Dataface_Import_Related_Records.MESSAGE_NO_IMPORT_FILTERS_DEFINED = "No import filters were defined for this table."
Please Login = "Please Login to access this section of the site"
Username = "Username"
Password = "Password"
templates.Dataface_RecordHistory.MESSAGE_LOADING = "Loading ... Please wait ..."
templates.Dataface_RecordHistory.JS_STRING_CONFIRM_RESTORE = "'Are you sure you want to restore the current record to the history snap shot with id '+id+'?'"
templates.Dataface_RecordHistory.LABEL_ID = "ID"
templates.Dataface_RecordHistory.LABEL_DATE = "Date"
templates.Dataface_RecordHistory.LABEL_LANGUAGE = "Language"
templates.Dataface_RecordHistory.LABEL_USER = "User"
templates.Dataface_RecordHistory.LABEL_COMMENTS = "Comments"
templates.Dataface_RecordHistory.LABEL_DETAILS = "Details"
templates.Dataface_RecordHistory.LABEL_CHANGES = "Changes"
templates.Dataface_ResultListController.MESSAGE_FOUND_RECORDS = "<b>Found</b> $found of $total records in table <b><i>$table</i></b><br/><b>Now Showing</b> $start to $end"
templates.Dataface_set_translation_status.HEADING_SET_TRANSLATION_STATUS = "Set Translation Status"
templates.Dataface_set_translation_status.INSTRUCTIONS = "Select the translation and status below to set the status of all found record's translations to that status.  For example, if you want to set the french translation status of all of the records in the current found set to 'Approved', you would select 'French' from the <em>Translation</em> menu, and 'Approved' from the <em>Status</em> menu."
templates.Dataface_set_translation_status.LABEL_RECORD = "Record"
templates.Dataface_submit_translation.HEADING = "Submit Translation"
templates.Dataface_submit_translation.LABEL_SUBJECT = "Subject"
templates.Dataface_submit_translation.LABEL_NAME = "Your name:"
templates.Dataface_submit_translation.LABEL_ORIGINAL_TEXT = "Original Text:"
templates.Dataface_submit_translation.LABEL_TRANSLATED_TEXT = "Translated Text:"
templates.Dataface_submit_translation.LABEL_SUBMIT = "Submit"
templates.ImportForm_step2.HEADING_FOUND_RECORDS = "Found $num records to import."
templates.ImportForm_step2.LABEL_PREVIEW = "Preview Import Data"
templates.RecordNavMenu.MESSAGE_LOADING = "Loading ..."
templates.RecordNavMenu.HEADING_THIS_RECORD = "This Record"
templates.actions_manage_migrate.HEADING_MIGRATION_MANAGER = "Migration Manager"
templates.actions_manage_migrate.INSTRUCTIONS = "This page allows you to migrate data from old versions of Dataface to your current version.  Select the migrations you wish to perform below and submit the form."
templates.actions_manage_migrate.MESSAGE_NO_MIGRATIONS = "There are currently no migrations to be performed."
templates.actions_manage_migrate.LABEL_PERFORM_MIGRATIONS = "Perform selected migrations"
templates.copy_replace.HEADING_SELECTED_RECORDS = "Selected records:"
templates.copy_replace_quickform_element_template.LABEL_MAKE_BLANK = "Make Blank"
Actions menu title = "Actions to be performed"
scripts.GLOBAL.LABEL_LAST_MODIFIED = "Last updated $last_mod"
scripts.GLOBAL.LABEL_DATE_CREATED = "Created $created"
scripts.GLOBAL.LABEL_SEARCH = "Search"
scripts.GLOBAL.LABEL_LOGIN = "Login"
scripts.GLOBAL.LABEL_ALL = "All"
scripts.GLOBAL.MESSAGE_NO_MATCH = "No records matched your request."
scripts.GLOBAL.MESSAGE_RESULTS_PER_PAGE = "Results per page"
scripts.GLOBAL.LABEL_NEXT = "Next"
scripts.GLOBAL.LABEL_PREV = "Prev"
scripts.GLOBAL.MESSAGE_FOUND = "Found $found records"
scripts.global.MESSAGE_UNKNOWN = "Unknown"
scripts.GLOBAL.LABEL_FIND = "Find"
scripts.GLOBAL.LABEL_SHOWING = "Showing"
scripts.GLOBAL.LABEL_ADD_ROW = "Add Row"
scripts.GLOBAL.LABEL_LOGOUT = "Logout"
classes.FormTool.errors.ERROR_IN_TAB = "A validation error occurred in the $tab tab.  Please verify that this tab's input is correct before saving."
scripts.Dataface_FormTool.LABEL_EDIT_DETAILS = "Edit Details"
scripts.Dataface_RelationshipCheckboxForm.MESSAGE_NUM_RECORDS_ADDED = "$num_added records were successfully added to the relationship."
scripts.Dataface_RelationshipCheckboxForm.LABEL_SUBMIT = "Save"
scripts.Dataface_RelationshipCheckboxForm.MESSAGE_NUM_RECORDS_REMOVED = "$num_removed records were successfully removed from the relationship."
scripts.Dataface_SearchForm.LABEL_MATCH_ANY = "Match any selected"
scripts.Dataface_SearchForm.LABEL_MATCH_ALL = "Match all selected"
scripts.Dataface_SearchForm.LABEL_MATCH_NONE = "Do not match selected"
scripts.Dataface_QuickForm.LABEL_EDIT_DETAILS = "Edit Details"
scripts.Dataface_SkinTool.LABEL_BREADCRUMB = "You are here"
actions.register.MESSAGE_USERNAME_REQUIRED = "Please enter a username"
actions.register.LABEL_A_DATAFACE_APPLICATION = "a Dataface Application"
actions.register.MESSAGE_PASSWORD_REQUIRED = "Please enter a password"
actions.register.MESSAGE_EMAIL_REQUIRED = "Please enter a valid email address in order to register.  A valid email address is required because an email will be sent to the address with information on how to activate this account."
actions.delete_selected.description = "Delete selected records"
actions.manage_output_cache.label = "Output cache"
actions.summary_edit.description = "Edit this record"
actions.find_list.label = "{$query['-table']}"
actions.remove_related_record.label = "remove"
actions.calendar.label = "Calendar"
actions.update_selected_related.description = "Update selected records"
actions.view_event_details.label = "View Event Details"
actions.export_xml.description = "Export the current result set as XML."
actions.find_list.description = "Find records in {$query['-table']} category only."
actions.export_json.description = "Export the current result set as JSON."
actions.manage_migrate.description = "A tool to help migrate to newer versions of Dataface."
actions.new_related_record.label = "Add new {$query['-relationship']} record"
actions.related_records_list.label = "{$query['-relationship']}"
actions.manage_build_index.description = "Build and maintain a search index to perform full site searches."
actions.my_profile.label = "My Profile"
actions.search_index.label = "This Site"
actions.export_xml.label = "Export XML"
actions.summary_edit.label = "Edit"
actions.export_json.label = "Export JSON"
actions.delete_selected.label = "Delete"
actions.manage_migrate.label = "Migrations"
actions.manage_build_index.label = "Build Search Index"
actions.related_rss.label = "RSS"
actions.edit_event_details.label = "Edit Event Details"
actions.view_xml.label = "Export XML"
actions.related_rss.description = "Subscribe to RSS feed of this relationship"
actions.manage_output_cache.description = "Management options for the Dataface output cache."
actions.view_xml.description = "Export an XML representation of this record"
actions.manage.label = "Control Panel"
templates.Dataface_Record.LABEL_CURRENT_RECORD = "Current Record"
Logged in as user = "Logged in as {$username}"
scripts.Dataface_ResultList.MESSAGE_WITH_SELECTED = "With Selected"
scripts.Dataface_ResultList.MESSAGE_FILTER_RESULTS = "Filter Results"
00Davo
 
Posts: 55
Joined: Sat Jan 02, 2010 9:02 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby shannah » Sun Jan 03, 2010 12:48 am

Thanks for reporting this one I was not aware of this bug. I'm not running PHP 5.3 yet because it doesn't seem stable. For example you have just uncovered another bug in the changes they made in 5.3 as reported
http://bugs.php.net/bug.php?id=50340

The bug report says that it affects 5.3.1 and has been fixed in SVN. So presumeably the fix will be included in the next release of PHP.

If you cannot downgrade to PHP 5.2.x then an alternative would be to just comment out problematic lines from INI files as they are reported. The bug report states that this only affects INI files containing a key with "No" followed by a space.

You can comment out any line in an INI file using a semi colon.

E.g.

Code: Select all
;No action found = "No action found named '$name'"

Comments out this line and would fix that particular error.

The en.ini file is pretty much optional anyways because if it can't be found (or a particular string in it can't be found) Xataface will just use hardcoded backup strings (in english) in the source code.

Best regards

Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby 00Davo » Sun Jan 03, 2010 12:54 am

Commenting out that line gave a similar error, with a different line number. So I commented out that line too, and got another line number. Five comments later, the errors are gone. Yay. This also fixed the issue when performing INSERTs and UPDATEs.

But I have yet another problem! :O When implementing relationships, I can't view the relationship tabs due to an error reading "You don't have permission to view this relationship." I haven't set up any permissions or authentication, so I'm pretty sure I should have permission here.
00Davo
 
Posts: 55
Joined: Sat Jan 02, 2010 9:02 pm

Re: Fatal error: Call to undefined method PEAR_Error::getField()

Postby shannah » Sun Jan 03, 2010 1:06 am

Someone else is having this same problem right now. Perhaps you should join this thread for this issue:
viewtopic.php?f=4&t=5096

I'm not sure why this is happening. I guess I'll have to set up a PHP 5.3 install so I can run some tests and see why.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 10 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved