Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 05:42 am EST

Geeklog Forums

Fatal Error During Install


Status: offline

Souljah777

Forum User
Newbie
Registered: 10/05/03
Posts: 1
Warning: main(/home/mysite/public_html/CMS/geeklog-1.3.8/system/classes/template.class.php): failed to open stream: No such file or directory in /home/cweb-net/public_html/CMS/geeklog-1.3.8/public_html/admin/install/install.php on line 495

Fatal error: main(): Failed opening required '/home/mysite/public_html/CMS/geeklog-1.3.8/system/classes/template.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cweb-net/public_html/CMS/geeklog-1.3.8/public_html/admin/install/install.php on line 495


I get the following errors when clicking on next on the install.php page. I have exchanged "mysite" for the actual directory for security reasons... Please advise as what to do.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
There's obviously something wrong with your path settings, since for one file, it starts with /home/mysite/ while for the other it starts with /home/cweb-net/ - one of them must be wrong.

bye, Dirk
 Quote

Souljah777

Anonymous
Is that your advice? Maybe you didn't read my entire post, I stated that I had replaced that part of my path with mysite. I would expect more help from the site admin. Please somebody offer an actual suggestion. Thanks! Big Grin
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Well if you changed the path names in one in part of your post - why not have changed them all. Since you did this for so-called security reasons Rolling Eyes

I only hope you don't critize me for trying to help Wink


/home/cweb-net/public_html/CMS/geeklog-1.3.8/public_html/admin/install/install.php 

[/code] 
I see an extra public_html in this path - even with your edits, it still looks like the error message is clear that the path setting does not match to where the files are.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Souljah777

Anonymous
Thanks Blaine for your response. Yeah noticed that I forgot to change all the paths. But I had posted and it was already too late. But still I think my explanation was clear. Anyways getting past that.

Okay here is my situation, I did not want to post GL onto the main part of my site, until I could get it configured. So I put it into the directory /CMS... So that is why you see two public_html in the path. So how do you suggest I organize the directories in this situation, so that I can install in the /CMS directory, so that when I type in http://www.mysite.com/CMS that it will load directly GL after install? Thanks in advance.

BTW, I really was not trying to crack down on Dirk. And I apologize if that was how I came across. I was simply trying to express my expectations of support. No hard feelings Dirk, my not changing all of the paths, probably led to your confusion in my post. I look 4wd to your replies.
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
(include_path='.:/usr/lib/php:/usr/local/lib/php')


Suggest you have a path problem.


This is what I would do for paths.

From the install, copy all the files in your public_html to your cms directory.
/home/cweb-net/public_html/cms

Create a /home/cweb-net/geeklog directory and copy the other subdirectories there.

$_CONF['path'] = '/home/cweb-net/geeklog/'; // should end in a
slash
$_CONF['path_html'] = '/home/cweb-net/public_html/cms/';
$_CONF['site_url'] = 'http://www.mysite/cms';


Make sure to modify your lib-common.php file with the correct path, /home/cweb-net/geeklog/config.php
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
As a note of clarification for anyone as background that may help explain the directory structure you choose


Only the files in the archive's public_html directory need to be in a public accessible webserver directory - hence the name public_html.

The other files can be located in another physical and more secure directory. They still need to be accessible by the webserver but not by webusers.

The public_html files or scripts are called by users which then call in any other scripts but these other scripts need not be called directly as URL accessible scripts. The webserver just needs to have physical access to these files. For security reasons these files are often located somewhere else - outside of wwwroot.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Souljah777

Anonymous
cheerful
Thanks so much for your help DTrumbower & Blaine. What you said make sense DT, and I am sure between both of your suggestions, that I will get it up and running. I will post again, If I have more probs! Big Grin
 Quote

Souljah777

Anonymous
Okay did what you said, and have gotten past the first step of the installation... but when I click next on step 2 I get the following errors: Parse error: parse error in /home/cweb-net/public_html/CMS/lib-common.php on line 3021 Fatal error: Cannot instantiate non-existent class: template in /home/cweb-net/public_html/CMS/lib-common.php on line 726 Help please!!!!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

All times are EST. The time is now 05:42 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