ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Unable to save your template as a text file - Part II

August 19, 2008 5:04pm

Subscribe [2]
  • #1 / Aug 19, 2008 5:04pm

    haydenp

    46 posts

    I recent had this problem after a fresh install of EE. I read all the documentation on the topic and searched the forums.

    I found this thread to be of use:

    Unable to save your template as a text file

    I thought the following may help other with a similar problem:

    1) Safe Mode
    You can check if your PHP installation is running in “Safe Mode” by running:

    <?php
    
    echo phpinfo();
    
    ?>

    Search for the word “safe_mode”. It should be set to “Off”.

    2) Finding the server path to the directory in which the template files should be saved.

    After numerous failed attempts at working out (Thumb Sucking) the path I decide to take a look at the log files (access_log, error_log) being generated. Logs written to the error_log file provided me with the correct path.

    From the following log:

    client 61.16.11.60] File does not exist: /usr/local/psa/home/vhosts/mydomain.com/httpdocs/favicon.ico

    I was able to get the correct path:

    /usr/local/psa/home/vhosts/mydomain.com/httpdocs/my_template_folder/

    Hope this comes in handy for anyone in a similar situation.

    HP

  • #2 / Aug 19, 2008 5:15pm

    Ingmar

    29245 posts

    HP, are you sharing your solution, or do you have a problem of your own? In the former case, I’d like to shift this over to Howto.

  • #3 / Aug 19, 2008 5:46pm

    haydenp

    46 posts

    Hi Ingmar

    I wanted to post my solution to the Wiki (under the topic on saving templets) but due to my limited number of forum posts I am not allowed. I thought here would be the next best place?

    Regards

    HP

  • #4 / Aug 19, 2008 5:56pm

    Ingmar

    29245 posts

    Thanks for explaining, your feedback is appreciated. I’ll just move it to Howto, where it’s a better fit.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases