On a recent install of gallery i have almost gotten it to work. I have gotten through the config step and have gotten stopped before i could admin the initial gallery.
Fatal error: Call to undefined function: variable_get() in c:\apache\apache\htdocs\includes\common.inc on line 1906
I am using drupal 4.5.2
the most recent stable gallery
the windows build of netpbm
apache.
I think it is an issue relating to apache and drupal but i cannot find the connection
line 1906 is as such
Lines 1901-1906 of common.inc are
// Initialize $_GET['q'] prior to loading modules and invoking hook_init().
if (!empty($_GET['q'])) {
$_GET['q'] = drupal_get_normal_path(trim($_GET['q'], '/'));
}
else {
$_GET['q'] = drupal_get_normal_path(variable_get('site_frontpage', 'node'));
I am not able to understand why i am getting this message when trying to access the albums.php for the first time
Comments
still lost
I am still unable to find an answer for this. thanks again everyone for your help
Same problem
Same problem here.
Anyone ?
Thanks!
Same problem, more insight
I'm having the same problem:
drupal 4.5.2
Gallery 4.1.0
Debian Linux (Sarge)
When going to http://my_drupal_site_address/misc/gallery per the install instructions, I get this error: Fatal error: Call to undefined function: variable_get() in /var/www/includes/common.inc on line 1906
The variable_get() function is in bootstrap.inc. My PHP experience is near zero, but I'm familiar with programming. bootstrap.inc need to be included in common.inc to get this to work.
If someone knows how to hack common.inc to include bootstrap.inc, please respond.
Got it!
In the 'includes' directory, open common.inc in an editor. Look for several lines beginning with 'include_once'. Put this line right after those lines:
include_once 'includes/bootstrap.inc';
I might point out that in
I might point out that in general modules only work on same versioned Drupal versions. Drupal 4.4.x uses modules in the 4.4 tree. Drupal 4.5.x uses modules in the 4.5 tree. The gallery contrib module has been abandoned for a while. There is a new one for interacting with Gallery 2 for use in Drupal 4.6rc,
-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide