Results 1 to 5 of 5

Thread: i broke project tasks error 1054

  1. #1
    excess1973 is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    37

    Default i broke project tasks error 1054

    Ok, I was adding new fiedls to modify the layout of the project task list view.
    I was trying to find the one that identifies and links to the project that task is under.
    So I added from sugar bin the one that said TAG MAIN PROJECT TASK ID and I guess PARENT ID NAME or something along these lines, and it didn't work.

    Then I removed all the fields that I thought were wrong and saved it, and it saying:

    Error retrieving ProjectTask list: Query Failed:SELECT users.user_name assigned_user_name, project.name parent_name, project.assigned_user_id parent_name_owner, project_task.* , project_task_cstm.* FROM project_task LEFT JOIN users ON project_task.assigned_user_id=users.id LEFT JOIN project ON project_task.parent_id=project.id LEFT JOIN project_task_cstm ON project_task.id = project_task_cstm.id_c where project_task.deleted=0 AND project.deleted=0 ORDER BY project_task.parent_name asc LIMIT 0,40::MySQL error 1054: Unknown column 'project_task.parent_name' in 'order clause'

    How can I reset the entire view to the original view that I once had??? any ideas
    (Oh right, and I didn't do any backups This is great.

    Thanks for any help!

  2. #2
    excess1973 is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    37

    Default Re: i broke project tasks error 1054

    i went to phpadmin and added a field called parent_name in the project task table. I have no idea what it does, but it seems like it might be working now. if not i'll report back in.

  3. #3
    excess1973 is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    37

    Default Re: i broke project tasks error 1054

    ok, now I'm back to the original problem. What is the name of the project itself in the project tasks list view page.
    I want to get it back to the default like it was when it said:
    the name of the project task | the name of the project its about \ etc.

    any ideas?

  4. #4
    staibha is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    berlin, germany
    Posts
    64

    Default Re: i broke project tasks error 1054

    To restore the Listview, just ftp the original ListView.html into /modules/ProjectTask. Download the appropriate sugar version and extract the original file from there.
    Last edited by staibha; 2006-08-13 at 09:49 AM.
    Cheers Haimar

    staib media gmbh
    www.staibmedia.com
    info(at)staibmedia.com

    Berlin, Germany

  5. #5
    excess1973 is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    37

    Default Re: i broke project tasks error 1054

    i did reset that listview and the php too. I think it's the php file that fixed it.
    but when I go to sort on the project name, (parent name) I get the error again.

    I then deleted the field that I added to mysql (see above post) and so far, all is well.


    Thanks for your help!
    Last edited by excess1973; 2006-08-13 at 07:44 PM.

Thread Information

Users Browsing this Thread

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

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
  •