ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Notice "Constant DS already defined in"

sohopros 26 Oct, 2015
Hi,

I am updating Joomla from 2.5 to 3.x. And I migrate Chronoforms also.
After migration I get Notice: "Notice: Constant DS already defined in /home/folch33devsoho/public_html/components/com_chronoforms/chronoforms.php on line 11"
URL: http://www.folch33.devsoho.com/faqs/guild-inquiries

How can I solve it?

P.S If I set Site Error Reporting to System Default or to None in the site Global Configuration Notice still appear.
GreyHead 26 Oct, 2015
Hi sohopros,

Have you upgraded ChronoForms v4 to the latest release for Joomla! 3?

Bob
sohopros 26 Oct, 2015
Hi Bob,

Yes, we use Chronoforms v 4.0.6 on Joomla 3.

Thanks,
Sandra
GreyHead 26 Oct, 2015
Hi sophoros,

Ah sorry, it's fixed on my site but not in Max's released version.

The simplest solution is to set your site Error Reporting to System Default or None in the Site global Configuration - that should hide PHP Notices and Warnings.

If you want a fix you can edit the file around line 11
defined('_JEXEC') or die('Restricted access');
if ( !defined('DS') ) { // add this line
	define('DS', DIRECTORY_SEPARATOR);
} // and add this line

Bob
sohopros 27 Oct, 2015
Hi Bob,

You said that it is fixed on your site? So on Chronoforms v5 is shouldn't appear?

Thanks,
Sandra
GreyHead 27 Oct, 2015
Hi sohopros,

It's fixed in CFv4 on my test site. Maz hasn't released a fixed version of CFv4.

CFv5 is OK - but this isn't a big enough reason to switch. Changing the Site Error Reporting is a lot less work.

Bob
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com