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)

Marzas 06-30-2003 08:47 AM

I keep getting this error, i have tried to install/re-install
i followed all the instuction there, mysql seems to be started, php is working. I have Apache 2.0.4 and mysql 4.0.13 and php 4.3.2

this is the error

Warning: mysql_pconnect(): Access denied for user: 'root@localhost' (Using password: YES) in C:\Network\Apache2\htdocs\forum\admin\db_mysql.php on line 38

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\Network\Apache2\htdocs\forum\admin\db_mysql.php on line 47

no matter what i do, change database, new password, i even thought it to be my firewall, i took it down, restarted a 100 times, no matter what it doesnt work.

please i need help

cheerz

marzas

Marzas 06-30-2003 08:48 AM

I keep getting this error, i have tried to install/re-install
i followed all the instuction there, mysql seems to be started, php is working. I have Apache 2.0.4 and mysql 4.0.13 and php 4.3.2

this is the error

Warning: mysql_pconnect(): Access denied for user: 'root@localhost' (Using password: YES) in C:\Network\Apache2\htdocs\forum\admin\db_mysql.php on line 38

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\Network\Apache2\htdocs\forum\admin\db_mysql.php on line 47

no matter what i do, change database, new password, i even thought it to be my firewall, i took it down, restarted a 100 times, no matter what it doesnt work.

please i need help

cheerz

marzas

Dean C 06-30-2003 10:52 AM

Look through the last few pages and there are easier alternatives with no such errors :) ^^

Phpdev is what i'm referring to

- miSt

TWTCommish 07-08-2003 01:30 AM

I don't suppose anyone has a PHPTriad-style solution to installing the GD image-manipulation extensions?

Kane Da Don 07-08-2003 04:25 AM

Quote:

06-23-03 at 09:26 PM Salazar said this in Post #319
Hello!

I did exactly as you described, but I have a problem:

It worked until step 2 of the installation script.

I used the following:

server: localhost
hostname: localhost
username: root
password: password
db-name: vbulletin (I created this database with phpmyadmin)


BUT, it says:



What have I done wrong?

just giving a guess here because i had that problem some wat like that to but once i installed php4 it worked fine so it may but be that you dont have php4 installed on your localhost

mitomcua 07-10-2003 06:17 AM

Hi guys,

If i connect to my testboard at http://localhost/forum/index.php everything works Great !

However if i use my dns http://mitomcua.myftp.org/forum/index.php everything works fine except for the : Option (Vbulletin options) in the Admin cp, when i click on it and i can see the screen flashing very quick but it end up "the page can not be displayed "?
I dont know what i did wrong....




Can some one help me to look into this?

Thanks,
M

mitomcua 07-10-2003 09:24 PM

Anyone? I cant figure this out? please help

Thanks,
M

CBGrafix 07-30-2003 08:36 PM

my MySQL doesn't work ?_?'

I have tried a lot to get it to work, followed the instructions exactly.

I used a mysql test file to check it.

here is the error

Quote:

Fatal error: Call to undefined function: mysql_connect() in C:\Network\Apache2\htdocs\mysqltest.php on line 9
the coding i used


PHP Code:

<html>
<head>
<title>MySQL Test</title>
</head>
<body>
<h2>

<?php
   $connection 
mysql_connect("localhost","root","password")
   or die(
"Sorry - unable to connect to to MySQL");
   echo(
"Congratualations - you connected to MySQL");
?>

</h2>
</body>
</html>


CBGrafix 07-30-2003 08:37 PM

my MySQL doesn't work ?_?'

I have tried a lot to get it to work, followed the instructions exactly.

I used a mysql test file to check it.

here is the error

Quote:

Fatal error: Call to undefined function: mysql_connect() in C:\Network\Apache2\htdocs\mysqltest.php on line 9
the coding i used


PHP Code:

<html>
<head>
<title>MySQL Test</title>
</head>
<body>
<h2>

<?php
   $connection 
mysql_connect("localhost","root","password")
   or die(
"Sorry - unable to connect to to MySQL");
   echo(
"Congratualations - you connected to MySQL");
?>

</h2>
</body>
</html>


assassingod 07-30-2003 08:46 PM

Try this;

PHP Code:

<?php 
$user 
"root";
$connection mysql_connect"localhost"$user"password" );
if(
$connection) {
$msg="Connected to MySQL, $user";
} else {
$msg="Failed";
}
?>
<html> 
<head> 
<title>MySQL Test</title> 
</head> 
<body> 
<h2> 

<?php 
echo("$msg");
?> 
</h2> 
</body> 
</html>


CBGrafix 07-31-2003 12:10 PM

nope, that didn't work =/
seems like it doesn't know mysql is installed..i'll redo it again, see what happens then.

assassingod 07-31-2003 12:15 PM

Yeah, I don't think you've installed MySQL properly 'cos it worked for me.

CBGrafix 07-31-2003 05:02 PM

i have it working, in the end i used phpDev5 :)

FilmoreSlim 08-02-2003 02:55 AM

Awesome post .. very insiteful, thanks so much. It works without a hitch :nervous:

Hialls 08-05-2003 03:05 PM

great idea this, although can i legally run a test server on my pc, and 1 on my website..

Hialls 08-05-2003 03:06 PM

great idea this, although can i legally run a test server on my pc, and 1 on my website..

xQuEeNzNaZcHox 08-28-2003 02:26 PM

Attempting to attach to database...

Warning: mysql_pconnect(): Access denied for user: 'root@localhost' (Using password: YES) in C:\Network\Apache2\htdocs\forum\admin\db_mysql.php on line 38

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\Network\Apache2\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

groovesalad 08-30-2003 05:43 PM

I get this:

You are not running PHP - Please contact your system administrator.

When I go here:

http://localhost/forum/admin/install.php

Any ideas?

hagan 08-31-2003 08:32 AM

I have the prob that when calling my index.php it will not show up in the explorer.Instead of this i get the directoryview and a popup for downloading the php file.

Anyone an idea ?

hagan 08-31-2003 08:40 AM

Restarted Apache and works now.No prob anymore.

assassingod 08-31-2003 08:55 AM

Quote:

08-28-03 at 04:26 PM xQuEeNzNaZcHox said this in Post #337
Attempting to attach to database...


Warning: mysql_pconnect(): Access denied for user: 'root@localhost' (Using password: YES) in C:\Network\Apache2\htdocs\forum\admin\db_mysql.php on line 38

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\Network\Apache2\htdocs\forum\admin\db_mysql.php on line 47

Try not using a password.

assassingod 08-31-2003 08:55 AM

Quote:

Yesterday at 07:43 PM groovesalad said this in Post #338
I get this:

You are not running PHP - Please contact your system administrator.

When I go here:

http://localhost/forum/admin/install.php

Any ideas?

You havent installed PHP properly, try re-installing it.

hagan 08-31-2003 10:45 AM

I cant connect to mysql on localhost.
i tried it with phpmyadmin and a php file with a mscql connect script.
Mysql says access denied.

But username and password are correct in both, the php script and the PHPmyadmin config file.

Anyone an idea ?

groovesalad 08-31-2003 03:28 PM

Quote:

Today at 10:55 AM assassingod said this in Post #342
You havent installed PHP properly, try re-installing it.
I've done all of this:


PHP Binary INSTALLATION
01. Extract the contents of PHP .zip file to C:\Network\Php folder.

02. Copy the 'C:\Network\Php\php.ini-dist' file to your %SYSTEMROOT% directory (C:\WINDOWS for winXP; C:\WINNT for win2K).
In %SYSTEMROOT% folder, rename php.ini-dist to 'php.ini' and open it.

03. In php.ini, you will need to set the 'doc_root' to point to your web server(apache) document_root, like below:
; The root of the PHP pages, used only if nonempty.
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
; if you are running php as a CGI under any web server (other than IIS)
; see documentation for security issues. The alternate is to use the
; cgi.force_redirect configuration below
doc_root = "c:\network\apache2\htdocs"

04. Still in php.ini, change the 'extension_dir' setting to point to your php-install-dir, like below:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:\network\php"

05. Still in php.ini, change the 'mail function' setting to point to your ISP, like below:
[mail function]
; For Win32 only.
SMTP = smtp.myisp.com
; For Win32 only.
sendmail_from = johndoe@myisp.com

06. Save and close the php.ini file.

07. In C:\Network\Php folder, find php4ts.dll file. Move it to the %SYSTEMROOT%\system32 folder.

NOTE: Make sure you MOVE that file, DO NOT copy it only.


is there something else I need to be doing? I never actually double clicked an install.exe on PHP, do I have do download the Windows Installer and actually install it? Or does unzipping it to a certain folder, moving and copying a few files in my Windows directory do the trick? If so, PHP still isn't working for me.

assassingod 08-31-2003 03:32 PM

I never used TECKs guide so I can't help any further. You may have to configure apache to work with PHP.

blakkboy 09-12-2003 02:31 AM

sry for not screening all pages for this but....

could this be done on windows me??????

Dean C 09-12-2003 06:46 AM

Quote:

Originally Posted by blakkboy
sry for not screening all pages for this but....

could this be done on windows me??????

I would have though so yes :)

Side note: I installed apache2 and php4 on xp pro about a week ago without using this tutorial. It's pretty easy :)

blakkboy 09-12-2003 03:58 PM

damn i cant even find my system root directory

i have windows me and it should be C:/WINDOWS but i cant find it, can someone help me out or point me to help

Dean C 09-12-2003 05:40 PM

Go to Start > Run and type in:

%SYSTEMROOT%

It should take you there :)

blakkboy 09-12-2003 11:56 PM

nope it didnt do that for me.. im running windows me

blakkboy 09-13-2003 06:02 AM

Quote:

06. Restart Apache Server.
ok i got all this figured out... except how to restart the server...??? can someone tell me how to restart the Apache server

SonicB 09-13-2003 09:41 AM

I have everything installed and working . Only problem im having is connecting to the VB data base it keeps giving me

Quote:

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.
Any ideas ?

SonicB 09-13-2003 09:46 AM

Fixed :)

blakkboy 09-15-2003 01:54 AM

i still need to know how to restart the apache server in step 6

blakkboy 09-15-2003 03:27 AM

can someone with some time on there hands pm me and drop an aim so i can contact you so that someone can help me step by step installing this

blakkboy 09-16-2003 02:01 AM

how do i fill in these

Database server type: ????????????

Database server hostname / IP address: localhost (?)

Database username: my username

Database password: my password

Database name: vbulletin

Technical email: my email

i dont know the server type

Dean C 09-16-2003 09:58 AM

As you would with your normal site. Just changing the username,pass and database name and technical email :) ^^

blakkboy 09-16-2003 05:28 PM

what would be the server type though...... MySQL???

blakkboy 09-16-2003 05:49 PM

whats this mean

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: Access denied for user: 'root@localhost' (Using password: YES) in c:\apache\htdocs\forum\admin\db_mysql.php on line 38

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

Dean C 09-17-2003 02:51 PM

That means you have the wrong password for mysql :)

But you don't need a password on root btw unless you manually set one using a GRANT query :)


All times are GMT. The time now is 01:45 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.02212 seconds
  • Memory Usage 1,833KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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