Welcome to Geeklog, Anonymous Tuesday, October 04 2022 @ 06:46 am EDT

Geeklog Forums

/public_html/admin/install/install.php on line 887


Status: offline

winnerdk

Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
confused
Hey guys, I'm making the leap to 1.4, and I got this error when I tried to run the install script...

"Warning: main(/home/panamax/public_html/system/classes/template.class.php): failed to open stream: No such file or directory in /home/panamax/public_html/admin/install/install.php on line 887

Fatal error: main(): Failed opening required '/home/panamax/public_html/system/classes/template.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/panamax/public_html/admin/install/install.php on line 887"

I just rolled back and punted. What do I have to do or change to make the install work?
 Quote

Status: offline

etegration

Forum User
Full Member
Registered: 02/20/02
Posts: 179
your template.class.php cannot be found. Your path seems wrong. Check your config.php and line that says:

$_CONF['path'] = '/path/to/geeklog/'; // should end in a slash

Yours should be '/home/panamax/public_html/'

then the rest will fall into place on their own with, you don't have to edit them but it's:

$_CONF['path_system'] = $_CONF['path'] . 'system/';
$_CONF['path_log'] = $_CONF['path'] . 'logs/';
$_CONF['path_language'] = $_CONF['path'] . 'language/';
$_CONF['backup_path'] = $_CONF['path'] . 'backups/';
$_CONF['path_data'] = $_CONF['path'] . 'data/';
http://www.etegration.com.sg
http://www.itcow.com
http://www.ministryofhosting.com
 Quote

Status: offline

winnerdk

Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
Thanks for getting back to me. Here's what I have in my config.php;


// +---------------------------------------------------------------------------+
// | (2) Paths |
// +---------------------------------------------------------------------------+

// Note for Windows users: It's safe to use the forward slash '/' instead of
// the backslash '' in paths. Make sure each path starts with a drive letter!

// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/home/panamax/public_html/'; // should end in a slash

// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
// $_CONF['path_html'] = '/path/to/your/public_html/';
$_CONF['path_html'] = '/home/panamax/public_html/';

++++++++++++++++
I copied it over from the old config.php that was working. It looks right to me, and I missing something? Thanks for the help.

Don Can someone help me
 Quote

Big Hare

Anonymous
blank
$_CONF['path'] = '/home/panamax/';


path to config.php

error because the system folder is not inside public_html
 Quote

Status: offline

winnerdk

Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
Big Celebration

That was it! I'm now up and running, happily moving images around, getting things lined up the way I like them. Thanks for the help, and if you want, check out my brand new 1.4 site at;

www.panama-guide.com

Now if I can figure out how to move the topic icons back over to the left side where I had them in my old theme...

Don
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by winnerdk:Now if I can figure out how to move the topic icons back over to the left side where I had them in my old theme...

In config.php:
Text Formatted Code
$_CONF['article_image_align']   = 'right'; // Topic icon on left or right.
 

bye, Dirk
 Quote

Status: offline

winnerdk

Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
Thanks, Dirk. That did it. Also had to change the position of the {story_anchortag_and_image} in storytext.thtml and featuredstorytext.thtml, and placed it right before {story_anchortag_and_image} so that the topic icon appears right before the title of the article. Ok, that's done. Chest-Slam Celebration

Now, on to trying to get the phpadsnew banners back up and running... Any tips?
 Quote

All times are EDT. The time is now 06:46 am.

  • 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