Community Add-Ons

Maintainers: demonangel
Add file to this package
Top » Other

Database Admin
for osCommerce Online Merchant v2.2

The Database Manager permits you to access your MySQL database directly through the oscommerce admin panel.

Add, Alter, Drop, and Optimize Database tables from one file.

All the code is self-contained within the script

Legend:  Download   Report

Expand All / Collapse All

Database Admin 2.1 Bug Fix Icebird 14 Oct 2016  

Note: This is an Bug Fix only - Not full package.

After installation i noticed that some buttons doesn´t work proberly, so, after a quick lookup i found this bugs:


-------------------------------------------------------------------------------------------------------
find around line 305:
<td $BORDER class='smalltext'><a href='javascript:if(confirm(".TEXT_SURE_DROP_FIELD." '$col_info[0]'?")) window.open("$WIZ?hop=11&op=15&field=$col_info[0]","_self")'>".TEXT_DROP."</a></td>

alter to:
<td $BORDER class='smalltext'><a href='javascript:if(confirm("".TEXT_SURE_DROP_FIELD." '$col_info[0]'?")) window.open("$WIZ?hop=11&op=15&field=$col_info[0]","_self")'>".TEXT_DROP."</a></td>
-------------------------------------------------------------------------------------------------------


-------------------------------------------------------------------------------------------------------
find around line 340:
<td $BORDER class='smalltext' align='center'><a href='javascript:if(confirm(".TEXT_SURE_DROP_INDEX." '$idx_name'?")) window.open("$WIZ?hop=11&op=18&index=$idx_name","_self")'>".TEXT_DROP."</a></td>

alter to:
<td $BORDER class='smalltext' align='center'><a href='javascript:if(confirm("".TEXT_SURE_DROP_INDEX." '$idx_name'?")) window.open("$WIZ?hop=11&op=18&index=$idx_name","_self")'>".TEXT_DROP."</a></td>
-------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------
find around line 389:
<input type='button' value=".TEXT_DELETE." onClick='javascript:if(confirm(". TEXT_DELETE_RECORD .")) submit();'>

alter to:
<input type='button' value=".TEXT_DELETE." onClick='javascript:if(confirm("". TEXT_DELETE_RECORD ."")) submit();'>
-------------------------------------------------------------------------------------------------------


P.S: There might be more Bugs like this in the database_admin.php file for both 2.3.4 and 2.2 versions.

Database admin v3.0 reflex-ocasion 7 Aug 2015  
Database Admin 2.1 reflex-ocasion 16 Jul 2013  
Database_admin_1.1_with_french leirisset 14 Aug 2008  
Turkish translation snowbird 2 Aug 2008  
Limit to store database rigadin2 25 Apr 2006  
support thread azer 24 Apr 2006  
Database Admin Language Update twoifbysea 21 Apr 2006  
Database Admin demonangel 21 Apr 2006