Announcement

Collapse
No announcement yet.

Fatal error Maximum execution time of 300 seconds

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fatal error Maximum execution time of 300 seconds

    Dear friends,

    I have many lines of code, at the moment to generate the app it never finish to compile and after many minutes it show me this
    error compiling.jpg

    I already edited the php.ini file in the line that specific Resource limits "max_execution_time" increasing the time, but it doesn´t work.

    Somebody can help me please because I have to add more lines of code and with this problem I can´t continue.

    Regards,

  • #2
    This happens to you just with one app? or with whole project?
    /Giuseppe

    Professional Scriptcase Services
    Some Customers opinions

    Comment


    • #3
      I'm trying right now with only a blank app, but I have to pass the code to a grid to complete the process, so answering your question is only in the blank not in whole the project.

      I appreciate your help

      Comment


      • #4
        just blank app taking more than 5minutes? WTH, how many línes of code has?

        Did you tried to copy/paste the blank code to a new blank?
        /Giuseppe

        Professional Scriptcase Services
        Some Customers opinions

        Comment


        • #5
          Hello Giu, Yes I already tried to copy the code in another blank in a new project and it didn't work, show me the same error. Until now I have 10027 lines of code and I need to add many more. Is an special code that I need to make for the application works.

          So, is there anything else that Can I do?

          Comment


          • #6
            try splitting the code in several parts, for example create X blank applications each one with a part of the code and then linked them all in another blank application.

            Regards

            Comment


            • #7
              I´ll try using PHP Methods but I think is incredible that in Scriptcase we can't use the lines of code that we need and it is limited to a certain amount of lines

              Comment


              • #8
                This is a workaround... and I do believe the problem is not related to scriptcase but to your environment... as I posted in your other thread...I would recommend to check PHP forums for solutions on this. one thing could you please generate the Diagnosis file from scriptcase (help menu>Diagnostics) and share it with us?. that might give us a hint of what your php configuration looks like so we can help you better.

                Regards

                Comment


                • #9
                  Diagnostics.jpg

                  Is this

                  Comment


                  • #10
                    On top of that report you will find a link "Log file successfully created. Click here, save the file and send to NetMake!" to another full report... could you please upload it to something like one drive or something so we can take a look at it?.

                    Regards

                    Comment


                    • #11
                      Originally posted by placks View Post
                      Hello Giu, Yes I already tried to copy the code in another blank in a new project and it didn't work, show me the same error. Until now I have 10027 lines of code and I need to add many more. Is an special code that I need to make for the application works.

                      So, is there anything else that Can I do?
                      SC is a generator, not an IDE as is. Sc has to parse whole blank code to generate final app. blank app is not designed to use as a lib, for this you have tools>Libraries. This are not generated and you will not have problems with it. As kafe suggest, redesign you business logic and split into different files. I'm sure a lot of code is not needed inside this blank and can be on "lib"
                      /Giuseppe

                      Professional Scriptcase Services
                      Some Customers opinions

                      Comment


                      • #12
                        https://onedrive.live.com/redir?resi...nt=file%2cdocx

                        This is the link to see the complete log in One Drive.

                        Thank you so much

                        Comment


                        • #13
                          Hey placks... Thank you for the file... Have a quick question... how did you installed scriptcase?... windows installer or did you install a web server and set up php and scriptcase manually?...

                          If the latest... have you rebooted the services... I mean I've verified your php configuration and i should be working, unless you change the configuration and never rebooted the services.

                          Regards

                          Comment


                          • #14
                            Originally posted by placks View Post
                            https://onedrive.live.com/redir?resi...nt=file%2cdocx

                            This is the link to see the complete log in One Drive.

                            Thank you so much
                            Read my latest post. You are not using SC as is designed for, and you will live more happy if you take my suggestions. A blank app is not a blank php file.
                            /Giuseppe

                            Professional Scriptcase Services
                            Some Customers opinions

                            Comment


                            • #15
                              Yes Giu I´m only testing a code that I need to pass in a grid, but in both cases the error is the same, if I use the code in the blank or in a Grid is the same, never ends to compile.

                              Comment

                              Working...
                              X