This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

view.css file in wrong location


  1. CruiserPatrick
    Member

    I believe my view.css file is in the wrong location. The one I can edit and have change my form is in the machform directory, not the form_1 directory which is where the admin panel is looking for it. I've edited the view.css file where it is and it makes the changes to the form.

    I'm wondering if something went awry when installed it - which may also be leading to my emailing problem and my image upload problem as well..

    Posted 14 years ago #
  2. redityo

    Hi,

    Seems the CSS /form folder was not generated properly. However, I also have reply your mail, let's continue there.


    MachForm Support

    Posted 14 years ago #
  3. redityo

    Hi,

    Seems the CSS /form folder was not generated properly. However, I also have reply your mail, let's continue there.


    MachForm Support

    Posted 14 years ago #
  4. dannybaydigitalcom
    Member

    Hi,
    I have the same problem, the only css that show any changes in the form if I change it is in the toplevel machform directory. The one in the form_1/css/view.css does not do anything...

    What was the solution for this,

    Thanks

    Posted 14 years ago #
  5. drumaboy46
    Member

    make sure the folder that the view.css is inside of is writable. that may help though I've never had this problem.

    Posted 14 years ago #
  6. dannybaydigitalcom
    Member

    Hi,
    The folders are 777 all the way down. I can save the css just fine in the form web GUI. The form will just not use the view.css, it use only the one that is in the toplevel folder (machform).
    Thanks

    Posted 14 years ago #
  7. yuniar

    Try to run this SQL through PhpMyAdmin or any other SQL tool you are using:

    update ap_forms set form_has_css=1

    That should force the forms to use the CSS below your forms folder.


    MachForm Founder

    Posted 14 years ago #
  8. dannybaydigitalcom
    Member

    Hi,
    That fixed the problem,

    Thanks!

    Posted 14 years ago #
  9. dannybaydigitalcom
    Member

    Hi,
    One other thing on this... every time a new form is created the sql command needs to be done. If that is not done than the new form will not use the view.css in css folder of the form and the other forms that worked fine before don't use the correct one anymore either...

    When the "update ap_forms set form_has_css=1" is run in mysql fixes all forms...

    Thanks

    Posted 14 years ago #
  10. yuniar

    Usually, this problem happened because of two things:

    1) Your PHP is running under Safe Mode -- you need to turn off Safe Mode to fix it completely
    2) The "data" folder doesn't have writable permission.
    If you are using Linux server, make sure it has 777 permission or any writable permission.
    If you are using Windows server and using IIS, make sure the data folder already have the correct writable permission as well (not 777).


    MachForm Founder

    Posted 14 years ago #
  11. dannybaydigitalcom
    Member

    Hi,

    Yes, PHP was running under safe mode, fixed that.. all is good now.

    Thanks !

    Posted 14 years ago #

RSS feed for this topic

Reply