We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36509
    • 127 Posts
    I am running Modx 2.2.10-pl on a windows 7 64 bit machine with XAMPP. I got modx running, but I am trying to install a package and I get errors. What am I missing?

    /*
    * MODX Console Output
    *
    * @date 2014-01-06 00:25:48
    */
    Attempting to install package with signature: uber-vapor.mdxdemo.com-131005.0431.09-2.2.9-pl
    
    Package found...now preparing to install.
    
    PHP warning: ZipArchive::extractTo(): Full extraction path exceed MAXPATHLEN (260)
    
    Could not unpack package C:/xampp/htdocs/modx-uber/core/packages/uber-vapor.mdxdemo.com-131005.0431.09-2.2.9-pl.transport.zip to C:/xampp/htdocs/modx-uber/core/packages/. SIG: uber-vapor.mdxdemo.com-131005.0431.09-2.2.9-pl
    
    Could not install package with signature: uber-vapor.mdxdemo.com-131005.0431.09-2.2.9-pl
    
    
    /* EOF */
    


    I think this is the cause, but how do I change the setting?

    PHP warning: ZipArchive::extractTo(): Full extraction path exceed MAXPATHLEN (260)

    Thanks
      www.JBMWebDesign.com
      www.JBMAutomation.com
      • 36509
      • 127 Posts
      Here is the error I get when I tried to install TinyMCE

      /*
      * MODX Console Output
      *
      * @date 2014-01-06 00:50:01
      */
      Attempting to install package with signature: tinymce-4.3.3-pl
      
      Package found...now preparing to install.
      
      xPDOZip: Error opening archive at C:/xampp/htdocs/modx-uber/core/packages/tinymce-4.3.3-pl.transport.zip
      
      PHP warning: ZipArchive::extractTo(): Invalid or unitialized Zip object
      
      PHP warning: ZipArchive::close(): Invalid or unitialized Zip object
      
      Could not unpack package C:/xampp/htdocs/modx-uber/core/packages/tinymce-4.3.3-pl.transport.zip to C:/xampp/htdocs/modx-uber/core/packages/. SIG: tinymce-4.3.3-pl
      
      Could not install package with signature: tinymce-4.3.3-pl
      
      
      /* EOF */
      
        www.JBMWebDesign.com
        www.JBMAutomation.com
        • 36996
        • 211 Posts
        Hi Jason, you need to find the system setting - archive_with, and change it's value to yes or 1.
          • 36509
          • 127 Posts
          Quote from: nir-z at Jan 05, 2014, 11:49 PM
          Hi Jason, you need to find the system setting - archive_with, and change it's value to yes or 1.

          Ok awesome, that seemed to fix downloading and installing packages from the package manager. Thanks!
            www.JBMWebDesign.com
            www.JBMAutomation.com
            • 42562
            • 1,145 Posts
            This indeed is the correct answer
            Hi Jason, you need to find the system setting - archive_with, and change it's value to yes or 1.
            Thank you very much. Now I can install ThemePackageComponent on my localhost
              TinymceWrapper: Complete back/frontend content solution.
              Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
              5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.