Author Topic: failed to open dir ./cache  (Read 3656 times)

0 Members and 1 Guest are viewing this topic.

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
failed to open dir ./cache
« on: August 19, 2005, 01:58:56 PM »
Hello everybody and sorry 4 this new thread, I searched in the forum but I didn´t found anything like my error message:

If I want to delete the cache over my controlpanel I get this error:

Warning: opendir(./cache) [function.opendir]: failed to open dir: No such file or directory in cache_utils.php on line 129

line 129: $handle = opendir($cache_path);

config.php: $cache_path = './cache';

Where´s the problem? My CHMOD of the 4images/cache is 777 and it works!

Please help - THX by Flo2005

Project offline

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: failed to open dir ./cache
« Reply #1 on: September 22, 2005, 01:49:48 AM »
and what path does it show you before you click "submit" button?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: failed to open dir ./cache
« Reply #2 on: September 22, 2005, 07:41:31 AM »
Before I click, it shows -> Soll der Cache-Prdner () geleert werden?

Project offline

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: failed to open dir ./cache
« Reply #3 on: September 22, 2005, 02:25:59 PM »
the $cache_path should be like this in config.php:
Code: [Select]
$cache_path = ROOT_PATH.'cache';
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: failed to open dir ./cache
« Reply #4 on: September 22, 2005, 03:00:19 PM »
Okay! Now it works! fine! THX by Flo


Project offline