Browsing the 2010 April archive
yum install mlocate
yum install diffutils.i386
yum -y install pcre-devel
yum install php-devel.i386
ntpdate step-systime: Operation not permitted in a XEN VPS
Leave a comment | Filed under Drupal Linuxecho 1 > /proc/sys/xen/independent_wallclock
ntpdate -b pool.ntp.org
Should detaching from the wallclock resolve this issue, you can make this change permanent by adding the following line to your “/etc/sysctl.conf” file:
xen.independent_wallclock=1
Thanks to Danny@linode
drupal views 2 theming: access other fields value in your field template
3 Comments | Filed under Drupalif you need access other fields in your field template, you can access them by
<?
echo $row->{$view->field['FIELD_ID']->field_alias};
?>
You will be able to add some logic to your template like
<?
if($row->{$view->field[field_B_value]->field_alias})
{
echo $output ;
}
else
{
echo “B is not available”;
}
?>
Note the ‘FIELD_ID’ can be something different depending on the field type. it can be “field_B_nid” (if it is node reference), or “field_B_value” [...]
Windows 2003 Server can not access SharePoint Webdav Folder by UNC
Leave a comment | Filed under SharePointWindows 2003 server has service “WebClient” disabled by default.
This service has to be on in order to access “File Share” by SharePoint Webdav. Below are the procedures to enable this service.
1. Login to the server with administrator account. Click Start–>Run, type in services.msc, press enter.
2. Locate the service called “WebClient”, Double click this service. The [...]