vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Unread Posts and Reputation Comments (welcome box) (https://vborg.vbsupport.ru/showthread.php?t=123886)

Paul M 12-21-2006 09:04 PM

Please provide a test login.

|oR|Greg 12-21-2006 09:42 PM

Check your PMs Paul.

Paul M 12-21-2006 10:50 PM

Quote:

Originally Posted by |oR|Greg (Post 1143109)
Check your PMs Paul.

Indeed, and I soon found your problem.

You seem to have overlooked the rather important note in the first post.

Quote:

Note: This hack only works if you use the database thread marking system.
You are not using database thread marking, you are using the [old] cookie based system.

|oR|Greg 12-22-2006 12:46 PM

DUHHHHHHHHHHHH!!! Thanks, fixed, and working. Clicks install.

nicker 12-28-2006 03:09 AM

Quote:

Originally Posted by nicker (Post 1135428)
I had this working before, great idea, now suddenly I am getting

Warning: file_get_contents(/homepages/42/d186719104/htdocs/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 910

Warning: file_get_contents(/homepages/42/d186719104/htdocs/forum/includes/database_error_page.html) [function.file-get-contents]: failed to open stream: No such file or directory in /includes/class_core.php on line 944

Any ideas?.

Quote:

Originally Posted by Paul M (Post 1135487)
Those errors are not generated by this (at least not directly) - It looks like your vb installation is missing some files (from the forum root) that are needed to generate database error message screens (database_error_message.html & database_error_page.html). You need to upload them to see the real error.

Quote:

Originally Posted by nicker (Post 1135611)
Thanks Paul, I copied them over and opened them, this is what it's showing

Database error in $this->appname $vboptions[templateversion]: $errortext MySQL Error : $this->error Error Number : $this->errno Date : $date Script : http://$_SERVER[HTTP_HOST]$scriptpath Referrer : $referer IP Address : $ipaddress Username : $bbuserinfo[username] Classname : $classname

sorry to be a pain but I can't work this one out, any help is appreciated.

Quote:

Originally Posted by Paul M (Post 1135772)
Opening the files doesn't mean anything. If you get another database error those files will allow vb to display the error (you should also get the error e-mailed to you).

It's sorted thanks, ended up in my url settings, thanks for your help.

|oR|Greg 12-28-2006 11:17 AM

Quote:

SQL Changes to use slave.
Which means what?

adonfun 12-28-2006 11:26 AM

Great mod!! :)

Clicked Installed

Paul M 12-28-2006 01:32 PM

Quote:

Originally Posted by |oR|Greg (Post 1146292)
Which means what?

If you don't know what it means then you don't need to worry, it's just an internal code change related to mysql slaves. :cool:

|oR|Greg 12-28-2006 02:26 PM

We outlawed slavery in the US a while back, so I think this hack now violates some regulatory statutes of the Geneva convention and the Treaty of Versailles.

Paul M 12-28-2006 08:10 PM

:)


....


All times are GMT. The time now is 06:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01414 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete