Trouble installing phpwcms 1.2.5-DEV under IIS

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
quaestor
Posts: 4
Joined: Fri 20. Jan 2006, 07:47

Trouble installing phpwcms 1.2.5-DEV under IIS

Post by quaestor »

Hi all,

I'm having difficulties installing phpwcms 1.2.5-DEV. Here is my system configuration:
Windows 2000 Server
IIS 5.0
php 5.1.2
mysql 4.1.16

My problem is that I can never get past step one of the install. I enter my mysql db info and check "create all db tables". When I click "send db data" I always get "Please proof your database settings."

I can login to the database manually from this machine using the same info given to phpwcms. I also checked to see if there was any data in the database after running this step and it seems all the correct tables have been created. But I can't get past step 1.

Please pass on any wisdom you might have. I'd pass on any log info but I can't find any useful info in IIS's logs nor in my php log.

Thanks
quaestor
Posts: 4
Joined: Fri 20. Jan 2006, 07:47

Post by quaestor »

Still no takers?

*edited later, my original was a bit rude*
Last edited by quaestor on Sat 21. Jan 2006, 19:47, edited 1 time in total.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

sorry - no real answer but if you use the Searchfunction of this Forum you will find a lot of Threads about IIS.
But if it is possible to you, I would prefer the Apache-Server. There is a 'Run Out of the Box' Kit named XAMMP http://www.apachefriends.org
It seems very difficult to get run on IIS - or most of us has no practice with IIS - maybe that's the reason !?
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
quaestor
Posts: 4
Joined: Fri 20. Jan 2006, 07:47

Post by quaestor »

Thanks for the response Pico. I've searched for problems with IIS on the forum and the information was very useful. I had to fix the IIS document root problem before coming to this one. So far I haven't found an entry that relates to this problem.

I'd prefer to use Apache as that is also what I am familiar with, however the client requires that everything be done with IIS. They are a windows shop. Yet they insist on php and mysql. :/ Maybe I can convince them to use Apache.

I'll keep looking in the forums. Thanks again.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

I'm not a IIS person but the super-global array $_SERVER does not have the same keys in certain conditions or circumstances (Switches contexts based on the Register Globals and/or FASTCGI or something_

PHP comes with some "default" options in php.ini file that need changing :wink:
Anyways... check if file has comments (and google "register globals iis" for more)

BUT Maybe try something like this?

Code: Select all

// paths
$phpwcms['DOC_ROOT']          = substr($_SERVER['PATH_TRANSLATED'],0, strlen($_SERVER['SCRIPT_NAME']) * - 1);
An additional possible problem ~may~ be that IIS does not support

Code: Select all

$_SERVER['REQUEST_URI'];
which is used in the script in other files

those instances might need to be changed to:

Code: Select all

$_SERVER['SCRIPT_NAME'];
/include/inc_lib/general.inc.php
/include/inc_tmpl/content/cnt16.inc.php
/include/content/cnt13.inc.php
/include/content/cnt16.inc.php
/include/content/cnt20.inc.php
quaestor
Posts: 4
Joined: Fri 20. Jan 2006, 07:47

Post by quaestor »

Thanks DeXXus,

I appreciate the info. I've decided to use a different system for this project but I'll keep phpwcms in mind for clients that run Apache.

Thanks for your time.
Post Reply