Skip to main content

Posts

Showing posts from November, 2015

How to disable mouse right click. Disable image drag and save. Jquery

Jquery disable mouse right click. Disable image drag and save. < script src ="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-alpha1/jquery.min.js" type =" text/javascript "> </ script > < script type =" text/javascript "> $(document).ready(function(){$('img').on('contextmenu',function(e){return false;});$('img').on('dragstart', function(e){return false;});}); </ script >

FIX Opencart - Warning: vsprintf(): Too few arguments in /admin/controller/dashboard/activity.php on line 19

Warning: vsprintf(): Too few arguments in /admin/controller/dashboard/activity.php on line 19 Backup before doing anything! The problem can be probably missing values in the data of the  customer's activity or the table that is missing after an upgrade. You can look in your table and find the problem in a serialized (before 2.1.0.1) value or convert the values (happens when upgrading to 2.1.0.1) in a json readable format. If you just don't care about the activities data (it's not a big issue) you can truncate the table and accept all the new data. TRUNCATE TABLE `oc_customer_activity`; In the worst case you can recreate the customer_activity table DROP TABLE IF EXISTS `oc_customer_activity`; CREATE TABLE `oc_customer_activity` ( `activity_id` int(11) NOT NULL AUTO_INCREMENT, `customer_id` int(11) NOT NULL, `key` varchar(64) NOT NULL, `data` text NOT NULL, `ip` varchar(40) NOT NULL, `date_added` datetime NOT NULL, PRIMARY KEY (`activity_id`) ) ENGINE=M

wordpress sitemile auctiontheme - XSS

The xss can be used almost anywhere onlinedemo.sitemile.com/auction/advanced-search/?auction_ID=&term=aaa&price_min=&price_max=&zip_code=&radius=&auction_location_cat=&auction_cat_cat=&ref-search example: http://onlinedemo.sitemile.com/auction/advanced-search/?auction_ID=%22%3E%3Cscript%3Ealert%281%29;%3C/script%3E

Windows 10 - Start button is not working, windows photo image viewer is crashing, cannot close applications from the taskbar.

I really don't know what happened but I got several problems with a fresh installation of windows 10: Start button not working windows photo image viewer crashing cannot close applications from the taskbar SFC /scannow - not working ... and so on Use explorer (or from the task manager or win button+R) to run cmd.exe (as administrator) from %windir%\system32 and then run "powershell.exe" otherwise run directly %windir%\winsxs\powershell.exe (as administrator). Paste the following string in the powershell and wait Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} I suppose that it should re-register the installed Apps from the xml manifests. references: http://www.thewindowsclub.com/start-menu-does-not-open-windows-10 https://technet.microsoft.com/en-us/library/hh856044.aspx?f=255&MSPPError=-2147217396  

tp-link tl-wn723n - ic 8853a USB\VID_0BDA&PID_8179 Driver Download

USB\VID_0BDA&PID_8179 Driver Download tp-link  tl-wn723n - ic 8853a USB\VID_0BDA&PID_8179 Driver Download All the drivers that I've downloaded/tested from the official pages seem to not work. After searching a little bit I've found that this driver, from medion, works without problem. http://download.medion.com/downloads/treiber/wlan_e421xw8x.exe