vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   PHP Warning: Cannot use a scalar value as an array in ..../search.php on line 2517 (https://vborg.vbsupport.ru/showthread.php?t=322025)

SHORTEDBOARD 03-06-2016 03:17 AM

PHP Warning: Cannot use a scalar value as an array in ..../search.php on line 2517
 
im asking what of this error ,always show this when i click search botton
always on the top ,
Quote:

PHP Warning: Cannot use a scalar value as an array in ..../search.php on line 2517
https://vborg.vbsupport.ru/external/2016/03/19.jpg
.
.
.
.
please help me to fixed this error on my vbb site .thanks in advance .

MarkFL 03-06-2016 03:24 AM

What does it say on line 2517 of your search.php file?

SHORTEDBOARD 03-06-2016 11:27 AM

Quote:

Originally Posted by MarkFL (Post 2566608)
What does it say on line 2517 of your search.php file?

please me .i am newbie from vbb world how to fixed this error please help step by step

thanks you

MarkFL 03-06-2016 12:28 PM

Well, that's what I'm trying to do...different versions of vB have different files, and so in order to help, I need to know what line of code you have at that location.

What version of vBulletin are you using?

SHORTEDBOARD 03-07-2016 12:58 AM

Quote:

Originally Posted by MarkFL (Post 2566625)
Well, that's what I'm trying to do...different versions of vB have different files, and so in order to help, I need to know what line of code you have at that location.

What version of vBulletin are you using?

Quote:

Powered by vBulletin? Version 3.8.9
Copyright ?2000 - 2016, vBulletin Solutions, Inc.


here is vbb version im use

thanks

MarkFL 03-07-2016 01:09 AM

Okay, that is a version to which I have access, and I find the line of code at that location is:

PHP Code:

$lastread["$forumid"] = max($forum['forumread'], (TIMENOW - ($vbulletin->options['markinglimit'] * 86400))); 

Now, what do the URLs look like for those links?

For example, on my vB 3.8.9 dev site, they look like:

New Posts: http://*****/search.php?do=getnew

Search: http://*****/search.php


All times are GMT. The time now is 07:14 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.01016 seconds
  • Memory Usage 1,725KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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