vb.org Archive

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

Senti.Jatt 05-14-2008 12:04 PM

Warning: Invalid argument supplied for foreach() in /index.php on line 145
 
im getting this error..how do i solve this??

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

now getting this error also :(

Database error in vBulletin 3.6.8:

Invalid SQL:

UPDATE LOW_PRIORITY cpsession
SET dateline = 1210770747
WHERE userid = 1
AND hash = '1fc9af43bc1d94a58a622f55e55122f0';

MySQL Error : Lost connection to MySQL server during query
Error Number : 2013
Date : Wednesday, May 14th 2008 @ 01:13:03 PM
Script : http://punjabiz-home.com/forums/admincp/index.php
Referrer : http://punjabiz-home.com/forums/login.php?do=login
IP Address : 58.106.109.29
Username : Senti.Jatt
Classname : vB_Database

Marco van Herwaarden 05-14-2008 12:44 PM

<a href="http://www.vbulletin.com/docs/html/main/troubleshoot_mysql_goneaway" target="_blank">Lost connection to MySQL server during query</a>

Senti.Jatt 05-14-2008 12:50 PM

everything is working fine just getting this error at the top of the forum

Warning: Invalid argument supplied for foreach() in /index.php on line 145

Marco i didn'y get ya mate :-S

Marco van Herwaarden 05-14-2008 12:56 PM

To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

If your problem still exists, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.

Senti.Jatt 05-14-2008 01:12 PM

did that getting same thing :(( :(

Lynne 05-14-2008 02:31 PM

What is on line 145 of your index.php page? Mine has nothing to do with a foreach statement, so I'm thinking you must have modified yours.

Senti.Jatt 05-14-2008 09:08 PM

i haven't modified it...i dunno why it says this

Dismounted 05-15-2008 06:46 AM

Reupload all the vBulletin files (excluding images).


All times are GMT. The time now is 11:03 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.01098 seconds
  • Memory Usage 1,721KB
  • 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
  • (8)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