Announcement

Collapse
No announcement yet.

PHP Disable option on start up

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

    PHP Disable option on start up

    I've seen people on the forum suffering if they do something in PHP that causes Actinic to crash. This is quite common in PHP but is usually fine in most development tools as you can just close the program in windows task manager and then edit it before running the code again.

    The problem in Actinic is that the PHP will autorun for the previews and therefor crash or hang before you get a chance to edit it.

    Can I suggest that Actinic looks into some way of disabling PHP on start up so people can get back into Actinic and edit the offending code?

    Possible solutions that come to mind include:

    - A command line option to disable php on start up?
    - Or the same thing to disable previews (would this stop the php)?
    - Or maybe a php.ini option somewhere that could be easily edited to turn off the php.

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    #2
    Would a blockif tag with <actinic:variable name="IsNotPreviewMode" /> which stops code from loading in the preview apply? That's been used on other preview problems such as geotrust ssl significantly slowing the preview page generation time. Or does it not matter if you are viewing a certain page as to whether a problem PHP would cause a crash of the software?.
    Peblaco

    Comment


      #3
      Excellent idea, +1 for me.

      Comment


        #4
        Originally posted by peblaco View Post
        Would a blockif tag with <actinic:variable name="IsNotPreviewMode" /> which stops code from loading in the preview apply? That's been used on other preview problems such as geotrust ssl significantly slowing the preview page generation time. Or does it not matter if you are viewing a certain page as to whether a problem PHP would cause a crash of the software?.
        It's only at startup the problem manifests i think, you're not going to want it disappeared off the preview for good, as you won't get to see what you're working on. All you want to do i guess, is be able to load actinic, so you can get in and correct your balls up.

        Comment


          #5
          Indeed that would be one drawback. So possibly option 1 or 3. There could be various settings that could affect things on startup. So how about a sort of safe mode for Actinic?.
          Peblaco

          Comment


            #6
            Originally posted by peblaco View Post
            There could be various settings that could affect things on startup. So how about a sort of safe mode for Actinic?.
            Definitely needed, both great ideas. For people without multi site it must be a nightmare.

            Comment

            Working...
            X