Welcome to Geeklog, Anonymous Thursday, October 03 2024 @ 06:24 pm EDT

Geeklog Forums

Upgrade Problem


Status: offline

iggymnrr

Forum User
Newbie
Registered: 02/11/03
Posts: 4
This topic has been mentioned before but the techniques described are
not working for me. I am trying to upgrade from gl 1.3.7 to gl 1.3.8
(sr2). An upgrade on my local machine went smooothly but not on the
production site. Check.php reveals no errors but on running the
install.php I get the following:

Fatal error: Cannot instantiate non-existent class: template in
/home/iggy/htdocs/admin/install/install.php on line 133

This refers to this code:

function INST_getDatabaseSettings($install_type, $geeklog_path) { global
$_CONF, $_TABLES; $db_templates = new Template($_CONF['path_system'] .
'install_templates'Wink;

This problem has been discussed here and suggests a path
inaccuracy. I have had no luck solving this problem by trying different
paths. My gl 1.3.7 info is /dnshome/iggy.us/geeklog/ and
/dnshome/iggy.us/htdocs/ respectively.
Furthermore the hint at the bottom of the install page in my browser
shows slightly different values:
/home/iggy/htdocs/admin/install/install.php. But using paths based on
/home/iggy give me the same error message.

So I tried running a path test with a file called test.php in my public
directory:

<?php
require_once( '/dnshome/iggy.us/geeklog/config.php' );
$test = $_CONF['path'];

echo $test . '<br>';

$system = $_CONF['path_system'];
require_once($system . 'testing.php'Wink;
$test = $iggy;

echo $test;
?>

And in the geeklog/system directory I put a file called testing.php:

<?php
$iggy = iggy;
?>

Navigating in my browser to the test.php revealed the expected result:

/dnshome/iggy.us/geeklog/
iggy

So the path information looks correct but I still can't upgrade.

Iggy
 Quote

All times are EDT. The time is now 06:24 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content