Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on Smarty Templates: Permission Denied Errors Outside /public_html in the Shared & Semi-Dedicated forum
I am using Smarty templates on my website and everything works fine at home. When I upload the files to my site, I get permission ...

  1. #1
    JPC Member
    Join Date
    Nov 2005
    Posts
    2

    Smarty Templates: Permission Denied Errors Outside /public_html

    I am using Smarty templates on my website and everything works fine at home. When I upload the files to my site, I get permission denied errors. I have tried setting the permissions on all the files and folders to 777 just to see if I could be it to work, but no luck. All my paths in the configuration are absolute paths.

    Here is the setup...

    /home/<user>/public_html/shared/smarty.php tries to access /home/<user>/smarty/libs/Smary.class.php

    I don't think this problem is specific to Smarty, just thought I would give the details.

    Thanks in advance for any help you can provide...

  2. #2
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,438
    If you haven't considered this before, try using WinSCP. I'm assuming you're on a Win32 system. It's a SCP (secure copy FTP client) application that can be used like a local/remote file manager with some finite command line operations. You can create directories, change permissions, chown, and many other *nix commands to work through the bottleneck you seem to be experiencing. I don't know if you are using cPanel, FTP, etc. so troubleshooting is a bit tricky at this point. I'd recommend WinSCP heartily. So would most of the regulars that help on this forum. Forget the other stuff... they just don't have the versatility.

  3. #3
    JPC Member
    Join Date
    Nov 2005
    Posts
    2
    Thanks for the advice...

    I actually just fixed my problem...moving the class file to the SMARTY root instead of the libs directory fixed it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •