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

css upload problem


  1. SchaefferMarc
    Member

    Hi,
    when I go to "Edit CSS", copy/paste my new css to the windows and want to upload it,
    I receive the following error:
    Unable to write into CSS file. Please check your file permission.

    Where can I find the physical path of the CSS which is displayed as: Editing ./data/form_2/css/view.css or where do I have to set theese permissions?

    Posted 16 years ago #
  2. redityo

    Hi,

    Machform CSS file exist on "data/form_x/css" folder relative to your machform folder, where x is your form id number.
    If you install machform on public_html folder for form 3, so the path will be :

    /public_html/machform/data/form_3/css/

    In easy way you can set the permission to 777 (linux server) recursively to your "data" folder with your CPanel/FTP client.


    MachForm Support

    Posted 16 years ago #
  3. SchaefferMarc
    Member

    Hi,

    I installed machform under a win 2003 server wwwroot\machform
    the only thing I have in the data subdirectory is an .htaccess-file.

    Is there a way to find out the path settings for the forms?

    Posted 16 years ago #
  4. redityo

    Hmmm .. that's odd, try to make a file, for example test.php and write this following code :

    <?php
    echo $_SERVER['DOCUMENT_ROOT'] . $_SERVER['PHP_SELF'];
    ?>

    Upload that file same with your machform folder. It will show your document physical path


    MachForm Support

    Posted 16 years ago #
  5. SchaefferMarc
    Member

    Hi,

    heres's rhe result: C:\Inetpub\wwwroot/machform/pathtest.php...
    but I have nothing ese in the path C:\Inetpub\wwwroot/machform/data than this htaccess file...

    Posted 16 years ago #
  6. yuniar

    It seems your IIS doesn't have permission to write into your "machform/data" folder.

    I found one link:
    http://www.horisk.com/blog/index.cfm/2008/4/16/Making-folders-writable-for-PHP-when-using-a-Windows-IIs-server

    It show you how to set the permission of a folder to be writable.
    Try to do it to your data folder and then test by creating a new form.


    MachForm Founder

    Posted 16 years ago #

RSS feed for this topic

Reply