Support Forums

Old 01-03-2008, 09:44 AM   #1
Senior Member
 
Join Date: Oct 2007
Location: victoria, Australia
Posts: 179
Rep Power: 10
paulsra is on a distinguished road
Default fatal error problem

hi all,
i believe i have a problem with my database, i get the following error:

Fatal error: main() [function.require]: Failed opening required 'C:\Inetpub\useddirtbikesreal\' (include_path='.;c:\php\includes;C:\Inetpub\useddi rtbikesreal\includes\classes\pear') in C:\Inetpub\useddirtbikesreal\includes\init.php on line 0

if i point the script (3.1 designer) to a fresh database it works fine. the problem is iv spent months on the db thats not working.

im working on a local server with win2003.

please help as this is killing me, once this is sorted, i think i might go with the hosted version!

thanks
Paul
paulsra is offline   Reply With Quote
Old 01-03-2008, 09:51 AM   #2
Coder
 
Join Date: Mar 2006
Posts: 4,411
Rep Power: 108
Lhotch is just really niceLhotch is just really nice
Default

It can sometimes be pretty tough to troubleshoot a problem based on an rror reporte by the script.

Has this install ever worked?

If so, then what have you done since the time and worked and the time you noticed the error?

Databases dont generally just go bad.
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 01-03-2008, 09:59 AM   #3
Senior Member
 
Join Date: Oct 2007
Location: victoria, Australia
Posts: 179
Rep Power: 10
paulsra is on a distinguished road
Default

its been working great with no problems.
about the time it happened i installed a website analizer script called logaholic, but there were no changes to the 68 script. i have since removed that db to be sure there were no conflicts. but the site was working fine after i had installed logaholic anyway..

thanks for your quick response
paulsra is offline   Reply With Quote
Old 01-03-2008, 10:08 AM   #4
Coder
 
Join Date: Mar 2006
Posts: 4,411
Rep Power: 108
Lhotch is just really niceLhotch is just really nice
Default

Unfortunatly, I dont know what to tell ya. The error seems to indicate problems with the script accessing a file, but if you said you can point it to a new database and it works, then that likely isnt the problem.

The fact that a new db works fine also leads me to beleive there is no problem with the scripts either and its likely you just may have a corrupt database or somehow deleted a needed record. Do you have a backup of your live database you can restore and try? If not, then it looks like your out of luck as far as your data goes.
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 01-03-2008, 10:22 AM   #5
Senior Member
 
Join Date: Oct 2007
Location: victoria, Australia
Posts: 179
Rep Power: 10
paulsra is on a distinguished road
Default

is there ay way i can compare two databases to find any differences other that the content, eg; pages?
paulsra is offline   Reply With Quote
Old 01-03-2008, 10:30 AM   #6
Coder
 
Join Date: Mar 2006
Posts: 4,411
Rep Power: 108
Lhotch is just really niceLhotch is just really nice
Default

I guess that depends on what database server your using and how familiar you are with database management. If your using mysql for example you could use the mysqldump program which will dump the whole database to a text file. Do this for your 2 databases and compare the contents of the files.
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 01-03-2008, 06:21 PM   #7
Senior Member
 
Join Date: Oct 2007
Location: victoria, Australia
Posts: 179
Rep Power: 10
paulsra is on a distinguished road
Default

im currently using 'mysql administrator' from the mysql site, to manage the databases. but it dosnt seem to be able to transfer tables between db's.

if i could transfer the 'pages' table and mabee a couple of others this would b good enough to get me up and running.

i dont think the mysql administrator does this,

can this be done?
paulsra is offline   Reply With Quote
Old 01-03-2008, 06:39 PM   #8
Coder
 
Join Date: Mar 2006
Posts: 4,411
Rep Power: 108
Lhotch is just really niceLhotch is just really nice
Default

you can edit the mysqldump file so that it just includes the tables that are damaged and then import it with the mysql command line tools.
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 01-03-2008, 11:42 PM   #9
Senior Member
 
Join Date: Oct 2007
Location: victoria, Australia
Posts: 179
Rep Power: 10
paulsra is on a distinguished road
Default

i sorted it out.

the currency table in he db was corrupted....somehow.
i simply dropped that table and now all is well.

thanks for all your help.

Last edited by paulsra; 01-04-2008 at 06:09 PM.
paulsra is offline   Reply With Quote

Bookmarks

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fatal error EMERGENCY! paulsra v3.1 Questions & Support 9 12-23-2007 03:57 PM
Fatal Error after complete install metroweb v3.1 Questions & Support 1 07-09-2007 08:50 AM
Fatal error joejuan v3.1 Questions & Support 8 12-19-2006 07:31 AM


All times are GMT -4. The time now is 01:48 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0