vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - [YUI] Tabbed Forum Home (https://vborg.vbsupport.ru/showthread.php?t=197871)

ThomasR 12-03-2008 09:10 PM

Code:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3729) : eval()'d code on line 1
when I save the two templates

and still the error in the tabs:
Code:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1

s810car 12-03-2008 09:15 PM

still getting the errors even with the fix, gonna uninstall and try clean again

Edit: just to mes around, i uninstalled the product but left ALL template modifications in as well as the file includes My forum showed up again, however the forums were missing (obviously due to the if condition being false) Don't know if that info's any help or not, but i have been having both the encoding errors and the bad argument bug.

This was normal index.php btw. I tried tabindex.php and got the bad argument error still


Update: installed clean again, same errors :( I have the encoding error when i load index, and the bad argument error loading tabindex

AWJunkies 12-03-2008 09:25 PM

This fix link still no work for me. I got one style to work but again modules a no go.

King Kovifor 12-03-2008 10:35 PM

Hm. Would anyone be objecting to me using their site as a testing ground to poke around and make changes - as our servers are not getting either of these errors!

s810car 12-03-2008 10:57 PM

i wish i could but i only have my production site, and the test server which happens to be WAMP on my home comp lol, ill try to get a mirror of my site up in a subdirectory, but i couldnt do that until tomorrow, I hope someone else can help this first

King Kovifor 12-03-2008 11:12 PM

Quote:

Originally Posted by s810car (Post 1678115)
i wish i could but i only have my production site, and the test server which happens to be WAMP on my home comp lol, ill try to get a mirror of my site up in a subdirectory, but i couldnt do that until tomorrow, I hope someone else can help this first

The one thing I cannot figure out is why only some sites are getting this, and ours is not (2-3 servers depending on Bob's home set up).

Does anybody know if PHP is set to display errors?

bobster65 12-03-2008 11:40 PM

Quote:

Originally Posted by King Kovifor (Post 1678121)
The one thing I cannot figure out is why only some sites are getting this, and ours is not (2-3 servers depending on Bob's home set up).

Does anybody know if PHP is set to display errors?

I have it up and running on multiple configurations.. ie, php5 and php4, mysql5 and mysql4, vb 3.6x, 3.7x and 3.8 RC1

Linux Box (Ubuntu, apache2, php5, mysql5) ... vb 3.6x, 3.7x and 3.8 RC1

Linux Box, (Redhat, apache2, php5, mysql5) ... vb 3.6x, 3.7x and 3.8 RC1

Linux Box, (Ubuntu, apache, php4, mysql4) ... vB 3.6x, 3.7x

Windows Box, apache2, php5, mysql5 ... vb 3.6x, 3.7x and 3.8 RC1

Window Box, apache, php4, mysql4 ... vb 3.6x, 3.7x

All work fine.. no errors

TomasDR 12-03-2008 11:42 PM

Three questions:
1. With Cache Data does it cache the forums, or forums & threads? Our forums are pretty much set, the last sub-forum added was over a year ago. of course if it caches the last thread, etc. I will pass on turning it on.

2. With adding a module, I am having a problem with one file I have, the content came up but weird, no css and no header/footer.
These files I made using this thread: How to create your own vBulletin-powered page!

The template uses javascript and that's the only difference I see. Other ones where it's pure html or pulling images work fine.

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<body>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"
align="center">
<tr>
<td class="tcat" align="center">Spanish Word of the Day</td>
</tr>
<tr>
<td class="alt1"><script language="javascript" src="http://www.donquijote.org/ext/cont/free_pdd.js.asp"> </script> <br><center><a href="http://www.donquijote.org" target="_NEW">Learn Spanish with don Quijote </a></center>
</td>
</tr>
<tr>
<td class="tcat" align="center">Spanish Lesson of the Week</td>
</tr>
<tr>
<td class="alt2"><script language="javascript" src="http://www.donquijote.org/ext/cont/free_lesson.js.asp"> </script> <br><center><a href="http://www.donquijote.org" TARGET="_new">Learn Spanish with don Quijote </a></center>
</td>
</tr>
</table>
</body>
</html>

3. Finally is there anyway to keep the tabs when people look at subforums?

s810car 12-03-2008 11:46 PM

heres one better, my php info from my test server, but just as a note, the php.ini file is still very untouched since I have just set my server back up last weekend, so my production server is probably a little different, I can get that if you need it. Sorry about the formatting, i just did a quick copy paste, hope you can read it

King Kovifor 12-03-2008 11:54 PM

Quote:

Originally Posted by TomasDR (Post 1678137)
Three questions:
1. With Cache Data does it cache the forums, or forums & threads? Our forums are pretty much set, the last sub-forum added was over a year ago. of course if it caches the last thread, etc. I will pass on turning it on.

2. With adding a module, I am having a problem with one file I have, the content came up but weird, no css and no header/footer.
These files I made using this thread: How to create your own vBulletin-powered page!

The template uses javascript and that's the only difference I see. Other ones where it's pure html or pulling images work fine.

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<body>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"
align="center">
<tr>
<td class="tcat" align="center">Spanish Word of the Day</td>
</tr>
<tr>
<td class="alt1"><script language="javascript" src="http://www.donquijote.org/ext/cont/free_pdd.js.asp"> </script> <br><center><a href="http://www.donquijote.org" target="_NEW">Learn Spanish with don Quijote </a></center>
</td>
</tr>
<tr>
<td class="tcat" align="center">Spanish Lesson of the Week</td>
</tr>
<tr>
<td class="alt2"><script language="javascript" src="http://www.donquijote.org/ext/cont/free_lesson.js.asp"> </script> <br><center><a href="http://www.donquijote.org" TARGET="_new">Learn Spanish with don Quijote </a></center>
</td>
</tr>
</table>
</body>
</html>

3. Finally is there anyway to keep the tabs when people look at subforums?

1. It just caches the data it loads on that page. So it doesn't query your server every time for the updated info.

2. Can you post your module file?

3. Not at this time.

Quote:

Originally Posted by s810car (Post 1678139)
heres one better, my php info from my test server, but just as a note, the php.ini file is still very untouched since I have just set my server back up last weekend, so my production server is probably a little different, I can get that if you need it. Sorry about the formatting, i just did a quick copy paste, hope you can read it

You have display_errors set to On. So that may be why you are seeing it. I'm going to get my php.ini file and see what it looks like.


All times are GMT. The time now is 10:46 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.01258 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete