vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Create your own vBulletin page (https://vborg.vbsupport.ru/showthread.php?t=228112)

Lynne 12-19-2009 06:17 PM

Quote:

Originally Posted by turtile (Post 1933638)
Yes

First, make sure the path is correct - it should be the full path to your vb forums directory.

Check your error_logs (if you don't know where they are, ask your host) to see if anything is in there.

turtile 12-19-2009 06:45 PM

Quote:

Originally Posted by Lynne (Post 1933649)
First, make sure the path is correct - it should be the full path to your vb forums directory.

Check your error_logs (if you don't know where they are, ask your host) to see if anything is in there.

the forum.php file is located @ unusualplants.net/forums/

(I'm not sure which time this is set on)


For PHP:
/home1/riptidep/public_html/unusualplants/error_log:
[19-Dec-2009 17:45:25] PHP Warning: require_once(./global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home1/riptidep/public_html/unusualplants/index.php on line 27
[19-Dec-2009 17:45:25] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/riptidep/public_html/unusualplants/index.php on line 27

Thanks for all of your help

Lynne 12-19-2009 06:49 PM

It looks like you didn't do your chdir correctly. You need to do the FULL path:
PHP Code:

chdir ('/path/to/your/forums'); 


ExTincTi0N 12-19-2009 07:35 PM

Okay Lynne I am in need of your assistance.

https://vborg.vbsupport.ru/external/2009/12/33.png

How do i get it so that the nav button "Game Nights" is selected?

Lynne 12-19-2009 07:44 PM

If you defined THIS_SCRIPT at the top of your page, you should use it in your condition for your tab. You should post for help regarding this in the thread where you got the tab code.

ExTincTi0N 12-19-2009 07:56 PM

Thanks for the help lynne, and next time I will say which one i used, btw it was yours lol.

turtile 12-19-2009 07:58 PM

Quote:

Originally Posted by Lynne (Post 1933674)
It looks like you didn't do your chdir correctly. You need to do the FULL path:
PHP Code:

chdir ('/path/to/your/forums'); 


I tried:
Code:

chdir('/home1/riptidep/public_html/unusualplants/forums');
...and still a blank page.

I don't get anything in the error log either.

Lynne 12-19-2009 08:26 PM

And is your template named INDEX (*exactly* - capital letters too).

turtile 12-19-2009 08:34 PM

Quote:

Originally Posted by Lynne (Post 1933721)
And is your template named INDEX (*exactly* - capital letters too).

I had it as index. Works perfect - thanks a lot!

I.am 12-21-2009 05:02 PM

Have you tried to validate it? http://validator.w3.org/


All times are GMT. The time now is 01:55 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02200 seconds
  • Memory Usage 1,742KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (4)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