Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 08-10-2011, 03:18 AM
iDHKHCM iDHKHCM is offline
 
Join Date: Aug 2011
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disasterpiece View Post
for starters, you could change your text layout back to left-align, reading this all centered is a pain.

The database error looks like parts of the database structure are missing.

Did you restore an old backup from a different vbulletin version?
You could try to uncomment the line: (remove the //)
PHP Code:
define("DISABLE_HOOKS",1); 
in your config.php file located in /includes/config.php
and see if this helps, but judging from the error, this doesn't seem like a plugin issue, rather than a malformed database structure.

Could you give details what you did exactly to roll back your forum to an older revision?
kk centered is off, i was trying to make it easier to read lol i guess i was way off.


okay so here it is

i was on 4.0.3 vb we got hacked. restored the site, then updated to latest version of vb.

i was putting on some password protection on directories threw cpanal (like admincp ect)

when i notice the forums were missing the background. Buttons (images) from threads were missing. I immediately took off all the password protection (thinking it had something to do with it)

it didnt, problem was still their.. so i went to restore. (usually hosting provider does this for me) i read i had to delete my database then restore my back up... so i deleted my main database n went to restore it. deleted it in mysql but it still showed up in phpadmin.

so i created a brand new database. restored the back up sql onto that. change the config.php to the new database, user, n pass ect.

n now the error

sorry for writing so much just didnt want to leave anything out. that was pretty much 9 hours today all in one page lol.

so what do you think?

--------------- Added [DATE]1312953700[/DATE] at [TIME]1312953700[/TIME] ---------------

Quote:
Originally Posted by Lynne View Post
Don't center your post text - it makes it hard to read stuff.

That error is because you are using files that are a different version from your database. If you downloaded 4.1.5 files, and are using a 4.0.3 database, then you need to run the upgrade.php scripts.
centered is off, love all your work by the way! and i will run the upgrade.php and get back to you guys thanks for everything its 4 am here off to bed but will do in the morning. also would i just ftp the 4.1.5 install folder? or all of the 4.1.5 patch level 1 files back into the ftp?

--------------- Added [DATE]1313009120[/DATE] at [TIME]1313009120[/TIME] ---------------

Quote:
Originally Posted by Lynne View Post
Don't center your post text - it makes it hard to read stuff.

That error is because you are using files that are a different version from your database. If you downloaded 4.1.5 files, and are using a 4.0.3 database, then you need to run the upgrade.php scripts.
the upgrade worked great everything was fine.

admincp works great.

but the physical website gets this error



Warning: Invalid argument supplied for foreach() in [path]/includes/block/threads.php on line 221

Warning: Invalid argument supplied for foreach() in [path]/includes/block/newposts.php on line 195

disable the plugins threw config still error so safe to say its not a plugin

any ideas? i reuploaded threads.php and newposts.php but same error
Reply With Quote
 


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

Forum Jump


All times are GMT. The time now is 12:18 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.04664 seconds
  • Memory Usage 2,382KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete