Results 1 to 7 of 7

Thread: Campaign : Fatal error : Class 'ProspectLists' not found in ... ACL/ACLController.php

  1. #1
    jeepy is offline Member
    Join Date
    Apr 2009
    Location
    Québec
    Posts
    15

    Default [FIXED] Campaign : Fatal error : Class 'ProspectLists' not found in ...

    My campaign module says :
    Fatal error: Class 'ProspectLists' not found in /home/jeepy/public_html/sugar/modules/ACL/ACLController.php on line 207



    Here the history of the day :
    - Importing prospects to lists
    - sending email from a campaign at 14h
    - adding a prospect and prospectlist tab by adding :
    $moduleList[] = 'Prospects';
    to /include/modules.php
    - It was working ok for the Prospects, but not for the prospectList at first because of the syntax so meanwhile I tried adding a file to
    /custom/Extension/application/Ext/include
    like written there : http://www.sugarcrm.com/forums/showt...+tool+prospect
    and I did a Rebuild Extension
    and got this error :

    Code:
    Rebuilding Language...en_us
    Rebuilding Language...fr_FR
    Rebuilding Vardefs...
    Rebuilding Layoutdefs...
    Rebuilding Menus...
    Rebuilding User Page Section...
    Rebuilding administration Section...
    Rebuilding Relationships
    Fatal error: Cannot redeclare class ProspectList in /home/amstramg/public_html/sugar/modules/ProspectLists/ProspectList.php on line 379
    Then I installed the new version of the module Google Calendar 1.09 RC (I already had the 1.07)

    HELP! HELP, I can't use my campaign module anymore I have to send email to prospect ASAP.
    Last edited by jeepy; 2009-05-06 at 02:49 AM. Reason: Add Fixed in title

  2. #2
    jeepy is offline Member
    Join Date
    Apr 2009
    Location
    Québec
    Posts
    15

    Default Re: Campaign : Fatal error : Class 'ProspectLists' not found in ... ACL/ACLController

    After trying some build and repair, the campaign module says today :
    Fatal error: Class 'ProspectLists' not found in /home/amstramg/public_html/sugar/include/SubPanel/SubPanelDefinitions.php on line 317

    instead of this yesterday:

    Fatal error: Class 'ProspectLists' not found in /home/jeepy/public_html/sugar/modules/ACL/ACLController.php on line 207

    In the log file with debug I have this that seems related:
    Tue May 5 11:51:35 2009 [3263][6277db06-213c-b0b4-64fd-49b3e5db205b][DEBUG] SugarBean.load_relationships, Loading relationship (prospect_list_id).
    Tue May 5 11:51:35 2009 [3263][6277db06-213c-b0b4-64fd-49b3e5db205b][DEBUG] SugarBean.load_relationships, Error Loading relationship (prospect_list_id).

    What a "class not found" means?
    What's wrong, the database or the files???
    Last edited by jeepy; 2009-05-05 at 03:56 PM.

  3. #3
    jeepy is offline Member
    Join Date
    Apr 2009
    Location
    Québec
    Posts
    15

    Default Re: Campaign : Fatal error : Class 'ProspectLists' not found in ... ACL/ACLController

    Maybe this can help to solve the problem :
    There is no prospectList subpanel in the contact :


    And in admin, Configure Tabs I have ProspectList in the hidden tab column eventhough It is not anymore in include/modules.php :



    Thank you for any clue.

  4. #4
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: Campaign : Fatal error : Class 'ProspectLists' not found in ... ACL/ACLController

    Did you try Rebuild Relationships?

  5. #5
    jeepy is offline Member
    Join Date
    Apr 2009
    Location
    Québec
    Posts
    15

    Default Cannot redeclare class ProspectList

    Thank you for this clue, I'm trying it right away, here is the answer :
    Code:
    Processing relationship meta for relationships...Done
    Processing relationship meta for acl_roles...Done
    Processing relationship meta for acl_actions...Done
    Processing relationship meta for leads...Done
    Processing relationship meta for contacts...Done
    Processing relationship meta for accounts...Done
    Processing relationship meta for opportunities...Done
    Processing relationship meta for cases...Done
    Processing relationship meta for notes...Done
    Processing relationship meta for email_templates...Done
    Processing relationship meta for emailman...Done
    Processing relationship meta for calls...Done
    Processing relationship meta for emails...Done
    Processing relationship meta for meetings...Done
    Processing relationship meta for iframes...Done
    Processing relationship meta for tasks...Done
    Processing relationship meta for users...Done
    Processing relationship meta for users...Done
    Processing relationship meta for currencies...Done
    Processing relationship meta for tracker...Done
    Processing relationship meta for import_maps...Done
    Processing relationship meta for users_last_import...Done
    Processing relationship meta for config...Done
    Processing relationship meta for upgrade_history...Done
    Processing relationship meta for vcals...Done
    Processing relationship meta for bugs...Done
    Processing relationship meta for versions...Done
    Processing relationship meta for releases...Done
    Processing relationship meta for feeds...Done
    Processing relationship meta for project...Done
    Processing relationship meta for project_task...Done
    Processing relationship meta for roles...Done
    Processing relationship meta for email_marketing...Done
    Processing relationship meta for campaigns...Done
    Processing relationship meta for prospect_lists...Done
    Processing relationship meta for prospects...Done
    Processing relationship meta for documents...Done
    Processing relationship meta for document_revisions...Done
    Processing relationship meta for fields_meta_data...Done
    Processing relationship meta for schedulers...Done
    Processing relationship meta for schedulers_times...Done
    Processing relationship meta for inbound_email...Done
    Processing relationship meta for users...Done
    Processing relationship meta for campaign_log...Done
    Processing relationship meta for dashboards...Done
    Processing relationship meta for campaign_trkrs...Done
    Processing relationship meta for saved_search...Done
    Processing relationship meta for user_preferences...Done
    Processing relationship meta for ...Done
    Processing relationship meta for email_addresses...Done
    Processing relationship meta for sugarfeed...Done
    Processing relationship meta for sugartime...Done
    
    Fatal error: Cannot redeclare class ProspectList in /home/amstramg/public_html/sugar/modules/ProspectLists/ProspectList.php on line 379
    Last edited by jeepy; 2009-05-05 at 09:37 PM. Reason: changing title

  6. #6
    jeepy is offline Member
    Join Date
    Apr 2009
    Location
    Québec
    Posts
    15

    Default Re: Campaign : Fatal error : Class 'ProspectLists' not found in ... ACL/ACLController

    If a look in two diagnostics, one from today and the other from a week

    in custom/application/Ext/Include/modules.ext
    This is new :
    Code:
     //WARNING: The contents of this file are auto-generated
    $beanList['ProspectLists'] = 'ProspectLists';
    $beanFiles['ProspectLists'] = 'modules/ProspectLists/ProspectList.php';
    $moduleList[] = 'ProspectLists';
    Should I remove it?

    Another clue, This is the same entry that I've put manually, in a new file that I named ProspectLists.php in
    custom/Extension/application/Ext/include/
    Code:
    <?php 
     //WARNING: The contents of this file are auto-generated
    $beanList['ProspectLists'] = 'ProspectLists';
    $beanFiles['ProspectLists'] = 'modules/ProspectLists/ProspectList.php';
    $moduleList[] = 'ProspectLists';
    
    ?>
    After having added it, I did a "rebuild extensions" and I got my first "fatal error"
    The file custom/Extension/application/Ext/include/ProspectLists.php has been erased after this first fatal error.

    Help!
    Attached Files Attached Files
    Last edited by jeepy; 2009-05-05 at 09:40 PM.

  7. #7
    jeepy is offline Member
    Join Date
    Apr 2009
    Location
    Québec
    Posts
    15

    Default Re: Campaign : Fatal error : Class 'ProspectLists' not found in ... ACL/ACLController

    YES! YES! I fixed it by answering to my own question
    I had to remove this in in custom/application/Ext/Include/modules.ext

    Code:
     //WARNING: The contents of this file are auto-generated
    $beanList['ProspectLists'] = 'ProspectLists';
    $beanFiles['ProspectLists'] = 'modules/ProspectLists/ProspectList.php';
    $moduleList[] = 'ProspectLists';
    Thank god! I can get back to my campaign
    Thank you crmsiva for trying to help!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Fatal error: Class 'PEAR' not found
    By trevorjacques in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-05-15, 11:04 PM
  2. Replies: 2
    Last Post: 2007-04-11, 06:46 PM
  3. Fatal error: Class 'DBManager' not found
    By raywood5 in forum Help
    Replies: 1
    Last Post: 2006-06-26, 09:48 PM

Tags for this Thread

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
  •