Hi,
we have a set up of drupal in IIS+PHP+Mysql in our one of our server. But it is showing PHP code at the top along with the home page.
er : $view->use_pager; $limit_default = ($type == 'block') ? $view->nodes_per_block : $view->nodes_per_page; $limit = isset($limit) ? $limit : $limit_default; return views_build_view($type, $view, $view_args, $use_pager, $limit); } } /** * This function is used as a central place to manage some translatable text strings * that are used in different places. * @param $text * which string to return. */ function views_t_strings($text) { switch ($text) { case 'filter date': return t('The "Value" can either be a date in the format: CCYY-MM-DD HH:MM:SS or the word "now" to use the current time. You may enter a positive or negative number in the "Option" field that will represent the amount of seconds that will be added or substracted to the time; this is most useful when combined with "now". If you have the jscalendar module from jstools installed, you can use a popup date picker here.'); } } /** * This function fetches filter values from the $_GET object */ function views_get_filter_values($input = NULL) { if (!isset($input)) { $input = $_GET; } $values = array(); foreach($input as $key => $value) { if(strpos($key, 'op') === 0) { // starts with op $values[substr($key, 2)]['op'] = $value; // two letters in op } elseif (strpos($key, 'filter') === 0) { // starts with op $values[substr($key, 6)]['filter'] = $value; // six letters in filter } } return $values; } /** * Invalidate the views cache when taxonomy vocabulary changes. */ function views_taxonomy($op, $type, $object = NULL) { if ($type == 'vocabulary' && $op == 'delete' || $op == 'insert' || $op == 'update') { views_invalidate_cache(); } } function views_form_alter($form_id, &$form) { if ($form_id == 'profile_field_form') { views_invalidate_cache(); } } // An implementation of hook_devel_caches() from devel.module. Must be in views.module so it always is included. function views_devel_caches() { return array('cache_views'); }
Can somebody tell me what went wrong in the environment.
You can find the site at
http://indiaftp.wvindia.org:81/worldvision/
Help is much appreciated.
Comments
as a wild guess, u are using
as a wild guess, u are using a theme (not the default Garland), and the theme is not good.
u may switch back to the default theme (Garland), and see if my guess is correct.
good luck.
Working - changed the environment
i changed the server from IIS to apache . its working fine.. IIS is also not allowing to login into drupal.