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)

Lexx 02-19-2004 03:27 PM

Quote:

Originally Posted by KirbyDE
I'd do the following:

1) Make sure both run the same version
2) Shut down the live board
3) Make a backup of all files and the database (just in case anything goes wrong)
4) Upload all files form your test board
5) Export style & language from your testbord
6) Import both at your live board
7) If you made changes to the database structue do the same changes to the live system
8) Check if everything is ok
9) Open the live board

Kirby

Thanks for the reply.

I'm new so please be patient.

Numbers 1-4) I understand.

Numbers 5-6) I assume this is done through Styles and Templates --> Download / Upload Styles. Correct?

Number 7) is the puzzler for me. When you say make changes to the database, how do I do that? Do I have to manually re-enter all the new forums I made on my testbed computer?

How do I get the "live" database on the remote server to recognize the new forums I made on the testbed computer, and have just uploaded to the live server. How do I "mesh" the new vBulletin styles and forums with the old existing data base?

Your's or anyone's comments are certainly appreciated as I try to get a handle on this program.

Thanks again

TECK 02-22-2004 10:16 PM

Quote:

Originally Posted by mitomcua
To make life easier for you go here : http://www.easyphp.org/?lang=en and download the easy php 1.7 which includes and configures :Apache 1.3.27, php 4.3.3, MySQL 4.0.15 ...

Ya, it's easier but how do you learn to program your apps, not to mention upgrade them?
Use my method to do it the right way.

glo 03-01-2004 09:31 AM

Hi TECK,

Thanks for this tutorial!

X-Sector 03-01-2004 02:44 PM

How do you edit the file that contains settings (root withpassword) that correspond to the default MySQL privileged account. My MySQL server is running with this default, is open to intrusion? please help!

glo 03-01-2004 08:10 PM

if you are referring to the creation of accounts ie monty, admin and dummy, change monty to the user name u want to use. ie admin and set the password.

as the instructions were a sample of how to do it. hope this helps

X-Sector 03-02-2004 08:53 PM

Atucally.. it doesn't work for me anymore.. the windows was flashed when clicking it.

glo 03-04-2004 12:40 PM

I have installed this hack successfully, but i need to import a file into my database.

The instructions for another hack says:
Import the file 'install.sql' into your database through phpmyadmin.

This file is located in the admin folder and does not have to be uploaded!
This file do all the database changes + it installs all the templates!

But we are using winmysql instead of phpmyadmin.

All help is appreciated.

Jakor Sevel 03-04-2004 10:26 PM

the only thing i can open in /bin is C:\Network\MySql\bin\mysql.exe
and everytime i type the command in it says there is an error

glo 03-05-2004 08:12 AM

Quote:

Originally Posted by glo
I have installed this hack successfully, but i need to import a file into my database.

The instructions for another hack says:
Import the file 'install.sql' into your database through phpmyadmin.

This file is located in the admin folder and does not have to be uploaded!
This file do all the database changes + it installs all the templates!


But we are using winmysql instead of phpmyadmin.

All help is appreciated.

Its all sorted now..

Gizmo 03-09-2004 09:45 AM

Thanx for the tutorial, it may help me one day :)

33x9519181 03-10-2004 07:34 PM

Never worked with MySQL and PHP on my own computer.
But thanks mate, great tutorial !!
Works now on my own computer !!
But I have a question...
Is it also online when my computer is off ?
:)

DMZman 04-13-2004 08:29 PM

when i run the install.php it open it as if im opening it in notepad , I done all the php steps, but still with no luck...

neocorteqz 04-14-2004 06:17 AM

Quote:

Originally Posted by DMZman
when i run the install.php it open it as if im opening it in notepad , I done all the php steps, but still with no luck...

after making any changes to httpd.conf, you have to restart Apache. it's still opening php files as a text file.

if you did this, then I'm not sure of the exact problem.

neocorteqz 04-14-2004 06:20 AM

Quote:

Originally Posted by 33x9519181
Never worked with MySQL and PHP on my own computer.
But thanks mate, great tutorial !!
Works now on my own computer !!
But I have a question...
Is it also online when my computer is off ?
:)

When your computer is off, there is no possible way to connect to it.
on a side not
As far as I know, it'll only allow connections from 127.0.0.1 (localhost) unless you change the actual listening port. and most host don't allow port 80 anyways, so unless you are running it on a different port, I wouldn't worry too much, and you may always restrict it via a Firewall to your IP address if you want to feel secure. :)

neocorteqz 04-14-2004 06:21 AM

Quote:

Originally Posted by Jakor Sevel
the only thing i can open in /bin is C:\Network\MySql\bin\mysql.exe
and everytime i type the command in it says there is an error


what is the error message outputed?

DMZman 04-14-2004 02:35 PM

How do i restart apache just close it and reopen it? Because i tried that and it didnt work, Still opens php as a text file...

And now, it wont even load any page, Just gives me page cannot be found errors, any help here?

SemperFidelis 04-14-2004 03:00 PM

DMZman,

If your talking about in WinXP
Control Panel -> Admin Tools -> Services
Locate Apache
And restart it

DMZman 04-14-2004 03:04 PM

Ok i done that, then clikced start and got this error

Windows could not start the apache 2 server etc

TECK 05-10-2004 05:31 PM

Apache could not start because you missed something either in the conf file or you did not copied the needed php files into the /system32 folder.
I make sometimes this mistake also, is normal... my wife won't let me concentrate... :p

Bounce 05-29-2004 12:06 AM

just what ive been lookin for for ages,now the hard bit of installing it all as i'm useless..lol

thank C

Karthick 06-16-2004 01:57 PM

Honestly, this is too tedious.

I just install PHPDEV (in 1 minute) from firepages.com.au and I have Apache server with PHP+MySQL and Perl ready to go.

Intex 06-17-2004 10:28 AM

Quote:

Originally Posted by Karthick
Honestly, this is too tedious.

I just install PHPDEV (in 1 minute) from firepages.com.au and I have Apache server with PHP+MySQL and Perl ready to go.

LOL - the standard installation is a breeze. Whilst PHPDEV might be quick to install it is non-comparable to the power of vB.

Karthick 06-17-2004 09:08 PM

What the hell are you talking about, PHPDEV is a system to get Apache, PHP, MySQL, Perl onto your computer in one click. And it is just as powerful as installing each individual program manually.

How can you compare vB and PHPDEV? vB is forum software and PHPDEV just packages Apache PHP MySQL Perl.........

Intex 06-17-2004 09:10 PM

Yes, you're quite right, some some reason I mixed that up with PHPNuke.

Crank 06-19-2004 06:20 PM

i am having trouble getting it to work with php3 files. it just shows the php code.
it works with php but i need it to recognize php3 any help please?

Dean C 06-19-2004 06:38 PM

PHP3 was stopped a long time ago. Maybe its time to upgrade the scripts to PHP4 standards :)

Anyways the reason for this is the php3 extension. Find this line in your apache config file (httpd.conf):

Code:

AddType application/x-httpd-php .php
And below it place:

Code:

AddType application/x-httpd-php .php3
And replace this:

Code:

DirectoryIndex index.php index.html index.php.var index.html.var
With this:

Code:

DirectoryIndex index.php index.php3 index.html index.php.var index.html.var index.php3.var
This is untested but it should work :)

Crank 06-20-2004 01:40 PM

thank you very much dean.
you are a life saver.
also ill work on upgrading to the PHP4 as well. thanks for the heads up.

Dean C 06-20-2004 02:11 PM

You're welcome :)

liang 07-01-2004 10:30 AM

Hi,

I install FoxServ (http://www.foxserv.net) which include apache, mysql and PhP. The installation of VB(3.0.1) is perfectly.

The problem is , after install, the first step is login to Admin Cp, but it keep asking my username/password after click login. I am sure its not cookie's setting cos its working perfect when i browsing my online forum.

Anyone got idea how to fix it? :nervous: :nervous: :nervous:

Ps. FoxServ is really good, just one easy click install, and you dont have to do any httpd.conf setting.

msimplay 07-01-2004 10:48 AM

Quote:

Originally Posted by liang
Hi,

I install FoxServ (http://www.foxserv.net) which include apache, mysql and PhP. The installation of VB(3.0.1) is perfectly.

The problem is , after install, the first step is login to Admin Cp, but it keep asking my username/password after click login. I am sure its not cookie's setting cos its working perfect when i browsing my online forum.

Anyone got idea how to fix it? :nervous: :nervous: :nervous:

Ps. FoxServ is really good, just one easy click install, and you dont have to do any httpd.conf setting.

its a cookie problem if you had the vbulletin installed at a different domain prior you have to run this script
it will reset cookie domain

it would also be a good idea to clear cookies

liang 07-01-2004 11:50 AM

Quote:

Originally Posted by msimplay
its a cookie problem if you had the vbulletin installed at a different domain prior you have to run this script
it will reset cookie domain

it would also be a good idea to clear cookies


Yes , I did run that script but still no luck. :tired: :tired: :tired:

Did I mention that this VB is gonna be installed on my local computer for testing purpose?

Below is the step9 of the installation.


http://www.1stweb.tv/step9.gif


is there anything wrong with it ( cookie path?)

Thanks

Liang

TECK 07-09-2004 04:01 PM

Use the real install method that I posted, not some all-in-one pre-made installers. That's one of the reasons I recommended people to do it the simple and clean way...
That will fix your problem.

MindTrix 07-19-2004 11:48 AM

1 Attachment(s)
I installed php5 and changed little bits to hopefully make it work.

Ummmmmm went ok with no errors but now no page loads, and was just giving me a blank white page. So i reset windows and now apache doesnt work, i attached a screenshot of the error i got.

Also i skipped doing

PHP Code:

04. Open a CMD window and change it's location to your current MySQL /bin folder.

05. Set your Users:
\bin> mysql --user=root mysql
mysql> GRANT ALL PRIVILEGES ON *.* TO monty@localhost
-> IDENTIFIED BY '
some_pass' WITH GRANT OPTION;
mysql> GRANT ALL PRIVILEGES ON *.* TO monty@'
%'
-> IDENTIFIED BY '
some_pass' WITH GRANT OPTION;
mysql> GRANT RELOAD,PROCESS ON *.* TO admin@localhost;
mysql> GRANT USAGE ON *.* TO dummy@localhost; 

cause i didnt know how to open the command window :rolleyes:

Umm im guessing that wouldnt matter at all would it?

TECK 07-21-2004 01:09 AM

I'm running PHP 5 solid, no problems. The only problem you will have is when you run it under IIS, instead of Apache... but that's an easy fix also.
Simply replace php5isapi.dll from final version with the one from RC2.
That should fix the nasty errors like:
"PHP has encountered an Access Violation"... damn MS. ;)

To open a CMD window, press the Window Key + R.
Type [high]CMD[/high] and press Enter.
Type [high]CD C:\yourdirectory[/high]

MindTrix 07-21-2004 08:46 AM

Thank you for that finally got that done. Now what values should i enter into the config.php because the ones i have are giving me database errors. Do i need to use this monty stuff from the first page?

glo 09-18-2004 02:53 AM

Hi,

Im just setting this up on XPpro SP2 and am stuck here.

Quote:


Click on OK.

03. Go to tab Databases. Right click on the name of your computer and select 'Create Database':
Database Name: vbulletin

Click on 'Create the Database' and close the window.

as i cant see my computer name. What should i try???

glo 09-25-2004 02:12 PM

Quote:

Originally Posted by glo
Hi,

Im just setting this up on XPpro SP2 and am stuck here.




as i cant see my computer name. What should i try???

OK, i can see it now,

However, I have chosen to install it on the E: instead of C:

I presume that it makes little difference. Tell me if its not.

glo 09-27-2004 08:31 AM

Can someone please post the current links to the correct Apache, Mysql and php versions we should be using?

Thanks :ermm:

khaleel 10-13-2004 08:16 PM

Just wanted to say you can get phpTriad which is an exe file, you click one button an instant linux power! :)

Allen Mead 10-16-2004 04:20 PM

Hi guys,

Can someone tell me exactly which file versions of PHP, Apache Server and MySQL to download, as I've had a look at the links and there's loads of different versions, getting a bit lost.

Thanks!

PS, everything was going fine until i tried the Grant permissions in the CMD window and I got the following error messages:

C:\NETWORK\MYSQL\BIN>mysql --user=root mysql
ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)

C:\NETWORK\MYSQL\BIN> GRANT ALL PRIVILEGES ON *.* TO monty@localhost
'GRANT' is not recognized as an internal or external command,
operable program or batch file.

I'm using winXP.


All times are GMT. The time now is 01:56 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.01912 seconds
  • Memory Usage 1,834KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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