Drupal 5.x

Input Format, Menu Settings, etc do not appear as links when editing or creating a new page

bwaard - December 23, 2009 - 00:48

When I create a new page or edit an existing one. None of the links below the body section are available. The text is visible but they are not links. Now I'm unable to change settings under 'Input Format, Menu Settings, URL Settings' etc.

Any idea why this is happening?

thanks!

Copying existing drupal to vmware image

larsvonk - December 22, 2009 - 14:27

Hi,

I am currently copying an existing drupal installation to be able to run on my local machine. I have copied the database, the system files, configured apache, etc. So far so good. If I start apache and go to the home page of the site it works fine, but clicking any link results in the following error in the apache error log:

[Tue Dec 22 06:15:09 2009] [error] [client 192.168.229.1] File does not exist: /opt/drupal/nl, referer: http://hostname.local/

Drupal is installed in /opt/drupal. I looks like multi-language is causing this since "nl" is one of the languages of the site, the same happens for "en" by the way. Do I need to convert something else for this to work?

Thanks in advance.

Lars

What is the easiest way to do this?

AppleBag - December 22, 2009 - 01:36

I'm running 5.x, and I want to be able to add links of my choice to a simple page. So for example, someone creates a post in my forum and I want the link to that thread on the page, I can add it, and do so for as many threads of my choice, and all of the links simply get generated to a single, simple page. The final result will just be a simple page of links, and I can use the url to that final page of links wherever I choose.

Anyone?

Call to undefined function drupal_get_path_alias()

catherinecolman - December 21, 2009 - 22:48

The site I manage has a custom module that makes the drupal_get_path_alias() function call. Every once in a while, this call was failing and, instead of showing the site, it would show a PHP error: Fatal error: Call to undefined function drupal_get_path_alias() in /home/asiaweb/www.asiasociety.org/htdocs/sites/all/modules/as/as_taxonomy_nav/astn.module on line 464

Someone on my web team poked around and saw that this error had occurred with a bunch of modules once Drupal was updated to 5.1

http://drupal.org/node/119009

http://drupal.org/node/360304

To fix the error, we have put the following line of code in as instructed:

<?php
 
// If cache is enabled we need to load the path system
 
if (variable_get('cache', CACHE_DISABLED) != CACHE_DISABLED) {
   
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
  }
?>

before the drupal_get_path_alias function call.

However, I am not so sure that this is a long term solution. When I asked this question in the main Drupal forum I was directed to this:

According to http://api.drupal.org/api/function/hook_init/5:
If you implement this hook and see an error like 'Call to undefined function', it is likely that you are depending on the presence of a module which has not been loaded yet. It is not loaded because Drupal is still in bootstrap mode. The usual fix is to move your code to hook_menu(!$may_cache).

Unusual white screen of death (wsod) after FreeBSD OS upgrade

walden - December 21, 2009 - 19:45

I'm getting the dreaded white screen of death on a node/add/mycustomcontenttype screen and am at a total loss for how to fix it. I went through the recommended steps http://drupal.org/node/158043 but they haven't solved the problem.

There isn't a php error being generated and there isn't anything in Drupal's log. Any suggestions on how to isolate this problem?

This problem started around the same time that maybe my hosting provider, pair.net upgraded the server OS to FreeBSD 7.2 . They suggested upgrading from Drupal 5.2 to 5.22, but that would take a great deal of time, so I have been reluctant to do it. I did copy the site to a local server, and the problem went away.

International Rivers Using Drupal to Protect People, Water, Life

Ian Elwood - December 21, 2009 - 19:20

International Rivers is the foremost global river protection organization working in Africa, China, the Amazon, Southeast Asia and other regions to protect rivers and stop destructive dam projects.

We use Drupal to coordinate our network of campaigners who's activism includes publishing reports, videos, press releases and blogs to internationalrivers.org in English, Spanish, Chinese and other languages.

Syndicate content
 
 

Drupal is a registered trademark of Dries Buytaert.