![]() |
Quote:
As you guessed the way around that is to hack the vB code. Quote:
|
Warning: chdir(): No such file or directory (errno 2) in xxxxxx/xxxx/index49.php on line 59
Warning: main(/forums/global.php): failed to open stream: No such file or directory in xxx/xxx/xxx//index49.php on line 60 Fatal error: main(): Failed opening required '/forums/global.php' (include_path='.:/usr/local/lib/php') in /xxx/xxx/xxx/xxx/index49.php on line 60 |
Quote:
See step two in the troubleshooting guide. https://vborg.vbsupport.ru/showpost....79&postcount=2 From those errors it appears that your path is entered wrong. |
I have been trying to use this hack on my site, but I dont know where to place the code...
This is the code for my site, so please help me! Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
Quote:
PHP Code:
Fill in your info where there is RED. |
Ok I knew where to put that, but its the restricting bit I cant do...
PHP Code:
I want it so that the page is viewable to people that are logged in, but not to people that arent.. |
|
Thats not what I'm trying to do... I have a different design for the site, and just want to use the login system, so users dont have to register on two different sites..
This hack does that, but I just dont know how to use the php code in my last post.. |
Quote:
For example this bit here Code:
<div id="welcome" class="post"> Code:
<?php If you have not used PHP/HTML togeather before you really should do a couple of online tutorials on it. Its a little confusing at first, but not hard to pick up the basics (which is all you need for this) |
Thankyou SO MUCH BILL!!!
Adding the \'s in the right places made it work!! I cannot thankyou enough.. I might make a donation =] |
All times are GMT. The time now is 03:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|