- 博客(14)
- 收藏
- 关注
原创 upgrade ubuntu kernel
1、download kernel from "https://www.kernel.org/pub/linux/kernel/v3.x/" 2、mv to /usr/src/,then tar with order "tar -xvf linux-3.***.tar.gz" 3、switch to source code dir,run by root 4、run "sudo apt-g...
2015-05-11 13:04:58 402
原创 notebook run ubuntu 15.04 is too hot
1、run terminal by root user 2、add follow text to file /etc/rc.local in front of "exit 0" echo IGD > /sys/kernel/debug/vgaswitcheroo/switch echo OFF > /sys/kernel/debug/vgaswitcheroo/...
2015-05-11 10:53:08 181
原创 install ubuntu 14.04 by grub4dos in winxp system
1、download grub4dos,then unzip and copy follow four files to c disk: grldr,grldr.mbr,grub.exe,menu.lst 2、download ubuntu14.04.ios and rename to ubuntu.iso.copy to c disk. 3、copy initrd.lz vmlinuz....
2015-05-10 22:46:35 118
原创 zencart Class 'notifier' not found in autoload_func.php on line 79
Class "notifier " not found in autoload_func.php on 79 line solution define('DIR_FS_CATALOG', '****/*****'); is wrongshould be : define('DIR_FS_CATALOG', '****/*****/');
2013-03-02 11:41:11 202
原创 PHP iconv and mb_convert_encoding
iconv("GBK","UTF-8",$str) equal to mb_convert_encoding($str,"UTF-8","GBK") OR mb_convert_encoding($str,"UTF-8","auto"). iconv have a bug which can not convet "-",but mb_convert_encod
2012-03-07 11:53:03 116
原创 Kloxo - alert: file_exists_not_owned
kloxo面板,使用控制面板中的文件管理器在编辑文件和上传文件时报错:alert: file_exists_not_owned [/home/admin/****.com/index.html 在网上找了一下,是kloxo的一个bug,很多教程里提供了修复方法,但是由于修复文件并不是kloxo官方的链接,所以修复后只是解决了编辑文件的BUG,并没有解决文件上传时的问题。在kloxo的官方找到修复...
2011-11-23 10:57:44 106
原创 mkdir() can not create dir
Sample: select 9 items from sql,but just can only make two directory. then use trim() to delete the blank.
2011-04-06 20:06:48 346
原创 zencart sitemap error
error code: Error loading stylesheet: A network error occurred loading an XSLT stylesheet:http://www.cheapwatches-outlet.com/includes/templates/template_default/css/gss.xsl solve : Edit .h...
2011-03-31 11:00:50 114
open one products in every categories
<?php require('includes/application_top.php'); $selectsql = "select categories_id from categories_description where language_id = 1"; $select_count_products_off = "select count(*) from pro...
2011-03-18 16:07:53 67
rename additional images
<?php require('includes/application_top.php'); $select_products_id = "select products_name,products_image from cfpl0594"; $products_res_cf = $db->Execute($select_products_id); while...
2011-03-18 16:05:05 209
原创 jquery ajax应用
<SCRIPT LANGUAGE="JavaScript" src="$webdb[www_url]/images/default/jquery-1.2.1.pack.js"></SCRIPT> <script language="JavaScript" type="text/javascript"> function getCity()
2011-01-13 17:08:50 82
原创 上传代码部分 - 读取各个分类的文件夹
$dir = @dir("images"); $dir_info; while (($file = $dir->read()) !== false ) { if($file != "." && $file != ".."){ $dir_info[]=$file; } } //print_r($dir_info); $dir->close(); ...
2011-01-13 17:05:25 85
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人