Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
File Permissions question
  • Posted: 01.07.2007, 00:12
     
    rforster
    rank:
    Freshman Freshman
    registered:
     June 2007
    Status:
    offline
    last visit:
    03.07.07
    Posts:
    26
    Hi all,

    My first post. Excited about PostNuke and getting it going. I installed PostNuke through Fantastico in cPanel of my site. Refreshed my index page and in a puff of smoke... PostNuke! Looks like a very minimal installation but obviously worked and filezilla shows everything in the file structure.

    All that said I get:
    "Fatal error: Smarty error: unable to write to $compile_dir '/home/rforster/public_html/pnTemp/pnRender_compiled'. Be sure $compile_dir is writable by the web server user. in /home/rforster/public_html/includes/classes/Smarty/Smarty.class.php on line 1095"
    I read the manual and some posts and knwo this is a permissions issue.
    I am using filezilla and right click a file or directory I can choose File Attributes. From there permissions are set by Owner, Group, Public and within each is read, write, and execute. I have to figure I'm the "owner". I changed all setting for th smart file to 777. Also changed all permissions of the Smarty directory, with recurse into sub directories, to 777.

    I still get the same error.

    So my question is which files or folders do i make 777? or 755? (Been a long time since my Unix classes in college.) My concern is making things accessible to th outside world. I can't imagine I make all the directories under my public_html 777. ??? TIA



    --
    Thanks for the help,
    Ron
  • Posted: 01.07.2007, 00:18
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    No, no, no... Change your Smarty files back...

    The problem is your pnTemp must be world writable '777' but make sure the are writable recursively.

    --
    David Pahl
    Zikula Support Team
  • Posted: 01.07.2007, 00:29
     
    rforster
    rank:
    Freshman Freshman
    registered:
     June 2007
    Status:
    offline
    last visit:
    03.07.07
    Posts:
    26
    Wow, fast response!

    Changed my Smarty files back. Changed the PN Temp dir to 777 and recursed into subs.

    Success! Have navigated to my admin page and need to get this thing working!

    Thank You!

    --
    Thanks for the help,
    Ron
  • Posted: 01.07.2007, 00:30
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    icon_cool

    --
    David Pahl
    Zikula Support Team
  • Posted: 01.07.2007, 00:33
     
    rforster
    rank:
    Freshman Freshman
    registered:
     June 2007
    Status:
    offline
    last visit:
    03.07.07
    Posts:
    26
    At the top of my admin page is tells me that register_globals is on.
    ??? Always thought that was bad.
    And...
    There are 2 unlogged users and 1 registered user online.

    You are logged-in as rforster.
    Is there a system monitoring the site so I will always show users online?

    --
    Thanks for the help,
    Ron
  • Posted: 01.07.2007, 00:37
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    It just counts the amount of open sessions... but it does 'track'. There is a stats module as well.

    You can choose to disable the ONLINE block is you wish.

    register_globals is bad. That is why it autolinks the word in these forums.

    --
    David Pahl
    Zikula Support Team
  • Posted: 01.07.2007, 00:44
     
    rforster
    rank:
    Freshman Freshman
    registered:
     June 2007
    Status:
    offline
    last visit:
    03.07.07
    Posts:
    26
    I knew it.

    register_globals = On
    magic_quotes_gpc = On

    These two settings can be changed using a custom php.ini file located in the same folder as the script that requires the settings.

    Would you happen to know this directory? (then I shoul out of your hair.)

    --
    Thanks for the help,
    Ron
  • Posted: 01.07.2007, 00:48
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    Normally, it is in /usr/local/lib/php/


    --
    David Pahl
    Zikula Support Team
  • Posted: 01.07.2007, 01:06
     
    redbulldesign
    rank:
    Freshman Freshman
    registered:
     June 2007
    Status:
    offline
    last visit:
    06.07.08
    Posts:
    29
    Change Smarty files back?how?

    I'm a newbe and I apreciate the help!
  • Posted: 01.07.2007, 01:18
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975

    rforster

    I changed all setting for th smart file to 777. Also changed all permissions of the Smarty directory, with recurse into sub directories, to 777.

    to 755

    --
    David Pahl
    Zikula Support Team

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula