vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   when php extension is used, the code gets modified! (https://vborg.vbsupport.ru/showthread.php?t=46265)

glo 12-01-2002 11:16 AM

when php extension is used, the code gets modified!
 
Would it be possible for you to have a look at
www.glo-racing.com/v3/main.html
and view the source code. It is also the code for
www.glo-racing.com/v3/main.php
corrupts the code.

I dont know why it is doing this at all. The html code is fine because it all work in the .html file except for the php parts,

Wehre as in main.php the page is only partially shown and i cant even see any php script being active on the page!

Your help is greatly appreciated.

JulianD 12-01-2002 03:54 PM

It looks like your server isn't parsing PHP files.

Go to your extra's directory and use the file phptest.php or phpinfo.php to see if PHP is installed and working properly.

glo 12-01-2002 07:24 PM

<a href="http://www.glo-racing.com/forums/phpinfo.php" target="_blank">http://www.glo-racing.com/forums/phpinfo.php</a>

this is my php info page.

I am not sure what to look for to see if its not set up properly.

I might add that the vB forums work fine, its just the hacks that i cant get to work!!!

Dark_Wizard 12-01-2002 08:57 PM

Post your main.php file so we can look at it.

Erwin 12-01-2002 09:05 PM

If we can look at the PHP source code, then something is wrong, as PHP should be parsed into HTML.

glo 12-02-2002 05:33 AM

1 Attachment(s)
view the source code of the main.html file; the code is indentical to main.php .

I have also attached it to this post.


All times are GMT. The time now is 10:47 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.03260 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete