vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   external intergration error php help. (https://vborg.vbsupport.ru/showthread.php?t=176340)

CommanderFluffy 04-16-2008 02:25 PM

external intergration error php help.
 
hi i had installed https://vborg.vbsupport.ru/showthread.php?p=1492172 and when i go and implement it into my own php files with its own globals i get an error

"header already sent" and what not when all my globals hold is the link to my css file. is there a way to get css to work in this without the error showing up.

Lynne 04-16-2008 02:29 PM

If you have a question regarding a modification, the best place to ask is in the modification thread since they know the code best and are most familiar with any errors or modifications you may want.

CommanderFluffy 04-16-2008 02:35 PM

this error has also hapened with other external mods. anything that references to vbulletin gives me this error

Opserty 04-16-2008 02:46 PM

Common causes normally include some kind of (html or otherwise) output from the script.

CommanderFluffy 04-16-2008 02:51 PM

the only html exported from my own global script is a link to the css files. ive taken out my css completely to see what would happen but then it messed up my background images that link to the css but the php from vbulletin was woring fine. anyone know how to get the css into a php script so these errors do not occur?

Opserty 04-16-2008 02:55 PM

This was taken from the modification thread:
Quote:

Here are some common causes and fixes.

Headers already sent or cookies already sent errors. Chances are that there is something, even just a space before the 4 lines of code in part 1. Edit this and ensure that there are no spaces before it.
If you can't fix it then you'll have to wait for a reply in the modification thread.

CommanderFluffy 04-16-2008 02:58 PM

thanks for the help ill try that out. if that doesnt work ill have no idea.

nighthalk 04-16-2008 02:59 PM

Just put your css into the extra css fields in the style options.
Your trying to out put headers by adding the link to your css code and vbulletin already sent the headers.

CommanderFluffy 04-16-2008 03:01 PM

oh i never thought about that. definately going to try that one out.

nighthalk 04-16-2008 03:04 PM

I'm pretty sure that will work.


All times are GMT. The time now is 03:32 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.02402 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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