vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbHome (lite) - your vBulletin(powered) main homepage (https://vborg.vbsupport.ru/showthread.php?t=36756)

Gary King 07-28-2003 03:20 PM

Quote:

Today at 05:57 AM 21productionz said this in Post #3109
I found out why i got the error it was stupididty on my part. But I'm still confused about the user friendlyness of this prog.

I can't figure out (probably cause it's 3 in the morning and I been going at it for 3 days str8 with little sleep) how to customize the page.

I'm good with html but php fries my brain.

You can simply customize the main template, which should be the first template in the Home Page Templates set.

cindyd 07-28-2003 07:43 PM

I just installed this hack and I am now getting a Warning and Fatal Error message:

Quote:

Warning: main(./forum/admin/config.php): failed
to open stream: No such file or directory in
/home/glassmav/public_html/forum/global.php on line
744
Fatal error: main(): Failed opening required './forum/admin/config.php'
(include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/glassmav/public_html/forum/global.php on line
744
PHP Code:



 
Initialize script  // +----------------------------
require_once( './' $adminpath '/config.php' );----> this is line 744
 
if ( $debug != 
 {      unset( 
$showqueries );  
    unset( 
$explain );  } 

My whole board is down at the moment, how do I fix this? Thanks for the help.

Gary King 07-28-2003 07:49 PM

Quote:

Today at 04:43 PM cindyd said this in Post #3112
I just installed this hack and I am now getting a Warning and Fatal Error message:



PHP Code:



 
Initialize script  // +----------------------------
require_once( './' $adminpath '/config.php' );----> this is line 744
 
if ( $debug != 
 {      unset( 
$showqueries );  
    unset( 
$explain );  } 

My whole board is down at the moment, how do I fix this? Thanks for the help.

Remove the ./ in that line.

cindyd 07-28-2003 07:58 PM

Hi Gary:

I removed the './' but the error still comes up.....that's the part you meant, right?

I was left with this:

PHP Code:

require_once(  . $adminpath '/config.php' ); 


Gary King 07-28-2003 08:01 PM

Replace the line with this:

PHP Code:

require_once( 'admin/config.php' ); 


cindyd 07-28-2003 08:10 PM

OK, I did that, now I am getting the same error message about this line:

PHP Code:

require_once( './' $adminpath '/db_' $dbservertype '.php' ); 


Gary King 07-28-2003 08:31 PM

Replace with
PHP Code:

require_once("admin/db_".$dbservertype.".php"); 


cindyd 07-28-2003 08:43 PM

I've done that, but now the page looks very strange.

The screen shot is of the forum "main page" I guess, and the second shot is of my private forum area.

The banners are missing, the templates I have are wrong, the link buttons at the top are wrong.

Do I have to make these adjustments, within the templates I uploaded? They were all custom.

cindyd 07-28-2003 09:01 PM

I have a private section on my board and I see under Latest Forum Discussions, threads from that board are showing! Yikes.

cindyd 07-28-2003 09:49 PM

I had to uninstall this, would someone tell me what I have to do to get my templates back the way they were?

I reuploaded the template.php that I had saved, but that didn't do it.

How do I delete all those "home" templates?


All times are GMT. The time now is 05:11 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.03759 seconds
  • Memory Usage 1,753KB
  • 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
  • (6)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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