vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Proxy to Real IP Conversion (https://vborg.vbsupport.ru/showthread.php?t=231873)

Sforums 01-07-2011 03:44 PM

Tried on 4.0.1 PL2 and got this error:

Quote:

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:1) in [path]/includes/functions.php on line 3879

Paul M 01-07-2011 10:04 PM

I think you mean 4.1.0 PL2.

The error means you broke the edited file, I would guess you used an editor that corrupted the file by adding the UTF marker at the start of it (see post #68).

Sforums 01-09-2011 10:10 AM

Quote:

Originally Posted by Paul M (Post 2145657)
I think you mean 4.1.0 PL2.

The error means you broke the edited file, I would guess you used an editor that corrupted the file by adding the UTF marker at the start of it (see post #68).

Yes, 4.1.0 PL2.

I tried again and got even more severe error. This is how my modifyed class_core.php looks like (attachment)

Where did I go wrong?

Paul M 01-09-2011 10:35 AM

Ive removed the attachment as you are not permitted to upload entire vb files.

Your issue is exactly what I said - your editor has added the BOM bytes at the start of the file.

Code:

/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 4.1.0 Patch Level 2 - Licence Number VBF1EE61F6
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2010 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/


Sforums 01-10-2011 08:49 AM

Thanks Paul, it works now.

DAMINK 01-11-2011 04:23 AM

Registration denied, this forum runs an active policy of not allowing spammers. Please contact us via the "Contact Us" page link if you believe this is in error

Does this error relate to this plugin?
Seems no one can register to my forum now.
Even after uninstalling and deleting the mod??

Sforums 01-11-2011 10:39 AM

Sorry, but I have to get rid of this thing.....Every time someone using proxy enters my site it creates havoc. Receiving over 100 email messages such as this daily:

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections

public_html/includes/class_core.php on line 312

Paul M 01-11-2011 10:54 AM

Quote:

Originally Posted by DAMINK (Post 2147398)
Does this error relate to this plugin?

Nope.

Quote:

Originally Posted by DAMINK (Post 2147398)
Seems no one can register to my forum now.
Even after uninstalling and deleting the mod??

Well since that issue has nothing to do with this mod, thats not really surprising. :)

Quote:

Originally Posted by Sforums (Post 2147481)
Sorry, but I have to get rid of this thing.....Every time someone using proxy enters my site it creates havoc. Receiving over 100 email messages such as this daily:

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections

public_html/includes/class_core.php on line 312

Nothing to do with this Im afraid. Your issue lies elsewhere.

Bacon Butty 02-12-2011 02:18 PM

This scrambled my forum.

Disabled hooks, went in and uninstalled and it was fine again.

Shame, looked a useful mod.

Paul M 02-12-2011 02:40 PM

This cannot "scramble" anything (whatever that even means).


All times are GMT. The time now is 01:06 PM.

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.01256 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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