Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #31  
Old 03-08-2007, 09:31 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok long story short I used the Dependences functions to find the required services. You missed one or two and at least 3 of the services you mentioned did not exist.

Now I can see my computer but not the web sites folder.
http://img340.imageshack.us/img340/3412/tablebh0.gif
Reply With Quote
  #32  
Old 03-08-2007, 09:42 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess you used the Windows Resource Kit utilities (reg.exe and depends.exe) to determine that.

I wanted to help, thinking that your PC has a default setup, like everyone else.
This is turning into a 5hrs troubleshooting task just to start a server, when in fact it should take us 30min to have vBulletin up and running on your localhost.

If you manage to get IIS up and running, let me know.
I will post then how to setup PHP and MySQL. I hope we will not have any other similar problems.
Reply With Quote
  #33  
Old 03-08-2007, 09:53 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I simply right clicked on a service->properties->dependencies.

I guess I will just give up then. I know nothing about IIS and have spent 5 hours trying to do this the old school way.

I can fix 90% of problems that arise for me in Vb but this is far over my head.

Thanks for all your help, and hopefully my last post may benifiet you in the future when attempting a similar set up.
Reply With Quote
  #34  
Old 03-09-2007, 12:20 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From your PM, it looks like you got it working!
Perfect. Let me know when you are available to work on the PHP and MySQL install.
Reply With Quote
  #35  
Old 03-09-2007, 12:26 AM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont know how to do that. Also I still have a slight problem. I jumped the gun a bit. When i go to http://localhost/ I get this error message:
Quote:
Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
Any idea how to fix this?

Quote:
Originally Posted by TECK View Post
Open your windows explorer and look into disk C:, you should see there a new folder called:
C:\inetpub

Create inside 2 new foldders:
-- \inetpub
---- \mysql
---- \php
...
---- \wwwroot
(ya, they are lowercase)

Let me know when you are done with those steps.
When you said \wwwroot does that go into php folder?

And I have done everything you said.

Also where can i find MySQL Administrator. I find 64 bit versions but i am on 32 bit Win XP.
Reply With Quote
  #36  
Old 03-09-2007, 05:25 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't worry, I know you were venting. It felt good, right?
I was venting also, hehe. We will work toghether to fix the damn problems, I will stay beside you until we get it right.

When i go to http://localhost/ I get this error message
I have no idea why you get this error. I don't understand why you disabled the default services in Windows. They are there for a reason, not for fun. Now look at the nasty errors you get...

When you said \wwwroot does that go into php folder?
No, the folders are at the same level.
In other words, inside C:\inetpub folder you create 2 new folders (php and mysql).

And you are done yet, you did not installed PHP and MySQL.
I will continue to help you tomorrow, when I'm at work.
I have Vista at home and Windows Media Center at work...

I'm proud of the fact you did not give up and you want to stick with a real install method, not those crappy pre-made installers that do all for you.
Stay away from those things, they are designed for people who are not interested in coding and server configurations. When it comes the day you want to upgrade your PHP version, you will notice that you are screwed because you cannot do it... not to mention that you have no idea also how to do it...

PS. To bad the old people are not anymore here. This thread would crawl with good hackers helping you, if the year would 2001-2002. Now, nobody gives a crap, as you can see. Only old monsters like myself and 2-3 others might bump and help you...

Back to my Fedora Core 7 Test2 install... Ciao, a demain.
Reply With Quote
  #37  
Old 03-09-2007, 02:17 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which part did you think I was venting? Can;t say I was really, more like frustrated as vB Support is taking there sweet ass time and i got IIS working only to hit another bug.

As for disabling win services, they where services I had no use for. My computer ran fine with out them.

Yeah miss the good ol days. Man I remember when boofo was a mod. I loved that old guy. Even in mid 2005 when i joined things were different then they were now.

I will look into that error more today and see if i can get it working. If I do I will let you know.

And where can i find MySql Admin?! Do i need the linux version to put on my server or windows for my local machine running XP?

I played with a few settings an now i get this when i go to http://localhost/:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

Please try the following:

* Open the localhost home page, and then look for links to the information you want.
* Click the Refresh button, or try again later.

HTTP 403.2 - Forbidden: Read Access Forbidden
Internet Information Services

Technical Information (for support personnel)

* Background:
This error can be caused if there is no default page available and directory browsing has not been enabled for the directory, or if you are trying to display an HTML page that resides in a directory marked for Execute or Script permissions only.

* More information:
Microsoft Support
Reply With Quote
  #38  
Old 03-09-2007, 09:16 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good, we are getting there, if you get a 403 we are in business.
Now, install PHP.

Go to PHP site and download this package:
PHP 5.2.1 zip package [9,545Kb] - 08 Feb 2007
http://www.php.net/downloads.php

Extract it's contents to folder C:\inetpub\php
Drop inside the above mentioned folder the file I attached into this post and rename it to php.ini

Now, just to make sure, double check this:
Go to IIS console and right-click on Web Sites > Properties
Click on tab Documents, you should already have there index.php
Don't close it we need it on the next step.

Next, we need to add the .php extension into IIS so it gets recognized.
Click on Home Directory tab, beside Documents (window still open)
Click on Configuration button
On Mappings tab, click on Add button
Executable: Browse to executable php-cgi.exe, located in C:\inetpub\php
Extension: .php
Limit to: GET,HEAD,POST (no spaces)
Click OK 3 times.

PHP is installed, reboot your PC.
Attached Files
File Type: txt php.ini.fixed.txt (44.2 KB, 2 views)
Reply With Quote
  #39  
Old 03-09-2007, 09:58 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"Click on Home Directory tab, beside Documents (window still open)
Click on Configuration button"
When i click config it does nothing.

Actually if i right click on default site then click config it works. So i did that and added php like that.
Reply With Quote
  #40  
Old 03-10-2007, 04:15 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's fine, you will use only one site, I'm pretty sure.
Now test to see if it works.

Go to C:\inetpub\wwwroot folder and delete all files/folders in there.
Create a new file called index.php, with the content:
Code:
</php

phpinfo();

?>
Now, into your browser, open this link:
http://localhost/

You should see the default PHP configuration file with all options enabled.
First look at this option:
Configuration File (php.ini) Path: C:\inetpub\php\php.ini
If it shows this, scroll down and let me know if you see there a section called mysqli.
(search for it with a CTRL + F, faster)

If you do, PHP is installed properly.
We can proceed with MySQL install... almost done.
Attached Images
File Type: jpg phpinfo.jpg (66.8 KB, 0 views)
File Type: jpg index.jpg (47.3 KB, 0 views)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:18 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.04411 seconds
  • Memory Usage 2,285KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete