3

non-existent file in theme.inc

http://drupal.org

I've just upgraded to 6.15, but messed up a bit on the way. Deleted modules as well as Drupal core before uploading new release, then found some bits of module backup missing (my fault - unfamiliar with FireFTP). Thought I'd recovered everything, but when I started enabling modules, Save Changes caused a recurring error message for line 286 of theme.inc - file does not exist. Here's the section of code to which it refers:

// If a path is set in the info, use what was set. Otherwise use the
// default path. This is mostly so system.module can declare theme
// functions on behalf of core .include files.
// All files are included to be safe. Conditionally included
// files can prevent them from getting registered.
if (isset($info['file']) && !isset($info['path'])) {
$result[$hook]['file'] = $path .'/'. $info['file'];
include_once($result[$hook]['file']);
}
elseif (isset($info['file']) && isset($info['path'])) {
include_once($info['path'] .'/'. $info['file']);

The last line is the one that gives the error. Where is the invalid path and filename coming from?

I get the same error if I try changing themes.

Read »
Created by addision 2 years 14 weeks ago
Category: News   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for non-existent file in theme.inc

Recent comments