Previous Thread
Next Thread
Print Thread
Rate Thread
#211943 09/29/2001 11:22 PM
Joined: Sep 2001
Posts: 2
Lurker
Lurker
Offline
Joined: Sep 2001
Posts: 2
Warning: Failed opening 'http://66.78.6.173/php/.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/sullivan/public_html/php/main.inc.php on line 14

Warning: Failed opening 'http://66.78.6.173/php/languages//generic.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/sullivan/public_html/php/main.inc.php on line 41

Fatal error: Cannot instantiate non-existent class: sql in /home/sullivan/public_html/php/main.inc.php on line 43

i get these errors this is my first time installing this demo

thanks

Sponsored Links
Kristina #211944 09/29/2001 11:37 PM
Joined: Sep 2001
Posts: 2
Lurker
Lurker
Offline
Joined: Sep 2001
Posts: 2
include("$thispath/config.inc.php");
include("$thispath/$config[dbtype].inc.php"); ................... line 14
include("$thispath/theme.inc.php");

include("$thispath/languages/$w3t_language/generic.php"); .................. line 41
$dbh = new sql; ...................... line 43

Kristina #211945 10/01/2001 7:50 PM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
What version of PHP are you running? It looks like your $config[dbtype] isn't coming across. Did you change this from mysql in config.inc.php?


UBB.threads Developer
Kristina #211946 10/03/2001 10:05 AM
Joined: Sep 2001
Posts: 2
Lurker
Lurker
Offline
Joined: Sep 2001
Posts: 2
In reply to:


Warning: Failed opening 'http://66.78.6.173/php/.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/sullivan/public_html/php/main.inc.php on line 14

Warning: Failed opening 'http://66.78.6.173/php/languages//generic.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/sullivan/public_html/php/main.inc.php on line 41




It appears in the first instance that the filename prior to the .inc.php is missing and in the second instance that it is missing altogether between the //s.

I had a similar problem that may be of some insight. The cookies on my client (connected via hub to my server) were persistant. I deleted the cookies and everything started working again. Apparently there was an old cookie on my client that was inappropriate.

From what I can discern, the language for your session is held in the cookie. If that cookie is incorrect, then the $lang variables will be null or incorrect as well.

Give that a look - it may not be the answer but those missing filename elements are certainly the first thing that jumped out at me.

Good luck. []/testimages/icons/smile.gif[/]



Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,153
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 464
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 13
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)