跳转到主要内容
东方龙马 提交于 15 August 2011

1、原因一 .htaccess 文件

.htaccess 文件(大多数情况属于这种),配置有错,或者.htaccess文件不存在;

解决方法:拷贝Drupal原生的.htaccess文件至Drupal的根目录,或者依据服务器的配置修改。

2、原因二 内存

内存分配不足(感谢 看海 分享经验)。

解决方法:增加服务器的虚拟内存。

增加虚拟内存的,具体是修改php.ini文件:memory_limit = 128M (依实际情况设定)

3、原因三 Boost 模块

解决方法:停止BOOST模块,运行cron,清除缓存。接着禁用缓存(即禁用缓存下的“对匿名用户缓存页面”、“缓存区块”),然后启动BOOST模块(注:如果Boost配置页面里的“Send debug info for each request to watch dog”勾选,请去掉,禁止发送调试信息)。--方法由“月凉如水”MM补充。

 

大家以后遇到 HTTP 500 的错误时记得从这三方面考虑。

标签
edison111cry 提交于 15 August 2011

Wanhu is a small getting bigger programming development studio specialized in creating digital tool for international custormers. We mainly focus on developing website and mobile applications.

We also create corporate and client customized on line solutions for Intranet, E-commerce sites. The company is based in Shanghai and hires people all over China.

1,PHP/DRUPAL/网页开发 2名 该职位主要是从事利用Ajax,joomla/Drupal CMS来创建网站2.0,须拥有2—3年从事网站开发的经验。 技术要求:PHP, Drupal, Mysql, LAMP, HTML5/AJAX(掌握Drupal)。至少应聘者是愿意对诸如此类CMS工具进行学习的。 qq邮箱: 757322839@qq.com

东方龙马 提交于 15 August 2011

Drupal7 与Drupal6 在主题方面有很大的变化,Drupal6 主题好多朋友比较熟悉,对于Drupal7 新主题的变化,在此和大家一起分享和交流。列举如下:

一、在html.tpl.php的开始部分RDFa请求有些变化

1.Drupal7能够在html.tpl.php.输出RDFa请求有以下变量

2.老的lang属性应该被改成compatibility with XHTML 1.1,仅仅xml:lang应该保留。

3.RDF命名前缀通过HTML文档在html标签中序列化以及被包含在$rdf_namespaces变量中。

4.GRDDL资料应该在<head> 标签内标明

6.x

{syntaxhighlighter brush: php} language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"> {/syntaxhighlighter}

7.x

东方龙马 提交于 13 August 2011

原文地址:http://drupal.org/node/1157306

This is one of the finest technique I found so far to theme webform form. In fact, it could be used for any form generated through Drupal FORM API.

For Example, I needed certain elements of the form to be on one line (horizontally placed), I could do something like below. This is just override function of "template_preprocess_webform_form" provided by webform module. Place this in your theme's template.php file.

东方龙马 提交于 13 August 2011

Color.module allows the admin to change the color scheme of a theme completely. By selecting a palette of 5 colors (either from a set or by hand), you can change the colors of an entire theme.

The module can alter the stylesheet and re-render images. However, the theme must provide specific hooks to allow this, and the design must be created specifically to accomodate this.

This document explains the basics of making a colorizable theme.

Taxonomy upgrade extras
boy 提交于 12 August 2011
主题的样式不是我们想要的,怎么办? 1. 选择合适的基主题并创建子主题来作为自己网站的主题。个人推荐zen或fusion作为基主题,具体操作方法参考说明文档。 2. 使用火狐浏览器,利用firebug查看你要制定样式的元素的id和class,以及其样式在你主题中的位置,根据需要进行修改,添加或覆写,必要时用其父元素id或class进行限制。 整体来说是这样,网站最好有设计图,这样可以按设计去写样式。
标签
mark 提交于 11 August 2011

Mark同学,我想用 www.yoursite.com访问根目录是C:\wamp\www\drupal7的Drupal网站,我该怎么办啊?

So easy! 配置虚拟目录吧!

1.找到Hosts文件,在C:\WINDOWS\system32\drivers\etc里面。

2.打开Hosts文件  添加  127.0.0.1  www.yoursite.com,保存!

3.找到 httpd.conf文件,路径一般在 C:\wamp\bin\apache\Apache2.2.17\conf

4.打开 httpd.conf,取消这一行的注释

{syntaxhighlighter brush: php} # Virtual hosts Include conf/extra/httpd-vhosts.conf {/syntaxhighlighter}

5.找到httpd-vhosts.conf,路径在C:\wamp\bin\apache\Apache2.2.17\conf\extra

6.修改httpd-vhosts.conf 前先备份,添加下面的代码:

DrupalSH Meetup 2011 年8 月小结

2011年8月10日晚,Drupal 上海 Meetup 如期在INsReady Inc.(引锐)公司举办。本次参加的朋友相对前2次要较少一些,估计是聚会的时间是在周三晚上,较远的同学就不方便来了。不过本次Meetup见到几位老朋友,还是挺开心的。

本次的分享主要是引锐的2位工程师给我们做了分享,然后是自由交流。

分享开始前skyredwang给我们介绍了,目前在申请一个约4000$的基金,用于组织和邀请Drupal业内大师包括国外的大师到上海来,与我们分享!也希望参与Meetup的同学,不要忘记在http://groups.drupal.org/shanghai 每次的Meetup 通知页面,点击“signups”(报名),这样可以让提供赞助的领导们看到我们每次活动的实际参与情况。

首先是每位同学自我介绍,同时聊聊自己对Drupal6 和 Drupal7的看法。

以美国工程师的方式工作 -- willkaxu

订阅