
Originally Posted by
MischiefDesignz
ok I know I am probably having a major duh moment but..... I deleted the test " it says no where not to lol " and now I have no buttons to create a new.........
Deleting the only record in the mod and leaving zero records was a missed coding error not to have a add new file option.
The fix is below:
File YOUR_ADMIN/download_fetch.php
Find about line 236
Code:
<?php
$download_fetch_query->MoveNext();
}
?>
Change to
Code:
<?php
$download_fetch_query->MoveNext();
}
if ($download_fetch_query_numrows < 1){
echo '<div align="center"><b>NO Records Found You Must Add </b><br /><a href="' . zen_href_link(FILENAME_DOWNLOAD_FETCH, zen_get_all_get_params(array('padID', 'action')) . 'padID=' . $padInfo->file_id . '&page=' . $_GET['page'].'&action=newfile') . '">' . zen_image_button('button_new_file.gif', IMAGE_NEW_FILE) . '</a> </div>' ;
}
?>
and also when I was testing everything worked except for not opening the d/l to retrieve the file.

thanks in advance
Need more info on this one. PHP version, what browser IE ?, Firefox ? You had the green Valid filename image showing?
Skip
Bookmarks