Author Topic: After installation  (Read 5262 times)

0 Members and 1 Guest are viewing this topic.

Offline phil_b

  • Pre-Newbie
  • Posts: 6
    • View Profile
After installation
« on: December 28, 2002, 12:46:55 AM »
the installation went fine but after that im having probs:

everytime i try to add a chategorie i get:

        Warning: MkDir failed (Disk quota exceeded) in /home/www/cncgamer/pics/admin/categories.php on line 78

Warning: MkDir failed (Disk quota exceeded) in /home/www/cncgamer/pics/admin/categories.php on line 81

Warning: MkDir failed (Disk quota exceeded) in /home/www/cncgamer/pics/admin/categories.php on line 78

Warning: MkDir failed (Disk quota exceeded) in /home/www/cncgamer/pics/admin/categories.php on line 81
Category added


And when i try to add a pic it says it cant write to the directory although permissions are set correctly. Any ideas?

This is my php file were the error is:

function create_cat_folder($path, $mode) {
  if (@is_dir($path)) {
    @chmod($path, $mode);
    return true;
  }
  else {
    $oldumask = umask(0);
    $result = mkdir($path, $mode);  line 78
    umask($oldumask);
    if (!@is_dir($path) || !$result) {
      $result = mkdir($path, 0777);   line 81
      @chmod($path, $mode);
    }
    return $result;
  }
}

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
After installation
« Reply #1 on: December 28, 2002, 02:14:55 AM »
well, probably you reached "Disk quota exceeded"...
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 Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Yep
« Reply #2 on: December 28, 2002, 03:21:02 AM »
Quote from: V@no
you reached "Disk quota exceeded"...

Which means you're out of space on your account.  Delete some files first then try again or move to an account with more space.

Offline phil_b

  • Pre-Newbie
  • Posts: 6
    • View Profile
After installation
« Reply #3 on: December 28, 2002, 04:56:04 PM »
that is impossible. I read someone else had this problem also. I have just uploaded another 20mb of things to my website so it isnt that my limit is hit

Offline phil_b

  • Pre-Newbie
  • Posts: 6
    • View Profile
After installation
« Reply #4 on: December 30, 2002, 12:16:27 AM »
can someone please help me here. I have chmod everything to 777 but still it doesnt work i have tryed all kinds of diff chmods but i still get the same error.

I havent run out of space i have lots if someone can help me out because i need this installed :(

Offline Caelestis

  • Newbie
  • *
  • Posts: 40
    • View Profile
After installation
« Reply #5 on: December 30, 2002, 01:23:16 AM »
i would contact my host... they can probably tell you exactlly what it is...