Log in

View Full Version : I am not sure what's wrong with this error messages


NGUYENDUCTRUONG
08-02-2008, 03:34 AM
Hello everyone, i need some help please. I search but no luck with the issues.

I was trying to AdminCP -> Update Counters -> Rebuild Post Cache

here's the error message:

Building Post Cache
Processing: 19 1, 2
Processing: 20 1, 2
Processing: 21 1, 2
Processing: 23 1, 2
Processing: 24 1, 2
Processing: 26 1, 2
Processing: 32 1, 2
Processing: 33 1, 2
Processing: 36 1, 2
Processing: 37 1, 2

Warning: file_get_contents(/home/path/public_html/forum/includes/database_error_message.html) [function.file-get-contents]: failed to open stream: No such file or directory in /includes/class_core.php on line 918

Warning: file_get_contents(/home/path/public_html/forum/includes/database_error_message.html) [function.file-get-contents]: failed to open stream: No such file or directory in /includes/class_core.php on line 944

I appreciate it alot for your help :o

Dismounted
08-02-2008, 04:45 AM
Why do you need to rebuild the post cache in the first place? Even if you did - I would suggest just clearing it as rebuilding will process every single post, clearing it will just build posts as they are viewed.

Opserty
08-02-2008, 12:02 PM
You are missing the includes/database_error_message.html file for some reason?

NGUYENDUCTRUONG
08-02-2008, 06:18 PM
huh? sorry i am confused and have no experience with vB errors. I checked includes path i dont have the database_error_message.html file, is it normal? i've never seen this file as many time i reinstall my vbulletin. So, do i need this? what is it look like and what content inside the html file or just blank? can i just create a blank html with notepad and name it: database_error_message.html and upload to includes path? or i dont need this html file?
I appreciate it for all your help, please guide me a little bit details. Thanks so much

Lynne
08-02-2008, 06:30 PM
I checked includes path i dont have the database_error_message.html file, is it normal?
Double-check your files. I have that file in both my 3.6.8 installation and my 3.7 installation.

Opserty
08-02-2008, 08:10 PM
Download a fresh copy of vBulletin which matches your version and upload all the non-image files. You may be missing other files too so it is best to be safe by uploading them all.

That is a default vBulletin file it should always be there, you cannot create it yourself in notepad and you do need it to display error messages when your database encounters problems. Maybe you removed it by accident or something.

NGUYENDUCTRUONG
08-03-2008, 04:06 AM
You are right, i checked /includes path was missing 3 files:

database_error_page.html
database_error_message.html
database_error_image.jpg

so if i reUP then i should be ok now? thanks again

oh, nevermind :=) i uploaded those files back to includes path, i dont have any problem anymore.
Thank you very muchhhhhhhhhhhhhhhhhhhhh, great help

Opserty
08-03-2008, 04:10 AM
Yes