sippo (8th October 2008)

Hi Sippo, there are 2 entries in the wiki for installation on Windows (using WAMP) and Linux: Classroombookings wiki.
sippo (8th October 2008)
If I'm getting a page cannot be displayed message where am I going wrong?!!![]()
Did you edit the config files?
system/application/config/config.php
system/application/config/database.php
We've recently successfully installed it on Windows Server 2003 and WAMP.
Yeah I edit the config files. Where it says 'http://www.website.com/crbs', thats the url of the database? I'm confused.
I am using windows 2003 and wamp.
Ok, I've tried a fresh install:
1) Install WAMP 2.0C to default locations.
2) Make live (left click icon in taskbar, and "put online")
3) Test PHP is working (open web browser, and click on PHPINFO link)
4) Install CRBS by unpacking and copying it to the C:\WAMP\WWW folder.
5) Go to PHPMYADMIN and create the database.
6) As above, set the privs with the SQL command.
7) Edit CONFIG.PHP (line 4 - your URL) (line 8 - remove #) (line 9 - add #)
8) Edit DATABASE.PHP (line 6 - you username) (line 7 - your password) (line 8 - your database)
9) Go to the root of your web server, click the CRBS folder and it should automatically go to CRBS/INDEX.PHP/INSTALL and let you complete the installation.
Hi, I feel like an idiot being quite well versed in PHP programming and having unpacked plenty of php packages, but I'm getting the same problem as sippo.
Its running on IIS 6.0 with the PHP isapi installed and MySQL running. The setup works fine, as I run plenty of php/mysql apps from it. I've setup the config files as per the instructions and just followed Gibbo's directions to check I had done everything right. Seem to have, yet still get 404 when I try and view index.php.
Tried using the correct .htaccess, the original and an empty one, none work. I know IIS doesn't support mod_rewrite but the guide says thats optional. How can I find out what file it is that it cannot find? I've checked the IIS logs but that just shows a request to /crbs/index.php - which I know exists. I've checked the perms on that too and they're fine. 777 in fact, as all of the package seems to be - a bit odd I thought? The whole package seems to be 777 but haven't thought much more of it. Also checked the directory security, got it set to integrated authentication and NO anonymous access, but tried with anon thinking the script might not be able to open another file but still no luck.
Would love to get this working as I made a prog last year but my grasp of date/time strings in PHP clearly wasn't sufficient and I'm looking for alternatives.
Thanks in advance,
Shuriken.
Last edited by Shuriken1; 9th October 2008 at 02:49 PM.
Can you see any other PHP web pages? I have had it running on a server with IIS and PHP before, but I found WAMP much easier to install, setup and manage.

I don't know much about IIS+PHP because I've never had or wanted to use them together. I've had a look on the forum of the framework I used for CRBS and one post suggests adding a question mark after index.php, thus: /crbs/index.php? or with a trailing slash after it. (May need to add this to the config.php file)
I would still strongly recommend using WAMP at a minimum if you aren't able to run it on *nix. If you can run it on the same machine as IIS, you can run Apache on a different port; or have Apache (on port 80) proxy requests to IIS running on a different port.
Gibbo: I can see other PHP pages yeah, I've got loads of various different php applications running on this IIS server.
Webman: I'm not sure where you meant the ? or / needed to go but I tried it as a change to the web address, ie. http://blah/crbs/index.php? and / respectively - no luck. Also tried changing the rewrite rule in the same way, although IIS probably isn't processing that anyway. Also tried changing the $config['index_page'] and that didn't work either. I'm not keen on using Apache as well as IIS. I agree Apache is better but theres other webservers in the school running IIS and it would be messy and complicated for any successors. Besides, a phrase I find myself saying far too often.. "it should be able to do it!" lol
Thank you both for replying, any more suggestions?
Shuriken1.
I'd have to echo Webman and suggest WAMP. If I can find a test server to install IIS on I'll give it a go today and see how I get on.
I've done a fresh install of wamp but now I get 'page cannot be displayed' when I go into phpmyadmin even though I have the exception in ie.![]()

Are you accessing phpMyAdmin from the server you installed WAMP on, or from another host on the LAN?
At your webserver (ie not from another machine), type http://localhost/phpmyadmin
I'm accessing it direct on the webserver. Still no joy. I'm just wondering if it is clashing with our web-based library software Oliver.

Is WAMP running? What do you get when you just browse to http://localhost/ ?
There are currently 1 users browsing this thread. (0 members and 1 guests)