This means the file did not upload correctly. Please copy the file across once more, and be sure to let the process finish before attempting to access the page.
<?php
/*======================================================================*\
|| #################################################################### ||
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2013 Fillip H. # ||
|| # All Rights Reserved. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------------------------------------------------------- # ||
|| # You are not allowed to use this on your server unless the files # ||
|| # you downloaded were done so with permission. # ||
|| # ---------------------------------------------------------------- # ||
|| #################################################################### ||
\*======================================================================*/
// #############################################################################
if ($_REQUEST['action'] == 'search' OR empty($_REQUEST['action']))
{
print_cp_header($vbphrase['dbtech_thanks_log_title']);
// ###################### Start modify #######################
$users = $db->query_read("
SELECT DISTINCT entry.userid, user.username
FROM " . TABLE_PREFIX . "dbtech_thanks_entry AS entry
LEFT JOIN " . TABLE_PREFIX . "user AS user USING(userid)
ORDER BY username
");
$userlist = array('no_value' => $vbphrase['all_log_entries']);
while ($user = $db->fetch_array($users))
{
if (!$user['username'])
{
// No username found
continue;
}
$userlist[$user['userid']] = $user['username'];
}
$entrylist = array('no_value' => $vbphrase['dbtech_thanks_all_entry_types']);
foreach (THANKS::$cache['button'] as $button)
{
$entrylist[$button['varname']] = $button['title'];
}
print_form_header('thanks', 'search');
construct_hidden_code('action', 'searchresults');
print_table_header($vbphrase['dbtech_thanks_log_title']);
print_input_row($vbphrase['log_entries_to_show_per_page'], 'perpage', 15);
print_select_row($vbphrase['show_only_entries_generated_by'], 'userid', $userlist);
print_select_row($vbphrase['dbtech_thanks_entrytype'], 'varname', $entrylist);
print_time_row($vbphrase['start_date'], 'startdate', 0, 0);
print_time_row($vbphrase['end_date'], 'enddate', 0, 0);
print_select_row($vbphrase['order_by'], 'orderby', array('date' => $vbphrase['date'], 'user' => $vbphrase['username'], 'varname' => $vbphrase['varname']), 'date');
print_submit_row($vbphrase['view'], 0);
I downloaded the file from your server again and compare the two.. They are identical to each other.
Code:<?php /*======================================================================*\ || #################################################################### || || # ---------------------------------------------------------------- # || || # Copyright ©2013 Fillip H. # || || # All Rights Reserved. # || || # This file may not be redistributed in whole or significant part. # || || # ---------------------------------------------------------------- # || || # You are not allowed to use this on your server unless the files # || || # you downloaded were done so with permission. # || || # ---------------------------------------------------------------- # || || #################################################################### || \*======================================================================*/ // ############################################################################# if ($_REQUEST['action'] == 'search' OR empty($_REQUEST['action'])) { print_cp_header($vbphrase['dbtech_thanks_log_title']); // ###################### Start modify ####################### $users = $db->query_read(" SELECT DISTINCT entry.userid, user.username FROM " . TABLE_PREFIX . "dbtech_thanks_entry AS entry LEFT JOIN " . TABLE_PREFIX . "user AS user USING(userid) ORDER BY username "); $userlist = array('no_value' => $vbphrase['all_log_entries']); while ($user = $db->fetch_array($users)) { if (!$user['username']) { // No username found continue; } $userlist[$user['userid']] = $user['username']; } $entrylist = array('no_value' => $vbphrase['dbtech_thanks_all_entry_types']); foreach (THANKS::$cache['button'] as $button) { $entrylist[$button['varname']] = $button['title']; } print_form_header('thanks', 'search'); construct_hidden_code('action', 'searchresults'); print_table_header($vbphrase['dbtech_thanks_log_title']); print_input_row($vbphrase['log_entries_to_show_per_page'], 'perpage', 15); print_select_row($vbphrase['show_only_entries_generated_by'], 'userid', $userlist); print_select_row($vbphrase['dbtech_thanks_entrytype'], 'varname', $entrylist); print_time_row($vbphrase['start_date'], 'startdate', 0, 0); print_time_row($vbphrase['end_date'], 'enddate', 0, 0); print_select_row($vbphrase['order_by'], 'orderby', array('date' => $vbphrase['date'], 'user' => $vbphrase['username'], 'varname' => $vbphrase['varname']), 'date'); print_submit_row($vbphrase['view'], 0);
Please advise on what I need to correct. I want to buy this but not until I can run it with no errors.
Line 54 and 55 are both BLANK lines
My apologies, I found the issue. It was an issue with the code that strips Pro-only features. If you re-download the latest version and re-upload that file, it should be fixed now and you should have more features available
We use essential cookies to make this site work, and optional cookies to enhance your experience.