Need help with my directory

Discussion in 'PHP' started by 123, Aug 21, 2007.

  1. #1
    Help please .. I am not a coder so do not understand this error on my directory. Please check doubledirectory.com.

    Fatal error: Smarty error: the $compile_dir '/home/double/public_html/temp/templates' does not exist, or is not a directory. in /home/double/public_html/libs/smarty/Smarty.class.php on line 1088

    Help..!!!
     
    123, Aug 21, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    Create this directory manually:

    /home/double/public_html/temp/templates

    And make sure it's writable. (CHMOD 777)
     
    nico_swd, Aug 21, 2007 IP
  3. daringtakers

    daringtakers Well-Known Member

    Messages:
    808
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #3
    It says tht scripts expects a directory 'templates 'under this path /home/double/public_html/temp/' but it doesnt exists..

    Checkout manually...
     
    daringtakers, Aug 21, 2007 IP
    123 likes this.
  4. 123

    123 Peon

    Messages:
    621
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for such a quick response - 'public_html/temp/templates' sure doesn't exist - but I am wondering I never deleted it - 'public_html/templates' exists.
    I never interfered here but I had added a few add - on domains a few days back. Could some malaware have got in and is messing the script ? What do I do ? - BTW - The directory has been up and running since Jan.
     
    123, Aug 21, 2007 IP
  5. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #5
    Create the directory manually, or change the compile_dir setting to the existing path. There's probably a config.php file somewhere, where you can set this.
     
    nico_swd, Aug 21, 2007 IP
  6. 123

    123 Peon

    Messages:
    621
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i'll try it out
     
    123, Aug 21, 2007 IP
  7. 123

    123 Peon

    Messages:
    621
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I cannot seem to find the config.php file. taking a break and will be back soon.
     
    123, Aug 21, 2007 IP
  8. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #8
    I don't know what script you're using, and the config.php file was just a guess. Maybe it has a different name, or doesn't exist at all. Can't you just create this directory? Or have a look at the readme.txt, there should be some kind of documentation. Or check the site where you got the script from.
     
    nico_swd, Aug 21, 2007 IP
    123 likes this.
  9. krt

    krt Well-Known Member

    Messages:
    829
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    120
    #9
    Maybe it was never created.
     
    krt, Aug 21, 2007 IP
    123 likes this.
  10. coolgoan

    coolgoan Peon

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    maybe you should let some trustworthy guy in this forum have a look first hand
     
    coolgoan, Aug 21, 2007 IP
    123 likes this.
  11. 123

    123 Peon

    Messages:
    621
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Thanks guys it worked - I just copied the 'templates ' directory to the new location. - Still wondering how this could have happened to a perfectly working site. Thanks anyway for guiding me. Reps added to all.
     
    123, Aug 22, 2007 IP