Page 1 of 5 12345 LastLast
Results 1 to 10 of 44

Thread: Import Doesn't Work At All On 5.1 Not Even On The Sugar Demo!

  1. #1
    audiopleb is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    40

    Default Import Doesn't Work At All On 5.1 Not Even On The Sugar Demo!

    Try it! Go on! Try importing tasks, try importing notes, try importing anything! It doesn't work!

    I've tried tab delimited, comma delimited and it don't work!

    Here's the error from the sugarcrm.com demo site that i just tried!

    NOTICE: [8] Undefined index: table on line 410 in file /var/www/demo/demo.sugarcrm.com/www/sugarcrm_ce/modules/Import/ImportFieldSanitize.php
    WARNING: [2] mysqli_error() expects exactly 1 parameter, 0 given on line 168 in file /var/www/demo/demo.sugarcrm.com/www/sugarcrm_ce/include/database/MysqliManager.php
    Want only a single row Query Failed:SELECT id FROM WHERE last_name = 'Barone' AND deleted != 1 LIMIT 0,1::MySQL error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE last_name = 'Barone' AND deleted != ' at line 3
    Importing Records 1 to 1 of 1
    Importing Records 1 to 1 of 1

    I can't believe no-one else has picked this up yet!
    Attached Images Attached Images  
    Last edited by audiopleb; 2008-09-10 at 01:47 PM.

  2. #2
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Import Doesn't Work At All On 5.1 Not Even On The Sugar Demo!

    Looking into it.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  3. #3
    audiopleb is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    40

    Default Re: Import Doesn't Work At All On 5.1 Not Even On The Sugar Demo!

    I had also submitted a bug to the same effect on your bug tracker thingy but when i did it there was no option for this version of sugar so i left it unclassified.

    Will you add a post to this thread when the issue has been resolved?

    Thanks!

  4. #4
    zippy is offline Member
    Join Date
    Sep 2008
    Posts
    12

    Default Re: Import Doesn't Work At All On 5.1 Not Even On The Sugar Demo!

    Most strange, i have tested it and had no problems. i was importing something from another sugar install, i selected csv and double quotes and off it went, ok the date modified info didnt come across but then i was modifying it anyway.
    worked ok but watch out for date formats, that caught me out once. I still dont understand why it decided to change the due dates to 1970 though.

    But, for me it worked ok.

  5. #5
    audiopleb is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    40

    Default Re: Import Doesn't Work At All On 5.1 Not Even On The Sugar Demo!

    I even tested it without having any dates imported as i know that can be a problem a lot of the time but still the same result.

    The only thing i haven't tried is fiddling around with the line endings of the file and stuff like that but it really shouldn't be an issue.

  6. #6
    zippy is offline Member
    Join Date
    Sep 2008
    Posts
    12

    Default Re: Import Doesn't Work At All On 5.1 Not Even On The Sugar Demo!

    where is your data from?

  7. #7
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: Import Doesn't Work At All On 5.1 Not Even On The Sugar Demo!

    Hi,

    We have had mixed results. Both systems are 5.1 RC

    With one system absolutely no issues, imported among other things over 80.000 Notes with no problems.

    With a second system we are getting the same errors as audiopleb. The only difference I can see is that in the second system we have added a lot of custom fields via Studio.

    I szspect that this is causing the issues.
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  8. #8
    zippy is offline Member
    Join Date
    Sep 2008
    Posts
    12

    Default Re: Import Doesn't Work At All On 5.1 Not Even On The Sugar Demo!

    I dont know if its of use, but there is an data tool with maps available for sugar called apatar, might be a work around for now. I am not sure if you have seen it?

  9. #9
    audiopleb is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    40

    Default Re: Import Doesn't Work At All On 5.1 Not Even On The Sugar Demo!

    Mine is a totally fresh install, no custom fields at all. Totally default setup.

    I have made the test csv file myself in excel and also got some data out of our current CRM which i'm trying to migrate from.

    Both have the same results.

  10. #10
    zippy is offline Member
    Join Date
    Sep 2008
    Posts
    12

    Default Re: Import Doesn't Work At All On 5.1 Not Even On The Sugar Demo!

    Thats a pain isnt it :/

    I used a csv to import data (tasks), and i used double-quotes as my qualifier and it worked like a charm. is there anyway you can tweak your data and try that?

Page 1 of 5 12345 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sugar is slow - some ideas to improve the speed
    By mycrmspacegunnar in forum General Discussion
    Replies: 22
    Last Post: 2012-04-04, 01:44 PM
  2. Cannot import notes - Sugar 5.1
    By audiopleb in forum Help
    Replies: 1
    Last Post: 2008-09-09, 10:31 AM
  3. Sugar 5.1 maintenance plan
    By andopes in forum Help
    Replies: 2
    Last Post: 2008-09-05, 06:18 PM
  4. A hint for sugar CRM dev team about import
    By Skipidar in forum Developer Help
    Replies: 0
    Last Post: 2006-11-28, 02:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •