vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBadvanced Homepage (https://vborg.vbsupport.ru/showthread.php?t=59803)

DWard 04-06-2004 04:39 PM

Hey guys, Ive tried installing,b ut I get this error, looked over what other people have said but still cant fix this:

Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/httpd/vhosts/collegepranks.co.uk/subdomains/community/httpdocs/includes/functions.php on line 1864

Fatal error: Call to undefined function: exec_nocache_headers() in /home/httpd/vhosts/collegepranks.co.uk/subdomains/community/httpdocs/admincp/global.php on line 37

Please, what do I do?? I don't have much time to get this fixed.

Zachery 04-06-2004 04:58 PM

Quote:

Originally Posted by DWard
Hey guys, Ive tried installing,b ut I get this error, looked over what other people have said but still cant fix this:

Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/httpd/vhosts/collegepranks.co.uk/subdomains/community/httpdocs/includes/functions.php on line 1864

Fatal error: Call to undefined function: exec_nocache_headers() in /home/httpd/vhosts/collegepranks.co.uk/subdomains/community/httpdocs/admincp/global.php on line 37

Please, what do I do?? I don't have much time to get this fixed.

You didnt hack your files correclty, upload default ones and i suggest trying again, dont edit them with somthing like dreamweaver or Microsoft Word, use somthing simple like wordpad.

DWard 04-06-2004 05:23 PM

Ok, now ive got it all installed and set it up in acp, but now i get this on the adv_index page:

Code:

Warning: main(): open_basedir restriction in effect. File(./global.php) is not within the allowed path(s): (/home/httpd/vhosts/collegepranks.co.uk/httpdocs:/tmp) in /home/httpd/vhosts/collegepranks.co.uk/httpdocs/adv_index.php on line 77

Warning: main(./global.php): failed to open stream: Operation not permitted in /home/httpd/vhosts/collegepranks.co.uk/httpdocs/adv_index.php on line 77

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/collegepranks.co.uk/httpdocs/adv_index.php on line 77


ChuanSE 04-07-2004 05:55 AM

DWard, i guess that is your apache who's settings are conflicting

Vonedaddy: i think that is because the lines to search for can be slightly different from the ones that where to find before vB gold. Look for a similar line ;)

Xer 04-08-2004 02:39 PM

How to do in navbar template to change "Forums" and "Home" link when in adv_index page and forumhome page?

Picture shows as below :sleep:

Thanks

DivisionByZero 04-08-2004 02:48 PM

check out my site, www.chatboxx.net, and see if my navbar is fixed the way you'd like it.

Littlebit 04-08-2004 03:18 PM

Quote:

Originally Posted by Xer
How to do in navbar template to change "Forums" and "Home" link when in adv_index page and forumhome page?

Picture shows as below :sleep:

Thanks

Hi Xer,
Look in your navbar template for:
HTML Code:

<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
And replace that with:
HTML Code:

<td class="vbmenu_control"><if condition="[size=2]THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]?$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </if></a></td>[/size]
That should do it :)

Lurk 04-08-2004 10:03 PM

I don't know why this is happening, because it doesn't happen anywhere else..

vBadvanced doesn't keep users logged in.. until they visit the forums then go back to the vBadvanced..
Users don't stay logged in unless they:
visit forums
THEN visit vBadvanced

It works sometimes, but not all the time.. anyone can help?

Zachery 04-08-2004 10:29 PM

Quote:

Originally Posted by LurkCorp
I don't know why this is happening, because it doesn't happen anywhere else..

vBadvanced doesn't keep users logged in.. until they visit the forums then go back to the vBadvanced..
Users don't stay logged in unless they:
visit forums
THEN visit vBadvanced

It works sometimes, but not all the time.. anyone can help?

They need to clear their cookies, there cookies have become crupted

Xer 04-09-2004 12:49 AM

Quote:

Originally Posted by Littlebit
Hi Xer,
Look in your navbar template for:
HTML Code:

<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
And replace that with:
HTML Code:

<td class="vbmenu_control"><if condition="[size=2]THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]?$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </if></a></td>[/size]
That should do it :)

i got this error, when pasted the code you gave me :dead:

Quote:

Parse error: parse error, unexpected '[' in /home/www/a040331/html/forum/includes/adminfunctions_template.php(3037) : eval()'d code on line 92
thanks for the help


All times are GMT. The time now is 10:31 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.01856 seconds
  • Memory Usage 1,751KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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