vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Tutorial: How to run vBulletin onto your PC (https://vborg.vbsupport.ru/showthread.php?t=39482)

blakkboy 09-17-2003 07:16 PM

so i shouldnt put anything for the password???? damn im getting confused

Azhrialilu 09-21-2003 10:24 AM

I didn't put a password and it works great :) if that's any help at all LOL

Dean C 09-21-2003 01:35 PM

Quote:

Originally Posted by blakkboy
so i shouldnt put anything for the password???? damn im getting confused

Yes :)

blakkboy 09-21-2003 10:10 PM

i get this now when chossing the updating config.php on the install page

Warning: Unlink failed (No such file or directory) in c:\apache\htdocs\forum\admin\install.php on line 305

Attempting to attach to database...

Warning: Can't connect to MySQL server on 'localhost' (10061) in c:\apache\htdocs\forum\admin\db_mysql.php on line 32

Warning: Supplied argument is not a valid MySQL-Link resource in c:\apache\htdocs\forum\admin\db_mysql.php on line 47

The database has failed to connect because you do not have permission to connect to the server. Please go back to the last step and ensure that you have entered all your login details correctly.

Click to go to the vBulletin website

Spyke1 09-28-2003 05:01 PM

i prefer using phpdev5

http://www.firepages.com.au/

Download, Install, Start Apache And Mysql The Upload The Vbulletin Fies, Use PHP My Admin To Make A Database And Install.

its easier, just 1 download and 1 install

Dean C 09-28-2003 06:02 PM

I used to use phpdev but it's no longer updated. They use old versions of php, mysql and apache. It's far better to install manually :)

chrisvonc 10-04-2003 02:44 PM

This was a GREAT thread, thank you!

kill_emma 10-04-2003 06:38 PM

alright, here's my problem.

i used this thread to dev my php site, and so far it's working, i wrote a news script, and that all works fine. until i noticed one problem.

PHP Code:

<?php  
 
if ($page != ""
 {  
 include (
"$page.html");  
 } 
 else
 {
 include(
"news/news.php"); 
 }
 
?>

if you know anything about php, you know what that does. my problem is, when i go to index.php?page=stuff, it's still giving me news/news.php, no change. at all.

so to troubleshoot this problem, i installed apache2triad. the code works. i tryed reinstalling the localhost using this thread. no change, the problem is still there.

can someone help?

Dean C 10-05-2003 10:40 AM

You probably have register globals turned off. You can't use $action = page to create a query string. You need to use $_REQUEST['page'] == 'whatever'

- miSt

kill_emma 10-05-2003 12:17 PM

ok, so now i'm using:

PHP Code:

            <?php  
                 
if ($_REQUEST['page'] != "")
                {  
                     include (
"$page");  
                 } 
                 else
                 {
                     include(
"news/news.php"); 
                 }
             
?>

this is an improvment. now the page changes when i go to index.php?page=stuff
now my only problem is that i get this error:
Quote:

Warning: main(): Failed opening '' for inclusion (include_path='.;c:\php4\pear') in C:\network\Apache2\htdocs\index.php on line 39
line 39 is
PHP Code:

                     include ("$page"); 



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.01694 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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