Importing Package using module loader, but list view shows Data not available.

Course_Catalog2013_09_20_Amy.zip

Attached above is the package that I can import, but when going to list view it says Data not available.

Parents
  • Hi

    You're missing the language file & folder in your package, which is probably why.

    The language file usually adds the module to the "moduleList", which the application uses to find whether a module exists or not. 

    It should have something like:

    $app_list_strings['moduleList']['Lev_Course_Catalog'] = 'Lev_Course_Catalog';

    Once you add the language folder try uploading the zip again, it should work. 

  • I really thought that would fix it, but I am still having the same error.Course_Catalog2020_09_02_Amy.zip

  • Since the previous upload didn't have a language, that may have left incorrect data in the lang folder. Are you on Cloud or On-Premise? 

    Can you check if there is a file or folder with this name: custom/Extension/application/Ext/Language/en_us.Course_Catalog.php

    If you don't have access to the folder, you can also try changing the $installDefs['id'] field to something else and try installing again.

Reply
  • Since the previous upload didn't have a language, that may have left incorrect data in the lang folder. Are you on Cloud or On-Premise? 

    Can you check if there is a file or folder with this name: custom/Extension/application/Ext/Language/en_us.Course_Catalog.php

    If you don't have access to the folder, you can also try changing the $installDefs['id'] field to something else and try installing again.

Children
  • Good news!  There was a folder called en_us.Course_Catalog.php where you mentioned.  I deleted it, then went to module loader and uninstalled Lev_Course_Catalog and reinstalled it and it worked.

    This is the second time I have seen a folder where a file should be.  I am guessing it is a side effect of copying a file that doesn't exist.

    Thank you so much for your help.