That means something has gone wrong, and mDocs is not indexing files.
Can you tell me have you uploaded any file before?
yes, worked perfectly.
uploaded several files before.
still able to download files through the website.
if you want you can do some debugging for me:
open up the file mdocs-dashboard.php”
Change line 115:
$error['error'] = __('Index value not found, something has gone wrong.', 'mdocs');
echo json_encode($error);
To this
$error['error'] = __('Index value not found, something has gone wrong.', 'mdocs')."\n\r";
$error['error'] .= __('[ Index Value ]', 'mdocs').' => '.$mdoc_index."\n\r";
$error['error'] .= __('[ Edit Type ]', 'mdocs').' => '.$edit_type;
echo json_encode($error);
This will just add a little more data to the alert pop not changing anything substantial.
on more question, is your site in english or another lang?
Hi,
this is the current error message:
Index value not found, something has gone wrong.
[ Index Value ] =>
[ Edit Type ] => Toevoegen Document
<the site is in dutch.
thanks for your help!
Yes that would explain it. I know what the problem is and will have fix asap.
The function as an bug in it were it’s looking for the English word update document or add document. It’s an easy fix should take long at all.
If you want to fix the issue now here below is the file to edit:
mdocs-localization.php line 84:
mdocs_add_update_ajax(__('Add Document','mdocs'));
change to:
mdocs_add_update_ajax('Add Document');
mdocs-localization.php line 87:
mdocs_add_update_ajax(__('Update Document','mdocs'));
change to:
mdocs_add_update_ajax('Update Document');
I will have a update soon but if you want it fixed now you can do this.
This fix did the job, it is working again!
thanks!