摘要: 配置环境系统:win7PHP版本:5.3.xMYSQL 版本:5.0.27Apache:2.2.4 (Win32) 设置方法:打开D:\wamp\bin\apache\Apache2.2.17\conf\httpd.conf在最后添加NameVirtualHost *:80<VirtualHost *:80>DocumentRoot "D:\wamp\www\bbs"ServerNamewww.a.com </VirtualHost>配置中应该注意: ServerName *:80这里的*可以改为本机ip比如192.168.1.11NameVirtu 阅读全文
posted @ 2011-06-01 16:46 nodot 阅读(393) 评论(0) 推荐(0) 编辑
摘要: <html><head> <title>Introduction to Ext 2.0: Starter Page</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <!-- Include Ext and app-specific scripts: --> <script type="text/javascript" src="../ext/a 阅读全文
posted @ 2011-04-27 14:34 nodot 阅读(1143) 评论(0) 推荐(0) 编辑
摘要: 传送至原文 遇到一个很奇怪的问题,ExtJs里的form提交创建的时候从session里取了个操作员的ID,然后在form里添加了一个xtype为hidden的组件,给它写了个value,奇怪的就出现了,在其中的一条机器上做是没有问题,换了一个机器,说什么就是不能赋值上去,搞的我老郁闷了。用了一个方法解决了此问题,但是老是感觉这样解决了很不爽,各位有没有遇到过这种问题,请指点一下。先说说我的解决方法给hidden组件加个ID 然后在form提交的时候 触发个方法使Ext.getCmp('ID').setValue(userId); 生效。就可以把数据提交上去了 阅读全文
posted @ 2011-04-16 12:39 nodot 阅读(583) 评论(0) 推荐(0) 编辑
摘要: 传送至原文:http://www.robinlu.com/blog/archives/194如果正在使用svn,打算换到git,又暂时不想放弃已有的svn代码库,可以选择git-svn。说一说我自己从svn到git的经验吧。开始安装最新版本的git,从git 1.5.3以后支持git-svn,git和svn的配合就要借助这个功能。安装完毕后要做一些简单的配置。最直接的做法就是创建修改~/.gitconfig。下面是我的.gitconfig[user] name = Robin Lu email = ---@gmail.com[color] diff = auto status = auto b 阅读全文
posted @ 2011-04-11 16:59 nodot 阅读(1041) 评论(0) 推荐(0) 编辑
摘要: 今天使用git svn clone svn://192.168.1.1/res_project 是报错如下:(opensuse 11.3系统, 有装git 、svn)$ git svn clone svn://192.168.1.1/res_projectgit: ‘svn’ is not a git-command. See ‘git –help’. Did you mean one of these? fsck show问了下他们,说是git没开svn模式,google一阵,悲剧的很,加上很多资料都是e文的,还是不知道怎么解决~后面发现是没装git-svn这个包(需要单独安装的),前面关键 阅读全文
posted @ 2011-04-06 15:42 nodot 阅读(9092) 评论(1) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2011-03-28 11:08 nodot 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 今天看zend framework tutorial时候,运行例子,浏览器报错为:The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.apache error.log 中出现如下错误:Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a modul 阅读全文
posted @ 2011-03-28 10:47 nodot 阅读(2317) 评论(0) 推荐(1) 编辑
摘要: Unhandled event loop exception unknown return type in invokeXXXAn error has occurred. See error log for more details.java.lang.AbstractMethodErrorCould not open the editor: assertion failed:An internal error occurred during: "Selection Job titile".java.lang.NullPointerExceptionAn error has 阅读全文
posted @ 2011-03-18 09:07 nodot 阅读(1642) 评论(1) 推荐(0) 编辑
摘要: 官方描述:void register_shutdown_function ( callback $function [, mixed $parameter [, mixed $...]] )Registers the function named by function to be executed when script processing is complete or when exit() is called.Multiple calls to register_shutdown_function() can be made, and each will be called in th 阅读全文
posted @ 2011-03-17 14:47 nodot 阅读(433) 评论(0) 推荐(0) 编辑
摘要: linux:/usr/bin # cd /home/testlinux:/home/test # rpm -ivh linuxqq-v1.0.2-beta1.i386.rpm Preparing... ########################################### [100%] package linuxqq-v1.0.2-beta1.i386 is already installedlinux:/home/test # whereis qqqq:linux:/home/test # rpm -qa | grep qqlinuxqq-v1.0.2-beta1.i386l 阅读全文
posted @ 2011-03-17 10:33 nodot 阅读(229) 评论(0) 推荐(0) 编辑