Ok just fixed another problem with the admin side.
When visiting Advertisment page it puts an error in the error log that says " Unknown error type: [8] Undefined variable: bg on "
THE FIX:::
open admin/managebanners.php on line 39 find code
Directly above it add codePHP Code:while ($row = mysql_fetch_assoc($res))
the code from lines 33 - 41 now looks like thisPHP Code:$bg = '';
I will also add this to the service pack and main download, I will post update threads in the service pack thread each time the service pack is updatedPHP Code:// Retrieve users from the database
$query = "SELECT u.*, COUNT(b.user) as count FROM " . $DBPrefix . "bannersusers u
LEFT JOIN " . $DBPrefix . "banners b ON (b.user = u.id)
GROUP BY u.id ORDER BY u.name";
$res = mysql_query($query);
$system->check_mysql($res, $query, __LINE__, __FILE__);
$bg = '';
while ($row = mysql_fetch_assoc($res))
{
Results 1 to 3 of 3
-
15-04-2012, 02:12 PM #1
Manage Banners Undefined Variable BG FIXED
1 out of 1 members found this post helpful.
-
15-04-2012, 05:31 PM #2
-
15-04-2012, 05:38 PM #3



Reply With Quote

Bookmarks