need help about Error: document not found

cupcode

Verified User
Joined
Sep 12, 2014
Messages
43
Location
Iran
recently I installed DA in centos 6.5 65bit and now I got this error :
Error: document not found
when i try "Select a File to Restore" and i click on "Click here for a list of your current backups" and then this error shows!
please help me to solve it
thanks!
 
That might be a skin-related problem :) What is the name of the skin set?
 
That might be a skin-related problem :) What is the name of the skin set?

thank you for reply! i think its capri skin!I attach it.
But probably its not a skin problem because I changed my skin to another skin and it did not changed.
 
I hadnt this problem on this direct admin when i click on Click here for a list of your current backups
it shows file manager but in my DA!
what should i do?
(why DA forum has not any like Buttom?)
 
The problem was: "backups" directory did not exist under /home/user, so file manager showed "Error: document not found" when accessing "CMD_FILE_MANAGER/backups".
 
my new questions

I have 2 new questions:
1- before using DA I was working with Cpanel and WHM on cpanel when we want to make A Record we should choose a name and ip for record and cpanel automatically add domain after name of record but in DA I maked A Record like this: charge.dibawebhost.org A 94.182.139.133 and it doesnt work! please help in field of Arecord name we should add a name or name with domain after that? means : charge A 94.182.139.133 OR charge.dibawebhost.org A 94.182.139.133 ?
2- If i want to sell Host Reseller in WHMCS I should add my main admin information of DA ?(information of Full acess to DA panel?)
thanks.
 
I've set the FileManager to hide the link if there are 0 files (or the backup directory doesn't exist)..
Of course, this is only for the Enhanced skin, so if you are using the Capri, it would need to be changed (only cosmetic)
Code:
|*if NUM_FILES>"0"|<a href="/CMD_FILE_MANAGER/backups">|LANG_CLICK_FOR_BACKUPS|</a><br>
<br>
|*endif|

1) You forgot the dot after org:
http://help.directadmin.com/item.php?id=541
This is what you actually added, due to the missing dot:
Code:
;; ANSWER SECTION:
charge.dibawebhost.org.dibawebhost.org. 14400 IN A 94.182.139.133
I personally like just doing it like this, easier and quicker:
Code:
charge   A    94.182.139.133

2) I'm not familiar with the WHMCS setup.. but if it needs to use the DA API to create Resellers, then yes, Admin Level access would be needed.
HOWEVER, I'd recommend you give it a Login Key rather than the actual admin password:
http://help.directadmin.com/item.php?id=523
that way you can restrict it to just the IP that WHMCS is connecting from.

John
 
I've set the FileManager to hide the link if there are 0 files (or the backup directory doesn't exist)..
Of course, this is only for the Enhanced skin, so if you are using the Capri, it would need to be changed (only cosmetic)
Code:
|*if NUM_FILES>"0"|<a href="/CMD_FILE_MANAGER/backups">|LANG_CLICK_FOR_BACKUPS|</a><br>
<br>
|*endif|

1) You forgot the dot after org:
http://help.directadmin.com/item.php?id=541
This is what you actually added, due to the missing dot:
Code:
;; ANSWER SECTION:
charge.dibawebhost.org.dibawebhost.org. 14400 IN A 94.182.139.133
I personally like just doing it like this, easier and quicker:
Code:
charge   A    94.182.139.133

2) I'm not familiar with the WHMCS setup.. but if it needs to use the DA API to create Resellers, then yes, Admin Level access would be needed.
HOWEVER, I'd recommend you give it a Login Key rather than the actual admin password:
http://help.directadmin.com/item.php?id=523
that way you can restrict it to just the IP that WHMCS is connecting from.

John
thank you so much! but now I have new guestions:
1-where should I paste this code?
PHP:
|*if NUM_FILES>"0"|<a href="/CMD_FILE_MANAGER/backups">|LANG_CLICK_FOR_BACKUPS|</a><br>
<br>
|*endif|
2-I tried with dot after org but agian I have same problem!
3-are you sure I cant use Login Key for WHMCS? and it means if I use it after hacking whmcs hackers cant acess to my DA Admin level?(I have not any Login Keys Icon in my DA user Level)
thank you !
 
1) The code should be located in /usr/local/directadmin/data/skins/yourskin/user/site_backup.html. The HTML file should already have:
Code:
<a href="/CMD_FILE_MANAGER/backups">|LANG_CLICK_FOR_BACKUPS|</a><br>
<br>

So, just replace this code with the one provided, and it should hide the text then if there are no backups made.

2) Make sure domain's NS records are pointing to your server (you can check that on intodns.com or who.is)
3) I still see login keys as a feature request for WHMCS, so I think the feature is not implemented yet: https://requests.whmcs.com/responses/usage-of-directadmin-login-keys
 
1) The code should be located in /usr/local/directadmin/data/skins/yourskin/user/site_backup.html. The HTML file should already have:
Code:
<a href="/CMD_FILE_MANAGER/backups">|LANG_CLICK_FOR_BACKUPS|</a><br>
<br>

So, just replace this code with the one provided, and it should hide the text then if there are no backups made.

2) Make sure domain's NS records are pointing to your server (you can check that on intodns.com or who.is)
3) I still see login keys as a feature request for WHMCS, so I think the feature is not implemented yet: https://requests.whmcs.com/responses/usage-of-directadmin-login-keys

Wooow! Perfect!
thank You "smtalk" it worked and when there is no file to restore it shows "none"
thank you Directadmin support too
my record problem solved by Previous Reply of DA support.(it just needed a little time to set)
and I will waiting for Login Key support from Whmcs but I cant see it in my panel!

and my Very important question is: how can I be sure that my Cron jobs Working properly (means is there any file to test it?,not by ssh)
and I found that cronjob in DA has field for sendig log of activites to an Email like Cpanel but I havent that field in my DA!
please help me I have problem with my Cronjob anyone can check my server cron jobs?
thank you so much
 
system cron?
DA admin
look in the 'Log Viewer" to see if its run under 'Cron Log' /var/log/cron


user cron?
again DA admin look in 'All User Cron Jobs'
 
system cron?
DA admin
look in the 'Log Viewer" to see if its run under 'Cron Log' /var/log/cron


user cron?
again DA admin look in 'All User Cron Jobs'

thank you "AndyII".
but I want to be sure cronjobs work properly?and cpanel has a filed in cronjobs to send notification of cron jobs activites to user email and I saw it in some snapshot of DA control panel in web but my Directadmin admin hasnt this filed!
and for whmcs cronjob I put this code to my cronjobs .does it correct?:
ost_org..png
 
Back
Top