Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Tuesday, May 21 2013 @ 11:54 AM EDT


 Forum Index > Support > Installation Support New Topic Post Reply
 Upgrade Problem
   
iggymnrr
 10/20/03 12:21PM (Read 1419 times)  
+----
Newbie

Status: offline


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

 
Profile Email
 Quote
Content generated in: 0.20 seconds
New Topic Post Reply

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