TOPIC:

DB function failed with error number 1064 13 years 1 month ago #2121

  • dkwoodhouse's Avatar Topic Author
  • dkwoodhouse
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 4
  • Thanks: 0
Hi,

I'm trying to create a package from an old Mambo 4.5.2 facileform to import into BreezingForms. I get this error

DB function failed with error number 1064
You have an error in your SQL syntax near 'union select distinct binary package as package from mos_facileforms_forms union' at line 1 SQL=select distinct binary package as package from mos_facileforms_compmenus where parent=0 union select distinct binary package as package from mos_facileforms_forms union select distinct binary package as package from mos_facileforms_scripts union select distinct binary package as package from mos_facileforms_pieces order by package

It looks like the error is coming from
/administrator/components/com_facileforms/admin/config.class.php

$lists = _ff_select(
"select distinct binary package as package from #__facileforms_compmenus where parent=0 ".
"union ".
"select distinct binary package as package from #__facileforms_forms ".
"union ".
"select distinct binary package as package from #__facileforms_scripts ".
"union ".
"select distinct binary package as package from #__facileforms_pieces ".
"order by package"

Please Log in or Create an account to join the conversation.

Re:DB function failed with error number 1064 13 years 1 month ago #2122

  • dkwoodhouse's Avatar Topic Author
  • dkwoodhouse
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 4
  • Thanks: 0
Nevermind ... i found new code that replaces that with this call

facileFormsConfig::getAllPackages($lists);

just copied the new classes getAllPackages and addToAll and seems to have fixed it.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.035 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!