vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Invalid argument supplied for foreach() in /includes/functions.php on line 1237 (https://vborg.vbsupport.ru/showthread.php?t=169286)

mahmuttunc 01-31-2008 08:09 PM

Invalid argument supplied for foreach() in /includes/functions.php on line 1237
 
I am given the above error on my forum after installing a database may i please have urgent help

Lynne 01-31-2008 08:14 PM

Look in functions.php and tell us what line 1237 says. If it is a hook, then you will need to disable your plugins and then find which plugin is causing the problem.

mahmuttunc 01-31-2008 08:18 PM

i cannot access anything at all as that page comes up

Lynne 01-31-2008 10:20 PM

You don't even have ftp access? That is where you would go to read the functions.php script.

But, why don't you try turning off all your plugins first to see if that makes the problem go away. ftp to your site and go into the includes directory and edit the config.php file. Somewhere after the first line, and before the last line add this line:

define('DISABLE_HOOKS', true);

Then save the file and see if you can get into your forums. That will disable all your plugins, so don't be surprised if your board comes up without any hacks working. If your board does come back to life after adding that line, then you know that it is a modification you added that is causing the problem on your board.

Reecey 01-31-2008 10:29 PM

right you need to do what the above person said and you should be able to access the file either via your FTP access or via you host control panel. i will try my best if you want help with it but i can only do so much .


All times are GMT. The time now is 05:00 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.01015 seconds
  • Memory Usage 1,708KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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