July 30, 2010, 09:43:47 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Dont forget to check the Facile Forms wiki !
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Fatal error when importing package  (Read 7039 times)
Captain Paralytic
Supporter
Full Member
*****
Offline Offline

Posts: 226



« on: August 19, 2006, 11:32:21 pm »

When trying to load a package created on another site I get the error:

Fatal error: Call to undefined function: ff_query() in w:\www\sam\administrator\components\com_facileforms\admin\import.class.php on line 300

However, if I open the xml file in HTML=Kit and then save it it imports OK.

Since the package is about half a meg, I've zipped it before attaching.

* a2.zip (47.08 KB - downloaded 311 times.)
Logged
japslock
Newbie

Offline Offline

Posts: 10


« Reply #1 on: April 02, 2007, 09:34:33 pm »

Hi!

I had the same problem...anybody fixed it?
Logged
fvds
Administrator
Living Legend
*****
Offline Offline

Posts: 2321



WWW
« Reply #2 on: April 02, 2007, 11:23:44 pm »

I installed it on my local testserver (Linux/Joomla 1.0.12/FF 1.4.7) and it installs OK....
Logged

Fred

Please read the forum rules first!
Please do not use PM for generic questions!
Visit me at OverTheWeb
japslock
Newbie

Offline Offline

Posts: 10


« Reply #3 on: April 03, 2007, 04:07:52 am »

I have the same instaled here, installed and reinstalled all, but it doens´t work.

Quote
Fatal error: Call to undefined function ff_query() in C:\Arquivos de programas\xampp\htdocs\00\administrator\components\com_facileforms\admin\import.class.php on line 300

* radiografiaigreja4.xml (70.29 KB - downloaded 283 times.)
Logged
japslock
Newbie

Offline Offline

Posts: 10


« Reply #4 on: April 03, 2007, 12:36:37 pm »

I found the problem

File corrupted, something happened when created the package...
Logged
nicolafw
Newbie

Offline Offline

Posts: 3


« Reply #5 on: June 25, 2007, 09:22:20 pm »

I also had that problem:
"Fatal error: Call to undefined function: ff_query() in .../administrator/components/com_facileforms/admin/import.class.php on line 300"

Sorry, I did not understand how you solved that. Can you explain more detailed? that would be great.

Thanks.
Nicola
Logged
Captain Paralytic
Supporter
Full Member
*****
Offline Offline

Posts: 226



« Reply #6 on: June 26, 2007, 10:40:16 am »

I just opened the pachage in the HTML-Kit editor and then immediately saved it. Imported just fine after doing that.
Logged
svarmuza
Newbie

Offline Offline

Posts: 6


« Reply #7 on: January 22, 2008, 10:53:52 pm »

Greetings,
I transfered some domains on new servers and now I have problems while importing packages mentioned above. This is happening only on joomla instalations on new server. What server configuration might cause this.
Is there a way I can import form manually somehow?
Thanks for the help.
Sasa
Logged
Captain Paralytic
Supporter
Full Member
*****
Offline Offline

Posts: 226



« Reply #8 on: January 22, 2008, 11:18:28 pm »

Did you try my suggested fix?
Logged
svarmuza
Newbie

Offline Offline

Posts: 6


« Reply #9 on: January 23, 2008, 10:09:05 am »

Greetings,
I have opened it in HTML-kit and saved it again, but again I get the same error
Quote
Fatal error: Call to undefined function: ff_query() in .../administrator/components/com_facileforms/admin/import.class.php on line 300
Again, It worked ok on previous server, and not on this new one.
Is there a way I can import form manually to FF?
Thanks,
Sasa
Logged
lumo
Newbie

Offline Offline

Posts: 5


« Reply #10 on: April 22, 2008, 11:13:23 pm »

This may give some clues as to why this happens...

I have had the same problems with some of my packages and in my case it is related to a particular charactor in a data element.
Code:
<data1>Text blah blah…</data1>

The charactor is question is the 3 small dots before the </data1> known as a "horizontal ellipsis" (news to me).
It was pasted content and I thought it was just 3 fullstops  Huh? but it was actually a &hellip; although in the xml it appeared as . Replacing the … with &hellip; in the xml made no diifference.

Removed it and it installed fine. I assume this an occur with other weird and wonderful characters?

And perhaps opening and closing in HTML-Kit corrects the xml for other problem charactors (didn't for me with this one)

I did notice that even though it threw a "Fatal error: Call to undefined function: ff_query() in \administrator\components\com_facileforms\admin\import.class.php on line 300" the package still installed and could be loaded but all data, elements etc were missing from this line with the "horizontal ellipsis" onward.

This would help trouble shoot where the problem is so upload the package, receive the error, refresh the packages (F5),
export the problem package and open the xml.
You will see that the last full <element>......</element> is the one before the element that is breaking the upload.

Hope this helps....
      
Logged
akasharkbow
Newbie

Offline Offline

Posts: 2


« Reply #11 on: September 07, 2008, 10:19:11 pm »

Thanks so much. That trick worked out perfectly.

David H. Johnston
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by SMF © 2001-2006 Lewis Media
| Terms of Use | Privacy | Sitemap |