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)

Aerith_Freak 09-06-2002 03:10 PM

Apache does not work on my OS, it says that there are no listening sockets available. PHP and mySQL work fine but the Apache Server will never start.

TECK 09-06-2002 11:09 PM

it helps if you let us know what os you run.
turn off you firewalls before installing. i get you have norton installed...

omegauk 09-07-2002 04:56 PM

I did everything as described but when I call for Http://localhost nothing comes up. any ideas why?

TECK 09-07-2002 05:06 PM

before you do restart apache, double check all the steps, very carefully. dont take it for granted, ok i did this, i'm sure. this is where alot of people do mistakes...
let me know how it went.

omegauk 09-07-2002 06:33 PM

Few problems:

1. First, it will ask you to enter a new username and password. Enter the following information:
Username: root
Password: password

It didnt ask me nothing at all.

2. When I try restarting apache server I get an error saying " could not complete request"

TECK 09-07-2002 06:36 PM

1. you are talking about the mysql install right? that's because you did it several times.
go to your /windows or /winnt folder and delete the my.ini file then uninstall-reinstall mysql and apache.

omegauk 09-07-2002 07:42 PM

Quote:

Originally posted by TECK
1. you are talking about the mysql install right? that's because you did it several times.
go to your /windows or /winnt folder and delete the my.ini file then uninstall-reinstall mysql and apache.

That worked, Thanks. Is there a way to upload a database to it.
I need to tranfer one of my forums there.

TECK 09-07-2002 07:45 PM

follow the BACKUP/RESTORE PROCEDURE listed on the first post.

omegauk 09-07-2002 07:47 PM

ok I just saw it, many thanks. :)

omegauk 09-07-2002 08:25 PM

When I go to my forum/index.php I get a prompt to download the file but the actual page does not come up? I am trying to restore a backup of my live forum onto it, do I need to install a copy of vb first?

also the backup file is 16mb size.

omegauk 09-07-2002 10:14 PM

I tried installing Vb and i get this message:

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

TECK 09-07-2002 10:24 PM

before you attempt anything, just make sure you restart your apache. also, make a index.php file with the content:
<?php phpinfo(); ?>

when you get it to load that page, you installed corectly everything.
until then, i cannot help you much. please keep in mind that this tutorial was installed by alot of people. it's a little tricky sometimes but if you follow at letter all the instructions, it works flawlessly.

omegauk 09-07-2002 10:30 PM

I did that and this is what I got:

First it prompted me to save the index.php
Then it was a blank page, also when I restarted apache it said: " The requested operation had failed! "

omegauk 09-07-2002 10:31 PM

How can I just remove all the installations and start again step by step?

TECK 09-08-2002 06:26 AM

PHP 4.2.3 released. It fixes a huge list of bugs!! Make sure you update your files.
link is on the first post as usual...

snyx 09-17-2002 10:21 PM

hummmm, I have done it twice now.. and each time I get nothing showing up at http://localhost/ just dsn error?

my windows2k dir is winnt if that matters..

I got all servers running, and greenlight on mysql? huh..
ideas thx boys...

-myles

TECK 09-18-2002 09:29 AM

download the latest snapshot of php 4.3
that fixed all the probs for me. :)

http://snaps.php.net/win32/php4-win32-latest.zip

spittingangels 09-22-2002 03:34 AM

Quote:

Originally posted by Aerith_Freak
Apache does not work on my OS, it says that there are no listening sockets available. PHP and mySQL work fine but the Apache Server will never start.
if you are running win2k or winxp, check to see if IIS (internet information services) is installed running, if it is, remove it via add/remove programs>windows components then uninstall and reinstall apache. this is also good advice if you follow the tutorial precisely and don't get localhost to show up--check for IIS, especially if localhost calls a microsoft page in your browser instead of apache.


Quote:

Originally posted by Mystics
With adding this to your admin/config.php you can fix the Cookie problem with vBulletin:
PHP Code:

define('USE_COOKIE_WORKAROUND'1); 


from my experience, i had this problem and added this code and it didn't work at first...just an addition...this code should be placed at the beginning of the file, before this code:

PHP Code:

// type of database running 

i tried initially to put it at the end of the file, not knowing where to place it and apparently it doesn't work there, just about every new page i called in the browser asked me to log in again. at the beginning of the file, it works great. might save someone else some extra troubleshooting.

mli 09-24-2002 06:24 PM

I have a problem. I downloaded the Triad one because Nakkid's instructions simply didn't work. Well my server worked fine, but now it doesn't work. So I installed again. And I can't edit the MySQL Database and the php files don't work. It can't access the database I guess.

TECK 09-25-2002 11:26 AM

my instructions work. Triad is a lazy way out. period.

neocorteqz 10-02-2002 10:16 AM

Having a small problem... I get the error when trying to install the board after entering all the necessary info.

Attempting to attach to database...


Warning: Access denied for user: 'root@127.0.0.1' (Using password: YES) in d:\apache\htdocs\forum\admin\db_mysql.php on line 38

Warning: Supplied argument is not a valid MySQL-Link resource in d:\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.

:ermm:
What do i do?
I used the username and password suggested
which was admin and admin.
I'm a n00b to all of this so I don't have a full understanding of everything.
Thanks

edit: I'm using Win 98 SE :o :eek:

neocorteqz 10-02-2002 10:27 AM

Quote:

Originally posted by TECK
my instructions work. Triad is a lazy way out. period.
They do work, granted I'm using the older version of apache.:)

I did have a small problem. I don't know if this fixed it or not(could have been blind luck;)) But...

underneath this:

#AddModule mod_ssl.c


I added this:

AddModule mod_php4.c




but in the version I'm using it didn't have that line. So i added both lines.
(This was in httpd.conf)

My problem was php files were prompting to download, instead of opening.

TECK 10-04-2002 02:59 PM

there is no need to add this module. php does it for you as ISAPI, as well as mysql. :)

neocorteqz 10-05-2002 06:17 AM

Quote:

Originally posted by TECK
there is no need to add this module. php does it for you as ISAPI, as well as mysql. :)
cool. thanks for that info..:)


I am having a different prob. The forum is running, but everytime I try and access the admin directory. The browser give me an Error

"HTTP 500 - Internal server error
Internet Explorer "

Have any ideas on that? the mod panel works fine. :confused:

perrera 10-08-2002 12:10 PM

I have a problem.
When I add this line to my Apache CONF file:

"LoadModule php4_module C:/Network/Php/sapi/php4apache2.dll"

Apache cannot restart the service... I haved added all the others lines but when add this... cannot start service. I haved cheched the path and the files.

BTW: My system is WinXP pro.

Help :confused:

TECK 10-08-2002 06:55 PM

it should work fine. make sure you get the latest php CVS version.
search this thread for a link.

mli 10-12-2002 06:25 PM

ok, I have another question. How do I run query's on the database this way? Because I tried it and it didn't work with the query.php file from FireFly.

Chris M 10-13-2002 05:59 PM

Download PhpMyAdmin:)

Satan

David_McPherson 10-15-2002 04:14 PM

Hello... Complete nub here...

I've gone throught the install proceedure 3 times. making sure that I've done each operation. On the 3rd time I wrote it all down on a check list... ;)

I cannot get the apache server to restart. I'm running windows XP pro.

You mention......
Quote:

NOTE: Replace the php4apache2.dll library (in 'Php/sapi' folder) ONLY if you cannot restart your Apache server. The PHP devs will probably replace it in the zip file soon.
Where do I get this NEW file? From PHP?

David_McPherson 10-15-2002 06:45 PM

Quote:

BELOW this, add:
LoadModule php4_module c:/network/php/sapi/php4apache2.dll
I added # before this line and it started... I don't know why It worked but it did. On to the next steps. Wish me luck... lol

David_McPherson 10-15-2002 07:18 PM

Ok.......

I've got the Green light for MYSQL, apache is hooked up and running....

Now.... How the heck do I get to the install.php file in my directories?

Its sitting here....

c:\network\apache2\htdocs\forum\admin\install .php

What do I type in my browser to access that?

David_McPherson 10-15-2002 07:22 PM

I tried this.... and a few other combonations.....


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

The-SpEyE 10-16-2002 07:54 PM

I've just gone throught the guide for the fifth time, and I've still got a problem.

For some reason, every time I go to a .php page, I get a 'do you want to download this file' dialog.

I've read somewhere that this is caused by an 'incorrect installation of PHP', but I've been through the guide god knows how many times, and installed it by the book.

I've got WinXP Home edn, with all the latest files.

Does anyone have any idea what I'm doing wrong?

David_McPherson 10-16-2002 10:55 PM

The-SpEyE....

You might want to check out this thread over here......

http://www.vbulletin.com/forum/showt...threadid=56595

Getting some good feedback there...

groovesalad 10-19-2002 08:41 PM

After I make the neccessary changes to the apache httpd.conf file, It says "The Requested Operation Has Failed!" once I try to restart my Apache server. Any ideas?

groovesalad 10-19-2002 08:48 PM

I narrowed it down. Once I do this step, Apache fails when I try to restart it:

Quote:

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


Dean C 10-20-2002 02:55 PM

in this step:

Quote:

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
If you myisp was freeserve... do i put smtp.freeserve.com ?

- miSt

groovesalad 10-20-2002 02:59 PM

If anyone is able to get Apache to restart after they put this in their httpd.conf file:

LoadModule php4_module c:/network/php/sapi/php4apache2.dll

Please let me know. I can't get mine to restart with that line of code.

refertech 10-20-2002 06:55 PM

Nor can I. It must be something to do with the version of php im using. I"ll look further, and im using the lastest version. php-4.2.3-Win32.zip.

Mark

David_McPherson 10-20-2002 08:02 PM

<a href="http://www.vbulletin.com/forum/showthread.php?s=&threadid=56595" target="_blank">http://www.vbulletin.com/forum/showt...threadid=56595</a>

Go there.... You will be happy you did... Got it all FIRST try!


All times are GMT. The time now is 01:37 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.01749 seconds
  • Memory Usage 1,823KB
  • 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
  • (2)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