so i shouldnt put anything for the password???? damn im getting confused
|
I didn't put a password and it works great :) if that's any help at all LOL
|
Quote:
|
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 |
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 |
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 :)
|
This was a GREAT thread, thank you!
|
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:
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? |
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 |
ok, so now i'm using:
PHP Code:
now my only problem is that i get this error: Quote:
PHP Code:
|
Quote:
|
No you can't use single quotes. It has to be double quotes. You don't have have the $page variable set. That's why it's not working buddy ;)
|
thanks :)
eDiT: hey bastard :D |
Quote:
@kill_emma: heya prick:p ;) |
Cut that out both of you :)
Steve you can't single quote a variabe inside a function. Single quotes = complete parsing as text. Double quotes = parsing text + variables :) |
Ah right, I didn't see that variable in there.
|
hah, did i not tell you such things bastard?
|
Yead m, but i dints likook at the code mcuhn
|
Quote:
|
sorry, lol. it wasnt meant as a rude remark, its our uninomial nomenclature, or private nicknames if you will. i change my name alot and it's our way of knowing who we are ;)
|
YEAH, Its a nick anme, mist, chilolll out man
|
-_- dude, dont post uness your sober, it makes you look really stupid when you dont.
|
don tlel e hjow to ack m
m |
Thanks, I'm on xp - followed your directions and it all worked perfectly despite knowing zero about Apache, MySQL and Php.
|
Forget the post.. it was an error on my pc..
|
you could do this but then you can always get a server with PHP, MySQL& perl preinstalled
http://bandit.myftp.org/gts its called Fireserv...i use it... |
i think it's pretty much useless to keep mentioning software that will do it for you. this thread is to tell users how, and provide support if it doesnt work.
|
Thanks Emma. :)
|
Btw Floren - remember sometime ago we trivialised on msn on how to get this working on my machine. It was to do with a proxy in internet explorer and my firewall. I actually installed apache2, php + mysql on my laptop the other week :)
|
THis might be the wrong place for this but we will see i followed you instructions and I think got everything setup right with apache, php, and Mysql. But then when I try to install forum i get errors
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in C:\Network\Apache2\htdocs\forum\includes\db_mysql. php on line 333 Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in C:\Network\Apache2\htdocs\forum\includes\db_mysql. php on line 334 Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in C:\Network\Apache2\htdocs\forum\includes\db_mysql. php on line 133 I pretty sure i got config file set up right $servername = '192.168.1.100'; <<< also tried local host $dbusername = 'root'; $dbpassword = 'password'; $dbname = 'vbulletin'; Now the ? is what am i doing wrong |
For the servername try 127.0.0.1 or localhost
|
tryed localhost and 127.0.0.1 same results thanks for reply
|
make sure you check dbmysql.php on the specified lines, so that you get an idea of why you are getting the errors. if you cant find it from there, then make sure that your mysql is running, or possibly restart apache. beyond that, you may have to reinstall the entire thing.
|
I got it going thanks for all the help.
|
Im using php Triad and yeah i know its very very old :p But for some reason vb3 and vb2 etc work fine on it. Is it still ok to use do you think?
|
i would just uninstall triad, not only because you use the old version, but because installing it yourself helps you learn, which means that it will be easier for you to troubleshoot, instead of comming here ^_^
|
Plus, if you ever plan on learning PHP, older version don't have as many functions as the current ones.
|
Quote:
Josh |
I got my problem fixed by using -uroot -p [nothing] to log into mysql :) Thanks for the awesome tutorial on how to install all of this stuff Teck!
|
02. Go to your Apache conf file (C:\Network\Apache2\conf\httpd.conf) and find:
#LoadModule ssl_module modules/mod_ssl.so BELOW this, add: LoadModule php4_module c:/network/php/sapi/php4apache2.dll 03. Still in httpd.conf, find: AddType application/x-tar .tgz BELOW this, add: AddType application/x-httpd-php .php 04. Still in httpd.conf, set the files that Apache will serve if a directory is requested. Find: DirectoryIndex index.html index.html.var REPLACE it with: DirectoryIndex index.php index.html index.php.var index.html.var Could not find the following codes in the file so i couldnt do the step :s any ideas? |
All times are GMT. The time now is 01:48 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|