Results 1 to 4 of 4

Thread: Problem in zucker report in Linux os

  1. #1
    akkimca's Avatar
    akkimca is offline Sugar Community Member
    Join Date
    Dec 2008
    Posts
    270

    Question Problem in zucker report in Linux os

    hi..

    i just work on zucker report in window os. all things r working fine, i can upload ireport file in zucker report in sugarcrm 5.1 orc.

    Now, i move my sugarcrm to Linux os. at there, i can upload my ireport file but only problem is that whenever i run the zucker report it showing me "No Object found" because of no pdf is created in archive folder.

    i dont know y its happing ? which step i miss out i dnt know..
    i change the config file of zucker report but still this error is coming..
    i jst show u my config.php file
    PHP Code:
    <?php

    global $zuckerreports_config;
    global 
    $sugar_config;

    $zuckerreports_config = array(
        
        
    //Clicking on the "ZuckerReports" tab in Sugar will show this action
        
    "index_include" => "modules/ZuckerReports/ReportOnDemand.php",
        
    "index_include" => "modules/ZuckerReportContainer/DetailView.php",
        
    "index_include" => "modules/ZuckerReports/TemplateListView.php",
        
        
    //This is the list of supported report providers - don't change it unless you know what you are doing
        
    "providers" => array(
        
                array(
                    
    "module" => "ZuckerListingTemplate",
                    
    "class_name" => "ListingTemplate",
                    
    "include" => "modules/ZuckerListingTemplate/ListingTemplate.php",
                    
    "lang_key_new" => "LBL_LISTING_TEMPLATE_NEW",
                    
    "menu_ext" => "no",
                ),
                array(
                    
    "module" => "ZuckerReportTemplate",
                    
    "class_name" => "ReportTemplate",
                    
    "include" => "modules/ZuckerReportTemplate/ReportTemplate.php",
                    
    "lang_key_new" => "LBL_REPORT_TEMPLATE_NEW",
                    
    "menu_ext" => "yes",
                ),
                array(
                    
    "module" => "ZuckerWordTemplate",
                    
    "class_name" => "WordTemplate",
                    
    "include" => "modules/ZuckerWordTemplate/WordTemplate.php",
                    
    "lang_key_new" => "LBL_WORD_TEMPLATE_NEW",
                    
    "menu_ext" => "yes",
                ),
                array(
                    
    "module" => "ZuckerQueryTemplate",
                    
    "class_name" => "QueryTemplate",
                    
    "include" => "modules/ZuckerQueryTemplate/QueryTemplate.php",
                    
    "lang_key_new" => "LBL_QUERY_TEMPLATE_NEW",
                    
    "menu_ext" => "no",
                ),
            ),

        
        
    //if you get the error "Value '0000-00-00' can not be represented as java.sql.Date", then uncomment this line and it may work
        //"jdbc_url_extension" => "?zeroDateTimeBehavior=convertToNull",    
        
        //set this to yes/no, if you want to enable/disable debug output when running a report
        
    "debug" => "no",
        
        
    //set this to yes/no, if you want to enable/disable php scripting for report parameters
        
    "param_script_enabled" => "no",

        
    //enter your encoding here, if different from sugar default. see http://www.php.net/htmlentities for supported encodings
        //"charset" => "UTF-8"

        
        // Enter the path to your java executable here, if autodetection doesn't work
        
        //Windows Environment Default
        //"java_cmdline" => "/scrm/modules/j2re1.4.2_01/bin/javaw %ARGS% 2>&1",
            
        //For Java Web Start installations
        //"java_cmdline" => "javaws %ARGS% 2>&1",

        //Unix Environment Default
        
    "java_cmdline" => "/scrm/modules/j2re1.4.2_01/bin/java -Djava.awt.headless=true %ARGS% 2>&1",        

        
        
    //enter the path to your "zip" executable here. if not present, you may use the zip utility integreated in your Java installation instead
        
        //If set to "java", the zip utility integrated in your Java installation will be used
        //"zip_cmdline" => "java",

        //zip.exe included in ZuckerReports (only working on Windows!!!!) or the plain old "zip" command on Linux/Unix
        
    "zip_cmdline" => "zip",

        
    //Linux/Unix zip
        //"zip_cmdline" => "cd \"%DIR%\" && zip \"%FILE%\" *  2>&1",
        
        //Freezip
        //"zip_cmdline" => "cd \"%DIR%\" && \"C:\\Winnt\\system32\\unknown\\zip\" \"%FILE%\" *",
        
        //7-Zip
        //"zip_cmdline" => "cd \"%DIR%\" && \"C:\\Program Files\\7-Zip\\7z\" a -tzip \"%FILE%\" *",
        
        
    "team_implementation" => "auto",
        
    //"team_implementation" => "sugar",
        //"team_implementation" => "simple",
        //"team_implementation" => "none",
        
        
    "teams" => array(
            
    "teamchris" => array(
                
    "name" => "Team Chris",
                
    "users" => array("chris""admin"),
            ),
            
    "teamadmin" => array(
                
    "name" => "Team Admin",
                
    "users" => array("admin"),
            ),
        ),
    );
    can anyone tell me which are the requirement to run zucker report in Linux os ??????

    thanks in advanced
    Regards
    ==========================
    akkimca
    Work as Sugarcrm Freelancer
    Feel free to Find me in skype. Its my pleasure to talk with you.
    ID: akshay.biztech

  2. #2
    Sturmey is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    36

    Default Re: Problem in zucker report in Linux os

    I too am having problems with ZuckerReports and Linux. I've read that this is related to Java not working properly. Is there a way to test?

  3. #3
    ardn0001 is offline Senior Member
    Join Date
    Jan 2009
    Posts
    52

    Default Re: Problem in zucker report in Linux os

    Quote Originally Posted by Sturmey View Post
    I too am having problems with ZuckerReports and Linux. I've read that this is related to Java not working properly. Is there a way to test?
    Create a java file
    Test.java
    Code:
    public class Test{
             public static void main(String[]args){
                      System.out.println("Hello World");
             }
    }
    Compile : javac Test.java
    Run: java Test

    should print Hello World ...

  4. #4
    enriquem is offline Junior Member
    Join Date
    May 2011
    Posts
    8

    Default Re: Problem in zucker report in Linux os

    Hi..I've installed the ZuckerReports 1.12 module on SugarCRM 6.1.2 on Linux, and I've seen some mistakes after installation, for example:
    • Notice: Undefined index: type in /var/www/site/data/SugarBean.php on line 4159
    • Notice: Undefined index: type in /var/www/site/data/SugarBean.php on line 2184
    • Notice: Undefined index: type in /var/www/site/data/SugarBean.php on line 4159
    • Notice: Undefined index: type in /var/www/site/data/SugarBean.php on line 2184
    • Notice: Undefined index: type in /var/www/site/data/SugarBean.php on line 4159
    • Notice: Undefined index: type in /var/www/site/data/SugarBean.php on line 2184


    And another problems are:

    • Notice: Undefined index: LBL_REPORT_NAME in /var/www/site/modules/ZuckerReports/Forms.php on line 7
    • Notice: Undefined index: LBL_QUERY_NAME in /var/www/site/modules/ZuckerReports/Forms.php on line 8
    • Notice: Undefined index: LBL_QUERY_SQL in /var/www/site/modules/ZuckerReports/Forms.php on line 9
    • Notice: Undefined index: LBL_WORD_NAME in /var/www/site/modules/ZuckerReports/Forms.php on line 10
    • Notice: Undefined index: LBL_WORD_QUERY in /var/www/site/modules/ZuckerReports/Forms.php on line 11


    Please, help me.. It's urgent!

    Email: kikee_m14@yahoo.com

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zucker report uploading problem
    By akkimca in forum Help
    Replies: 10
    Last Post: 2010-11-12, 02:02 PM
  2. Zucker Report problem
    By Gonjalvez in forum Developer Help
    Replies: 4
    Last Post: 2009-08-07, 01:49 PM
  3. Zucker Report Problem
    By jjprabhu in forum Help
    Replies: 1
    Last Post: 2008-04-30, 11:34 AM
  4. Problem when I Up a Report in Zucker Report
    By inguclaecheverria in forum Customer Support
    Replies: 0
    Last Post: 2008-02-29, 06:42 PM
  5. Zucker Report problem
    By pravindab in forum Help
    Replies: 0
    Last Post: 2006-11-03, 05:03 AM

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
  •