Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Disc Quota Exceeded Error.

Quote Reply
Disc Quota Exceeded Error.
Hey,
I get an error every time I try to build pages. (during back up)
It is:
Reason: Disc quota exceeded
the address is thor.prohosting.com/~ctps/links/admin

Recently the server crashed and the files were backedup if that means anything.
Quote Reply
Re: Disc Quota Exceeded Error. In reply to
Sounds like you need more space, disk quote is the ammount of space you are allowed to use(i.e I paid $30 for 100 MB I was only allowed to use 100 MB) try and upload a file on the server and see if you get an error simmler to that,
Thanks
Joey
Quote Reply
Re: Disc Quota Exceeded Error. In reply to
Yeah, the strange thing is I can upload files.. I also tried deleting past databases and unnessisary files but still get the error.
Thanks for the help,
JEX
Quote Reply
Re: Disc Quota Exceeded Error. In reply to
If you can't get it to work, just forget about that part, and do it your self untill, you can figure it out, in nph-build.cgi change
# Back up Database..
if (! (-e "$db_backup_path/$date.db")) {
print "Backing up database to $db_backup_path/$date.db . . .\n";
use File::Copy;
copy ($db_file_name, "$db_backup_path/$date.db") or &cgierr ("unable to make backup $db_backup_path/$date.db! Reason: $!");
print "Done.\n\n";
}
else {
print "Backup Database already exists for today.. skipping..\n\n";
}
to
# Back up Database..
#if (! (-e "$db_backup_path/$date.db")) {
# print "Backing up database to $db_backup_path/$date.db . . .\n";
# use File::Copy;
# copy ($db_file_name, "$db_backup_path/$date.db") or &cgierr ("unable to make backup $db_backup_path/$date.db! Reason: $!");
# print "Done.\n\n";
#}
#else {
# print "Backup Database already exists for today.. skipping..\n\n";
#}
If it can build the pages after that, then there's proberly some error in your code, thatl give you an ideal, then after you see just uncomment those lines(take the pound sign out)
Thanks
Joey
Quote Reply
Re: Disc Quota Exceeded Error. In reply to
I tried adding the #'s to get rid of errors. It worked down to building the home page. It backed up files... The error i get now is:

Building Home Pages . . .Subcategories: 4Total Links: 67
Opening page: /usr/home/ctps/html/links/index.html
CGI Error: Disc quota exceeded
Message: unable to open home page: /usr/home/ctps/html/links/index.html. Reason: Disc quota exceeded

______

What part should I modify now in the nph-build.cgi file?

Thank you for the help,
DUSTIN