Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Sean Sean is offline
Developer Last Online: Nov 2002 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-21-2002 Last Update: Never Installs: 0
 
No support by the author.

Does anyone know why this gay Plesk server won't let me load global.php? I renamed it and uploaded, didn't work. I created a new file, and put in a variable, names yo.php, included on the same page from the same places, worked FINE!! What tha heck is going on with this global file? When ever I load the page is blank. After including it, no other PHP is parsed. What could be causing this problem? It worked before, but then my CP didn't work (gave me this adminlog() error). I found out it was because the global.php file was from an earlier vB. Uploaded the new global (from 2.2.1) adn then I couldn't include global.php anymore..... What could be going on......

here's the source of my test file:

Code:
<?
echo "Is this working?";
require ('/usr/local/psa/home/vhosts/forums.electron-designs.com/httpdocs/admin/global2.php');
echo "This code WILL NOT parse...";
echo $codeversionnumber;
?>
This page is here: http://g-designs.electron-designs.com/test5.php

If I changed the above to:

Code:
<?
echo "Is this working?";
require ('/usr/local/psa/home/vhosts/forums.electron-designs.com/httpdocs/admin/yo.php');
echo "This code WILL NOT parse...";
echo $var;  //this is in yo.php
?>
It would work just fine!!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-21-2002, 04:04 PM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange maybe but I have some suggestions you may want to try. First off this appears to be a sub domain "forums.electron-designs.com" can you try to change it to this "electron-designs.com/forums" and see if this makes a difference or just try ./global.php. If not is their an .htaccess file in your root? Check to see if one exists and it is hidden so you will have to add the -la to your ftp s/w or if you telnet/SSH in the just do a ls -al at the root directory. If any of this doesn't help then time to talk to your hosting provider.
Reply With Quote
  #3  
Old 01-26-2002, 02:22 AM
Sean's Avatar
Sean Sean is offline
 
Join Date: Nov 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, get this. it's soo funny. When I try to include global.php, to test.php like this: <? require ('global.php'); ?> IT DOESN'T WORK!! Hell, it's even in the same dang directory. i changed the permissions to 755, nothing! WTF IS GOING ON?!? :cry:
Reply With Quote
  #4  
Old 01-26-2002, 02:27 AM
Sean's Avatar
Sean Sean is offline
 
Join Date: Nov 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AHHH, I was loading teh wrong global file!! ahhh!! LOL
Reply With Quote
Reply


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 09:12 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.05457 seconds
  • Memory Usage 2,227KB
  • Queries Executed 17 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete