JS animation not rendering clearly

With help, ported an AS3 animation to JS (animation is for eLearning lesson), but it renders blurry in preview browsers (FF, IE, Chrome on mobile). DW's Live View renders it perfectly.
Must be doing something wrong in the JS (like scaling) which is stopping clear rendering in the browsers. (Live View must be able to compensate for my scripting errors.)
I have beginner skills with scripting.
Here's the link (3 files: index.html, src.js and style.css): https://elearningprojects.com/websample1/index.html (It appears that right-clicking can display JS source, but can make files available if needed.)
Would appreciate any help.

Hi,
Thank you for your reply and help.
The original script was in Flash CS6/AS3. Got some help (no longer available) to port the AS3 to JS. The problem, I think from doing online research, is that the JS is using 1X1 pixel rectangles, causing scaling in order to reach the 8X8 rectangle size that is needed by the animation. This is causing blurring and distortion of the animation. I have limited scripting skills. So, I am not sure how to re-write the JS to use 8X8 pixel rectangles instead of 1X1. (Then the canvas size would probably also need to be changed to match the rectangle size changes?)
Can you suggest how to make the script changes so I can fix the script?
Again, thank you for your kind help.
saratogacoach

Similar Messages

  • Why HDV capture in FCP 6.0,3 is not as clear as original footage?

    I have tried several capture's settings for HDV footage captured in Sony HDR-HC7. Once it is in my computer's hard disk and ready to strt editing it seems that the video is not very clear mainly the edges of moving objetcs look if they were a liitle bit "dreagged". I ve been told in the Final Cut Training course that the defect is only possible to be corrected in Color program . It fact it is reduced a little when the filter "Film Look" is applied but it does not look as good as the original footage. Is there something I should need to do?. Thanks

    #2 Blurry Playback
    Shane's Stock Answer #2: Blurry playback
    ONLY JUDGE THE QUALITY OF YOUR MATERIAL ON AN EXTERNAL BROADCAST MONITOR, OR AT LEAST A TV.
    The Canvas shows you what happens after the codec you are working with has been applied. The Viewer shows you the material in its native format. Once you drop the footage from the Viewer into the timeline, it inherits the attributes of the sequence. If it is a DV sequence, the footage will render out as DV.
    1. Disable overlays on the Canvas.
    2. Make sure you've rendered everything (no green bars at the top of the timeline).
    Video playback requires large amounts of data and many computations. In order to maintain frame rate and be viewable at a normal size, only about one-fourth of the DV data is used in displaying the movie to the screen. However, the DV footage is still at full quality, and is best viewed thru a TV or broadcast monitor routed thru your camera or deck.
    NOW...seeing that you are working with HDV, the only way you are going to be able to see the actual quality of what you have, you will need an HD capture card and HD monitor. Matrox MXO plus Apple Cinema Display is a cheap way to go, works with laptops. Or if you have a MacPro, then the Decklink Intensity and HDTV would be a good inexpensive choice. other than that...www.aja.com www.decklink.com
    Shane
    Shane

  • Why is my .psd file not rendering correctly in ae

    Some layers of the .psd document are not rendered correctly. However they are imported.
    The strange thing is that when I first move from Photoshop to Illustrator, save it as an .ai file it is rendered properly (in Ae).
    I am kind of clueless as to what is causing this issue.
    Kind regards,
    Jelle

    Okay if more information is needed, i'll provide. However you may disregard my initial comment about illustrator. It flattens the photoshop layers so I do not have any flexibility in After Effects. In other words, my main question remains: why is my psd file not rendering correctly in ae?
    Further details:
    -photoshop cc and after effects cc.
    -macbook pro retina
    If still not clear enough, please tell me what details you are looking for furthermore

  • Page is not rendering as per requirement request

    Hi All,
    Basically Here is the scenario.
    Based on selectoin of particular service item from combo box(dropdown list), We are creating the JSF controls dynamically on new page for further process.
    We are maintaining the controls information in database that need to be created dynamically and rendered for each service.
    And I am able to create the controls dynamically and able to place them on page perfectly.
    Until here everything looks ok for me.
    But main problem I have identified is when I go for new request, I am getting the same old page when I select the other service.
    Initially I though this could be a problem of caching and I have placed meta info in order to expire the page. But that was no use.
    So I logged all the data that is coming from database and logged the information where I have created the controls dynamically..
    What I have identified is I am getting the right data on paricular service selection and even I am able to see that methods execution is correct. I was stunned and not able to understand why the JSF is not able to show the controls.
    So I searched the JavaDoc for solution. I though I could use FacesContext.release() method. But that does not help me. Even I tried to clear the parent objects using gridpanel1.getChildren().clear(). Even that does not supported me :(
    In order to understand my problem, here I am pating the code.
    Please help me why the hell my page is not rendering
    Below is code in constructor
    javax.faces.context.ExternalContext ec = context.getExternalContext();
                javax.servlet.http.HttpServletRequest request=(javax.servlet.http.HttpServletRequest)ec.getRequest();
                String service=request.getParameter("form1:cmbServices");
                int serviceid=-1;
                if(service!=null) {
                    serviceid=Integer.parseInt(service);
                gridPanel1.getChildren().clear();
                controls =getControls(serviceid);
                HtmlControl[] controlArray =controls.getHtmlControls();
                //log(controlArray.length+" Length");
                for (int i =0;i<controlArray.length;i++) {
                    HtmlControl control =controlArray;
    //log(control+" Control");
    //log(controlArray.length+" Length");
    if (control.isRadio()) {
    addRadio(control);
    //log("Entered here in adding radio");
    else if (control.isCheckBox()) {
    addCheckBox(control);
    //log("Entered here in adding checkbox");
    else if (control.isTextBox()) {
    addTextBox(control);
    //log("Entered here in adding textbox");
    here is the code for dynamic creation of controls
    private void addRadio(HtmlControl control) {
            HtmlPanelGrid gridPanel = new HtmlPanelGrid();
            UIComponent parent = gridPanel1;
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue(control.getDescription());
            String desc =control.getDescription();
            desc=desc.replaceAll(" ", "_");
            outputText.setId(desc);
            outputText.setStyleClass("bodyText");
            HtmlSelectOneRadio radio = new HtmlSelectOneRadio();
            radio.setBorder(0);
            radio.setLayout("pageDirection");
            //radio.setId("Radio_"+control.getId());
            radio.setId(control.getName()+"__"+control.getId());
            UISelectItems items = new UISelectItems();
            Radio objRadio =(Radio)control;
            //  vectDefaultSelectItemsArray
            DefaultSelectItemsArray objArray =new DefaultSelectItemsArray();
            vectDefaultSelectItemsArray.add(objArray);
            //log("vectDefaultSelectItemsArray :"+vectDefaultSelectItemsArray.size());
            arrays=(DefaultSelectItemsArray[])vectDefaultSelectItemsArray.toArray(new DefaultSelectItemsArray[vectDefaultSelectItemsArray.size()]);
            int size =arrays.length;
            arrays[size - 1].clear();
            for (int i =0;i<objRadio.getValues().size();i++) {
                arrays[size - 1].add(new SelectItem(objRadio.getValues().get(i)+"",""+objRadio.getTexts().get(i)));
            // array.setItems(new String[] {"Yes","No" });
            items.setValueBinding("value",getValueBinding("#{consumer$jobInfo.arrays["+(size-1)+"]}"));
            radio.setStyleClass("bodyText");
            radio.getChildren().add(items);
            gridPanel.getChildren().add(outputText);
            gridPanel.getChildren().add(radio);
            parent.getChildren().add(gridPanel);
        private void addCheckBox(HtmlControl control) {
            HtmlPanelGrid gridPanel = new HtmlPanelGrid();
            UIComponent parent = gridPanel1;
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue(control.getDescription());
            outputText.setStyleClass("bodyText");
            String desc =control.getDescription();
            desc=desc.replaceAll(" ", "_");
            outputText.setId(desc);
            HtmlSelectManyCheckbox checkBox = new HtmlSelectManyCheckbox();
            checkBox.setBorder(0);
            checkBox.setLayout("pageDirection");
            //checkBox.setId("CheckBox_"+control.getId());
            checkBox.setId(control.getName()+"__"+control.getId());
            UISelectItems items = new UISelectItems();
            CheckBox objcheckBox =(CheckBox)control;
            //  arrays[0]=new DefaultSelectItemsArray();
            //arrays[0].clear();
            DefaultSelectItemsArray objArray =new DefaultSelectItemsArray();
            vectDefaultSelectItemsArray.add(objArray);
            //log("vectDefaultSelectItemsArray :"+vectDefaultSelectItemsArray.size());
            arrays=(DefaultSelectItemsArray[])vectDefaultSelectItemsArray.toArray(new DefaultSelectItemsArray[vectDefaultSelectItemsArray.size()]);
            int size =arrays.length;
            arrays[size - 1].clear();
            //  array.clear();
            for (int i =0;i<objcheckBox.getValues().size();i++) {
                arrays[size - 1].add(new SelectItem(objcheckBox.getValues().get(i)+"",""+objcheckBox.getTexts().get(i)));
                //     array.add(new SelectItem(objcheckBox.getValues().get(i)+"",""+objcheckBox.getTexts().get(i)));
            // array.setItems(new String[] {"Yes","No" });
            items.setValueBinding("value",getValueBinding("#{consumer$jobInfo.arrays["+(size-1)+"]}"));
            checkBox.setStyleClass("bodyText");
            checkBox.getChildren().add(items);
            gridPanel.getChildren().add(outputText);
            gridPanel.getChildren().add(checkBox);
            parent.getChildren().add(gridPanel);
        private void addTextBox(HtmlControl control) {
            HtmlPanelGrid gridPanel = new HtmlPanelGrid();
            UIComponent parent = gridPanel1;
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue(control.getDescription());
            String desc =control.getDescription();
            desc=desc.replaceAll(" ", "_");
            outputText.setId(desc);
            outputText.setStyleClass("bodyText");
            HtmlInputText textField = new HtmlInputText();
            //  textField.setId("textField_"+control.getId());
            textField.setId(control.getName()+"__"+control.getId());
            HtmlOutputText outputText1 = new HtmlOutputText();
            outputText1.setValue(" ");
            outputText1.setStyleClass("bodyText");
            textField.setStyleClass("frmObjects");
            gridPanel.setColumns(3);
            gridPanel.getChildren().add(outputText);
            gridPanel.getChildren().add(outputText1);
            gridPanel.getChildren().add(textField);
            parent.getChildren().add(gridPanel);
    here is my after render response method
    protected void afterRenderResponse() {
            //job_selection_templateRowSet.close();
            jiya_html_controlRowSet.close();
            FacesContext.getCurrentInstance().release();
    here is my getValueBinding method
    private ValueBinding getValueBinding(String expression) {
            return     FacesContext.getCurrentInstance().getApplication().createValueBinding(expression);
        }Thanks
    Sudhakar.

    Hi,
    You can try the following to debug and provide us more details.
    1. I am assuming you are trying to navigate by using a commandLink/Command Button ? If so, is the action handler for the command getting called ?
    2. Do you have input components in the page with Validators/converters attached to them ? If so, you may not watch for validation/conversion errors. If there are errors, the same page will be redisplayed. In that case you would need to associate message component to get more details on what went wrong.
    3. Have you set up the necessary navigation rules to navigate to the right page ?
    4. When you are adding components programatically, its better to assign explicit id's to your components, to avoid any unexpected behavior.
    Hope this helps.
    Regards
    -Jayashri

  • PanelGrid with binding attribute not rendering when event on page fires

    I am having a similar issue with my components not being rendered from a dynamic binding attribute as described by this post:http://forum.java.sun.com/thread.jspa?threadID=671672 but for different reason. I have combed the forum and other sources for a week now, tried numerous variations of this based on suggestions I've read for rendering dynamic components and am unable to find the problem. I would appreciate guidance as I don't know what else to do and I imagine there is something basic about the JSF flow layout or component classes I am not doing correctly.
    From a high level, I have a page with two panel groups. The first contains a list of command links (like a menu) that have an actionlistener that populates a list of QueryVariable objects called filterCriteria in the backing bean based on the selection made and then calls a function to update components in the second panel. The second panelGroup contains a panelGrid with a binding attribute that constructs a dynamic set of input fields based on the content of the filterCriteria list. When I first naviagate to this page from another page, the fields are rendered properly. However, if I then select a commandLink from the menu, the panelGrid disappears and is not rendered.
    I've stepped through the code in a debugger and my actionlistener is called when I select a command link. However, the binding attribute method is not called at this time, so I added a direct call to it from the action listener. I know the actionlistener is working because I've verified it in the debugger and if I navigate away and come back to the page, then the binding method is called and the new selection is reflected in a rendered panelGrid. Why is it not rendering though when I first select the commandLink and the page is updated. Also, fyi, there is an action method for the commandlinks but it returns null;
    FWIW, I'm using MyFaces and Facelets in my application.
    Below is my code. This is inside a managed session bean:
    JSF Snippet:
    <h:panelGrid id="inputVarsTable" columns="3" binding="#{query.table}"/>
         public HtmlPanelGrid getTable() {
              if(table == null)
                   table = new HtmlPanelGrid();
              return constructSearchInputTable();               
         public void setTable(HtmlPanelGrid table) {
              this.table = table;
      // Updates table component to reflect filterCriteria
         public HtmlPanelGrid constructSearchInputTable()
              HtmlOutputLabel outLabel;
              HtmlOutputText outText;
              HtmlInputText  inText;
              HtmlMessage message;
              List<UIComponent> children;
              ValueBinding vb;
              FacesContext facesContext = FacesContext.getCurrentInstance();
              UIViewRoot uIViewRoot = facesContext.getViewRoot();
            Application application = facesContext.getApplication();
              children = table.getChildren();
        children.clear();
              try {
                   for (int i = 0; i < getFilterCriteria().size(); i++) {
                        QueryVariable var = getFilterCriteria().get(i);
                        String id = "var" + i;
                        //<h:outputLabel for="#{var.name}" styleClass="label">
                        outLabel = new HtmlOutputLabel();               
                        outLabel.setFor(id);
                        outLabel.setStyleClass("label");
                        //  <h:outputText value="#{var.name}" />
                        outText = new HtmlOutputText();
                        outText.setValue(var.getName());
                        outText.setParent(outLabel);
                        outLabel.getChildren().add(outText);
                        outLabel.setParent(table);
                        children.add(outLabel);
                        //<h:inputText id="#{var.name}" value="#{var.value}" required="true" />
                        inText = new HtmlInputText();
                        inText.setId(id);
                        String bind = "#{query.filterValues['" + var.getName() + "']}";
                        inText.setValueBinding("value", application.createValueBinding(bind));
                        if(var.getDefaultValue() == null)
                             inText.setRequired(true);
                        inText.setParent(table);
                        children.add(inText);
                        //<h:message for="#{var.name}" styleClass="errorText"/>
                        message = new HtmlMessage();
                        message.setFor(id);
                        message.setStyleClass("errorText");
                        message.setParent(table);
                        children.add(message);     
              } catch (Exception e) {
                   log.error(e);
              return table;
      // Command Link Menu ActionListener
         public void structuredQuerySelection(ActionEvent e) {
              queryType = QueryType.StructuredQuery;
              UICommand cmd = (UICommand) e.getSource();
              filterSelection = (String) cmd.getValue();
              Map<String, SearchRequestCtx> queries = pdp.getGenericMetadata().savedQueries;
              SearchRequestCtx ctx = queries.get(filterSelection);
              filterCriteria = new ArrayList<QueryVariable>();
              filterCriteria.addAll(ctx.getVariables());
              constructSearchInputTable();
         // Command Link Menu Action
         public String selectStructuredQuery()
              return null;
         }BTW, this is my first post and I don't really know how that Duke Dollar thing works but I'm happy to offer some to anyone that can solve this issue for me.
    Thanks,
    Ken

    Glad to hear I am not the only one struggling with this type of issue.
    I tried your suggestion but it caused a NoSuchElementException when the page tried to render. Stepping through the code, the init function is always called after my panelGrid is constructed. I even commented out the logic to clear the children and confirmed that in the constructed page, the outputText component that binds to init is the first element on the page - right after the opening body tag. Maybe, JSF doesn't necessarily construct the page in top to bottom order? Also, the exception makes me think that this gets called too late in the lifecycle to work. Were you able to get this to work?
    java.util.NoSuchElementException
         at java.util.AbstractList$Itr.next(AbstractList.java:427)
         at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:515)
         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:445)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)Ken

  • Select boolean State not getting cleared.

    Hi ,
    I have an a link in my main page say Main.jspx. on clicking the link a popup will get opened say popUp.jspx.
    In the popup i have a view object dropped as a table without selection enabled.
    i have added three more columns which has select boolean radio component with group condition as below
    #{backing_Main.table1.rowIndex}
    Suppose i get 50 records in the table and i change the selection state of any of the 50 records and close the popup, the selection state of the radio buttons is not being cleared.
    How to clear the selection state when i open the popup again.
    Thanks in advance..

    Hi!
    First, the bindings.Atribute.inputValue should be of type Boolean (not boolean) to render the state of check box correctly by my experience.
    Second, all input components bidned to non-attribute (non-writtable) values are automaticalty rendered in read-only mode. The expression #{bindings.Atribute.inputValue==true} is read-only: it is not possible to write changed state of check box into boolean epression.
    Regards,
    PaKo

  • Pr link Ae not rendering correctly

    Hi,
    I'm relatively new to this type of workflow and will try to communicate the problem the best I can. My main goal is to trouble shoot where the glitch is.
    The Problem:
    I am editing 4K and 5K footage in Pr on a 1080p timeline and sending some clips to Ae for effects. Not sure if I'm pushing the limits on how these two programs communicate, but I'm getting strange problems in the renders. They are glitchy and not representative of how I effected the clip in Ae. The layer will hop around and loose resolution for a couple frames. Very random. Just to be clear "the renders" are from when I select the clip on the Pr timeline and "render selection". Not rendered straight out of Ae to a separate folder.
    Type of effects.
    On my timeline I "set to frame size" for some clips, "scale to frame size" for others. I often "reverse clip" in either Pr or Ae.
    In Ae I use the TimeBlend effect with keyframed accumaltion. I ramp speeds on keyframes as well. Lots of stuff going on and it seems some of it is lost in translation between the two softwares.

    Thanks for that. Another thing I didn't mention is that I changed the duration of the Ae comp settings after sending it to Ae to accommodate a speed ramp. That might have confused it a bit. I may go with a render and replace method though. My source media is a mix between RED 4K files, and image sequences baked into 5K ProRes QT files. So much potential, but unruly to work with. Hard to edit this piece when I spend most of my time waiting for renders just to get a preview. I thought of using proxies which is a new work flow for me.
    Does sending a sequence from Pr to Ae then creating a proxy workflow in Ae present any problems? Just trying to find the best way to edit as close to the speed of thought that I can. I'd love to be able to add a Time blend effect, preview it in the edit, tweak it, preview it again... so on and so forth.
    Thanks.

  • Effects not rendering on output to AME

    1920x1080 BMD sequence. 1080i-60i
    Mac 10.6.4
    APB CS5.5.2
    Exporting to AME queue
    Creating a Prores file, full quality.
    Effects like drop shadow not rendering out in the file.
    Clearly there in the sequence.
    Any help greatly appreciated.
    Thanks.

    Another reason for PP to add native monitoring without third-party hardware/drivers.  Please add your voice...
    http://forums.adobe.com/thread/900221?tstart=0

  • .svg files not rendering in browser

    I've just uploaded my site (www.elcricdercas.com). None of the .svg files are rendering. This includes an Edge produced file in the front page animation. How come? I've checked the site on Safari and Firefox. The provider is Eclipse.net.uk

    Hi,
    Could you please check this thread, and see if get some hint
    Re: SVG files not rendering in Muse

  • Image not rendering properly on timeline

    I'm working on an animatic using still images.  Occassionally, I need to scale in or move the image a bit.  This means FCPX has to render the image, which it usually does, but I am finding that in some cases, the image appears blurry when played at normal running speed, but when I pause, it's nice and clear.  Why is the image not rendering so that it plays clear when running?  The orange bar is not displayed to suggest it needs to render still.

    Uh, yup, that sure solved it.  Thanks Tom.

  • GR/IR not auto clear in system

    Hi All,
    GR/IR not auto clear in system
    Normally every week end the system automatically clears the open items in f.13, But this time it has not clear the open items
    What could be the reason the system not to clear open items on the week end.
    So that's the reason the user manually cleared the open items
    - User has performed F.13 on 26th of Oct but system didn't auto clear the open items.
    - Those documents are posted prior to 26th of Oct and user would like to know what cause to incident.
    Please suggest me what should be the reason to come out of this issue.
    Thanks in advance
    nandha
    Edited by: nandhasapfi on Nov 8, 2011 1:07 PM

    Hi All,
    I trying to auto clear fbl3n open items in f.13,  every week end  the system defaultly  auto clears all the open items in the system but last weekend it has not been done that job.
    Suggest me what should be the reason for the above issue.
    And i checked in OB74 for the G/L a/c 123456 they have configured the below thing
    chart of account ABC
    a/c type S
    criteria 1 zuonr  assignment     
    criteria 2 vbund  Trading partner
    criteria 3 ebeln   purchasing document
    criteria 4 ebelp   item
    criteria 5 empty
    Suggest me Still any thing required to configure for auto clear the open items of fbl3n
    Thanks in advance
    Edited by: nandhasapfi on Nov 10, 2011 11:45 AM

  • JSF Pages are not rendering correctly when  loaded using Non JSF actions

    Hi All,
    This problem is irritating me and I am posting the same query for the third time here.
    When I come from non jsf actions such as page submitting using Javascript, clicking anchor link, clicking normal Html submit button and so on my page is not rendering correctlly .
    In other words, My first GET method/Post method works perfectly for the first time when the page is loaded.
    But when we try to access the page for the second time, although logical work is perfect in bean, I am getting same old page.
    How to resolve this issue?
    or
    Is this Bug of Sun's Implementation of JSF Framework.
    Thanks,
    Sudhakar

    Hi Sudhakar,
    There is a discussion about refreshing a page, Take a look at the below thread
    http://swforum.sun.com/jive/thread.jspa?threadID=55660
    Hope this what you are looking for
    MJ

  • Bursting - empty tag not being cleared in email channel loop

    If you check the following, I pass the cust num and email address to the email delivery channel for the subject line.
    <xapi:message id="222" to="[email protected]" attachment="true" subject="Unigas Statement to be emailed to ${CUST_NUM} to ${EMAIL}">
    Problem is, that if the cust num or email address tag is empty, the previous tag value is used! its like its not being "cleared" between bursting loops.
    Using 5.6.3 EBS.
    Rob
    http://www.scnet.com.au

    Since your email is failing I am going to assume the rest of your script is working.  So I am looking specifically at these lines:
      $process = '../includes/process_mail.inc.php';
        if (file_exists($process) && is_readable($process)) {
            include($process);
    The things that need to be confirmed here are that the path is right and it has proper permissions.  Have you tried eliminating that "and" statement in your "if" and see if those work independently.  I have a feeling that if the path is right that the file does not have the proper permissions on your server for global read access which would make, "is_readable" fail and thus end your script.
    Can you test those and post back?

  • Open Item not getting Cleared automatically

    Dear Sir,
    For a GL "Cenvat Clearing" , we have ticked the option "open Item Management" in FS00 .
    Our business scenario is as below :
    After MIGO , we do excise posting using J1IEX and here in the posted Fi document the GL "Cenvat Clearing" gets Credited . Subsequently during the MIRO this GL i.e "Cenvat Claering" gets Debited .
    My problem is that when I see in FBL3n for this GL the relevant transaction still appear under the open Items . Pl guide me , as what is the reason for this entry not getting cleared automatically .
    Regards
    B Mittal
    Regar

    PO number cannot be taken as sort feild  hence the value is in blank always.
    You need to identify some value for this feild and as a process you need to tell your users to incorporate the same at the time of doing MIRO.
    Or other wise you can take out the assignment of sort key to this GL account, and as a process you can instruct your user to use reference feild and input a value. If you fell that this is a tedious process,
    the Identify another feild that is common for both debit and credit line items and try to post with a common valuie using, one ABAP program which will update this feild. Mind that this feild need to be in the OB74.
    reward if useful
    sarma

  • Document not auto cleared after performing FF67

    Hi all,
    firstly i would like to acknowledge that i'm using version 4.7.
    after performing FF67, bank recon document generated in main bank & clearing bank GL accounts. But it is not auto clear in the clearing bank GL account. the treatment is as post GL account & manual clear.
    after checking:-
    1. trans type ABC using int. algorithm 15 - use assignment field to clear.
    2. posting type in posting rule is 4 - clear debit GL account
    in FF67 screen variant, assignment field entered the same as assignment value in clearing bank account. by right, the documents will clear off automatically.
    anyone can assist what else that i miss out?
    thanks in advance.

    hi..
    we can perform manual clearing or F.13, but the pupose of having such posting rule and posting type is to minimize steps of clearing.
    by right, once ff67 posted, the clearing bank gl account will get cleared.

Maybe you are looking for