vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Will pay for someone who can help me solve this issue. (https://vborg.vbsupport.ru/showthread.php?t=29999)

certify 10-10-2001 01:10 PM

It's on the same domain and I've tried to copy homelogin.php codes and paste them into header.php so there is less include but it turns out to have the same result. I've trying to solve this for almost 1 week now with no answer.

Is there anything to do with my server settings? It's on Apache with plesk.

amykhar 10-10-2001 01:12 PM

My point is that this line
Quote:

include("http://www.certifyexpress.com/forum/homelogin.php");
might work if it were this instead:
Quote:

include("forum/homelogin.php");
Amy

certify 10-10-2001 01:35 PM

I got this error

Quote:

Warning: Failed opening '/template/header.php' for inclusion (include_path='.:/usr/local/plesk/apache/lib/php')
when I change to

Quote:

include("forum/homelogin.php");
Path to my header files

Quote:

/usr/local/plesk/apache/vhosts/certifyexpress.com/httpdocs/template
Path to my win2kpro index file

Quote:

/usr/local/plesk/apache/vhosts/certifyexpress.com/httpdocs/microsoft/win2kpro

amykhar 10-10-2001 01:44 PM

you are going to have to modify the include for line for header.php to reflect the directory structure in relation to the homelogin.php file.


I assume it should be something like this:

include "../template/header.php";

I am assuming you have directories like this:

http://www.certifyexpress.com/forum
http://www.certifyexpress.com/template
http://www.certifyexpress.com/win2kpro

Now, if what you really have is

http://www.certifyexpress.com/win2kpro/forum

Then, the include would be

include "../../template/header.php";

Amy (crossing fingers)

amykhar 10-10-2001 02:06 PM

oops. I forgot the microsoft directory. add another ../ to the path. :D

Amy

certify 10-10-2001 02:42 PM

Microsoft index.php file workes. :) But in my template header.php file I keep getting this error

Quote:

Warning: Failed opening '../forum/homelogin.php' for inclusion (include_path='.:/usr/local/plesk/apache/lib/php') in /usr/local/plesk/apache/vhosts/certifyexpress.com/httpdocs/template/header.php on line 92

amykhar 10-10-2001 03:12 PM

you missed a couple of ../../ See my previous posts.

The idea is that you need to browse to the directory that branches off to the forum directory.

Amy

certify 10-11-2001 03:06 AM

Ok I manged to get it working now, thanks to Amy. :)

But now it keep getting this message. :confused:

Quote:

Warning: Cannot add header information - headers already sent by (output started at /usr/local/plesk/apache/vhosts/certifyexpress.com/httpdocs/template/phpheader/beatestheader.php:3) in /usr/local/plesk/apache/vhosts/certifyexpress.com/httpdocs/forum/admin/functions.php on line 1459

BradC 10-11-2001 03:52 AM

just seen this..

I get that header error when I put in html code for the title and everything inside a file..

cause it is already there... hint ($BBname - powered by VB..)

so try to find the <title></title> code and take it out.. see if that helps.

certify 10-11-2001 08:33 AM

Thanks a bunch!! I worked. :D

Now I can sleep .... :)


All times are GMT. The time now is 09:59 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.01004 seconds
  • Memory Usage 1,737KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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