Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #11  
Old 10-10-2001, 01:10 PM
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #12  
Old 10-10-2001, 01:12 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #13  
Old 10-10-2001, 01:35 PM
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #14  
Old 10-10-2001, 01:44 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #15  
Old 10-10-2001, 02:06 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Amy
Reply With Quote
  #16  
Old 10-10-2001, 02:42 PM
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #17  
Old 10-10-2001, 03:12 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #18  
Old 10-11-2001, 03:06 AM
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

But now it keep getting this message.

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
Reply With Quote
  #19  
Old 10-11-2001, 03:52 AM
BradC
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #20  
Old 10-11-2001, 08:33 AM
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a bunch!! I worked.

Now I can sleep ....
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:13 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.05696 seconds
  • Memory Usage 2,247KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete