randallw VIP
Total posts: 74
20 Сен 2013 19:04

While testing Pay to Access field: - Downloaded and installed latest Joomla 3.1.5, latest Cobalt Media 8.70, latest Cobalt everything 8.337. - Configured 1 type with 1 HTML field. - Configured 1 section. - Configured 1 menu showing the section.

Successfully added new record, but got the following error when returned to the record listing:

Strict Standards: Declaration of JFormFieldCHtml::onImport() should be compatible with CFormField::onImport($value, $params, $record = NULL) in /home/[host]/[domain]/components/com_cobalt/fields/html/html.php on line 13

Последние изменения: 02 Март 2014


randallw VIP
Total posts: 74
21 Сен 2013 01:00

Added Pay to Access field to type, turned on Sandbox mode and activated Paypal, but didn't configure all paypal settings yet (advised on another thread that this should at least allow submitting a record).

Errors when viewing record listing (no joomla formatting, just these errors on the page):

=====================

Strict Standards: Declaration of JFormFieldCHtml::onImport() should be compatible with CFormField::onImport($value, $params, $record = NULL) in /home/[host]/[domain]/components/com_cobalt/fields/html/html.php on line 13

Strict Standards: Declaration of CFormFieldUpload::onImport() should be compatible with CFormField::onImport($value, $params, $record = NULL) in /home/[host]/[domain]/components/com_cobalt/library/php/fields/cobaltupload.php on line 642

Warning: require_once(/home/[host]/[domain]/components/com_emerald/api.php): failed to open stream: No such file or directory in /home/[host]/[domain]/components/com_cobalt/fields/paytoaccess/paytoaccess.php on line 192

Fatal error: require_once(): Failed opening required '/home/[host]/[domain]/components/com_emerald/api.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/[host]/[domain]/components/com_cobalt/fields/paytoaccess/paytoaccess.php on line 192

Not showing Pay to Access on Intro View shows the record but displays these errors:

=====================

Strict Standards: Declaration of JFormFieldCHtml::onImport() should be compatible with CFormField::onImport($value, $params, $record = NULL) in /home/[host]/[domain]/components/com_cobalt/fields/html/html.php on line 13

Strict Standards: Declaration of CFormFieldUpload::onImport() should be compatible with CFormField::onImport($value, $params, $record = NULL) in /home/[host]/[domain]/components/com_cobalt/library/php/fields/cobaltupload.php on line 642

Clicking on Full Record View then displays first set of errors listed above.


Sergey
Total posts: 13,748
22 Сен 2013 09:23

I know that problem is this function. But you did not select any plan. The strange thing is that in the code before require Emerald API file we check if it is exists. And require only if there is file. So code pass JFile::exists() or but then cannot include file. And this is weird.

We will find out why on monday. I have your FTP now and on monday I will check why.

Работает на Cobalt