Appnitro Software Forums » MachForm

PHP in Safe Mode and Editiing CSS

(4 posts)

  1. slunk
    Member

    Hello,

    I created a lengthy form while the PHP installation on my server was still in Safe Mode. Therefore, I am unable to use the admin panel to edit the css of the form. If I duplicate that form, I still receive the same Safe Mode errors as with the original form. If I create a new form, I can edit the css within the admin panel. How can I create a new form based on a previous form and be able to edit the css within the Machform admin panel? Also, where is the form's coding stored?

    Thank you!

    Posted 3 months ago #
  2. It looks to me like the css directory did not create. In your data directory create the necessary directories and copy a view.css file to the css directory (e.g. ./data/form_1/css/view.css).

    Or you can make sure that you have write permissions enabled after being in safe mode.

    Saghalie
    http://www.beautiful-beginnings.org

    Posted 3 months ago #
  3. Hi,

    I think you should copy CSS file from another location, your machform folder should look like this :

    machform
      |
      -- data
             |
             --- form_x <-- x is your form number
                   |
                   -- css
                   |
                   -- files

    you can copy "view.css" file from machform root folder to CSS folder below "form_x" if the folder not exsist you must create it first.
    and the next step, you have to connect to machform database and run this SQL

    update ap_forms set form_has_css = 1 where form_id = x ;

    where x is your form ID number

    Posted 3 months ago #
  4. slunk
    Member

    Thanks for the quick responses. I was able to copy over the css and files directories, give them both write permissions, and that worked. I can now edit the css within the Machform admin panel. I greatly appreciate the help guys!

    Posted 3 months ago #

RSS feed for this topic

Reply

You must log in to post.