StatCounter User Forum  
StatCounter Free web tracker and counter

Go Back   StatCounter User Forum > Webmaster > Lounge (non-StatCounter related topics here!)

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 01-01-2006, 09:22 PM
DSL Guy DSL Guy is offline
Master Member
 
Join Date: Sep 2004
Location: United States Of America
Posts: 2,493
Default PHP Assistance

Warning: main(.): failed to open stream: Success in /home/dslexpe/public_html/config.php on line 848

Warning: main(): Failed opening '.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dslexpe/public_html/config.php on line 848

Warning: main(.): failed to open stream: Success in /home/dslexpe/public_html/config.php on line 876

Warning: main(): Failed opening '.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dslexpe/public_html/config.php on line 876


Wondering how to get this corrected. I am new to .php but am easy to teach and a fast learner.

Is anyone in here able to assist? Please!
__________________

  #2  
Old 01-01-2006, 11:21 PM
cdtoad cdtoad is offline
Junior Member
 
Join Date: Jan 2006
Location: Rocky River, Ohio
Posts: 10
Default File Not Found config.php

Your scrip is looking for a file called config.php. Somewhere in your script you should see an include("config.php") or requireonce("config.php"). You get a few errors because PHP is trying several global locations to load the file from.




Quote:
Originally Posted by DSL Guy
Warning: main(.): failed to open stream: Success in /home/dslexpe/public_html/config.php on line 848

Warning: main(): Failed opening '.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dslexpe/public_html/config.php on line 848

Warning: main(.): failed to open stream: Success in /home/dslexpe/public_html/config.php on line 876

Warning: main(): Failed opening '.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dslexpe/public_html/config.php on line 876


Wondering how to get this corrected. I am new to .php but am easy to teach and a fast learner.

Is anyone in here able to assist? Please!
  #3  
Old 01-02-2006, 12:09 AM
DSL Guy DSL Guy is offline
Master Member
 
Join Date: Sep 2004
Location: United States Of America
Posts: 2,493
Default It's there

Is there a way to get it found quickly so this error or warning isn't continuing to display?
__________________

  #4  
Old 01-02-2006, 02:26 AM
cdtoad cdtoad is offline
Junior Member
 
Join Date: Jan 2006
Location: Rocky River, Ohio
Posts: 10
Default Maybe...

Maybe... what type of hosting are you using? And what is the program you're trying to load? A Blog? Wordpress maybe?

Quote:
Originally Posted by DSL Guy
Is there a way to get it found quickly so this error or warning isn't continuing to display?
  #5  
Old 01-02-2006, 02:34 AM
DSL Guy DSL Guy is offline
Master Member
 
Join Date: Sep 2004
Location: United States Of America
Posts: 2,493
Default You may be on to something

I integrated a blogger.com blog into the site. All the files are in the public_html folder with all the other files.

I also integrated an atom feed of the blog to the index page.

servers are linux Red Hat. Dedicated with more space and bandwidth than I'll ever possibly use.
__________________

  #6  
Old 01-02-2006, 02:47 AM
cdtoad cdtoad is offline
Junior Member
 
Join Date: Jan 2006
Location: Rocky River, Ohio
Posts: 10
Default Hummm... Blogger?

Not sure about Blogger.com. Last time I used it it was all about FTP'n into your account and uploading it's new posts.

Anyhow... since it's a Linux system... do you have access to a SHELL account? If you do login via ssh and try this command

locate cofing.php

then if that comes up with too much junk that isn't your's try

locate config.php | egrep dslexpe

If it's anything like the WordPress install you might have to create this config.php file first... you can do it by hand.

Can you point me to a location where I can see the program that you're using? I mean the creators website... I've quickly looked at Blogger.com but don't see anything to "intergrate" with your own site.

-CD
  #7  
Old 01-02-2006, 03:49 AM
DSL Guy DSL Guy is offline
Master Member
 
Join Date: Sep 2004
Location: United States Of America
Posts: 2,493
Default Here's the template creator

Blogger Template Style
Name: Minima
Designer: Douglas B

I suppose it's a matter of semantics. I am ftp'ing the site to the public_html folder.
__________________


Last edited by DSL Guy; 10-03-2007 at 04:29 PM.
  #8  
Old 01-02-2006, 04:02 AM
DSL Guy DSL Guy is offline
Master Member
 
Join Date: Sep 2004
Location: United States Of America
Posts: 2,493
Default Starting Over

Quote:
Originally Posted by DSL Guy
Blogger Template Style
Name: Minima
Designer: Douglas B
URL:
Date: 26 Feb 2004

I suppose it's a matter of semantics. I am ftp'ing the site to the public_html folder.

I should maybe just place this blog in a sub-domain instead of the main php domain?

I'll do that. It's easy enough.
__________________


Last edited by DSL Guy; 10-03-2007 at 04:30 PM.
  #9  
Old 01-02-2006, 04:18 AM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,176
Default

Blogger.com blogs are only html pages. The blogger.com site keeps the original posts in their database and the publishing process creates html pages either stored in an account on blogspot.com or publiched to one's own website by FTP.

Any php errors would not come from the blogger blog.

Is there an index.php in the root of the website? What software is it coming from?

And yes, the blog would be better off published to a subdomain of its own. Otherwise the blog's own index page overwrites any other index in the root.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:41 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.