vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Database and forum problems! (https://vborg.vbsupport.ru/showthread.php?t=242149)

umang26 05-09-2010 12:04 PM

Database and forum problems!
 
I had recently moved to a new server and since then, I have been facing problems. Sometimes, when I open certain threads, I see this error.
Quote:

Warning: Cannot use a scalar value as an array in [path]/includes/class_postbit.php(314) : eval()'d code on line 86
Further down, there's a vBulletin message that says

Quote:

Unable to add cookies, header already sent.
File: /home/ranglafi/public_html/includes/class_core.php
Line: 4495
This happens to my users too, but sometimes they see this error where I don't and vice-versa. (I see this in the admincp too, when I try to search for users.)
First I thought this was a problem with the vBulletin files. So to confirm, I uploaded the same files on a free host along with the same database and I had the same issue. Then, I uploaded an older database with the same files and saw that everything was fine! So now I know that there was some issue with the database. I tried to repair and optimise it, but it didn't help. I even tried to change the style but I had the same problem again.

Now my best guess is that I need to continue with the old database and ask my users to register again. This will not be good for my website.

So my real question, is there a way to only add the users and their relevant information from the new database to the old one?

Somebody please help, this is urgent.

Deceptor 05-09-2010 01:18 PM

It's a plugin most likely. Disable mods 1 by 1 till the error goes away and you'll know the offending modification :)

Paul M 05-09-2010 02:37 PM

Its a modification causing an error on the postbit_display_complete hook.

umang26 05-09-2010 04:39 PM

Thanks that solved my problem.

Now I have a similar problem.

When I try to search for a user using admincp (Users>Search for users). I see this error

Quote:

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/version_vbulletin.php:11) in [path]/includes/functions.php on line 3781
This was not fixed even after disabling the plugins.


All times are GMT. The time now is 02:39 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.00989 seconds
  • Memory Usage 1,717KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete