K4kArot2015 / sigplus

Automatically exported from code.google.com/p/sigplus
0 stars 0 forks source link

Problem with other lib #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I want a small Adsmanager for my site: http://www.joomprod.com/

After installing and calling the components configuration, I get a error (see 
attached file) mentioning SIGPLUS.

What is this about?

What version of the product are you using?
.124

Please provide any additional information below.
See picture

Original issue reported on code.google.com by RobertoC...@gmail.com on 15 Aug 2011 at 2:47

Attachments:

GoogleCodeExporter commented 9 years ago
Deactivation of "SIGPLUS button" takes care of the problem.

Original comment by RobertoC...@gmail.com on 15 Aug 2011 at 3:08

GoogleCodeExporter commented 9 years ago
This is not a compatibility issue but happens to be a programming error.

The PHP error message was triggered when the sigplus editor extender button 
code was trying to instantiate the Joomla core class JForm in order to load 
sigplus plug-in configuration settings from the extension XML manifest file but 
without having first imported the PHP file in which JForm is defined with the 
statement

jimport('joomla.form.form');

Adding the import statement to the PHP file header fixes the issue.

The reason why the error would crop up in some constellations but not in others 
is that some other code may have already imported JForm dependencies by the 
time the sigplus button code runs.

Original comment by huny...@gmail.com on 15 Aug 2011 at 3:37