Help: Installing on Apache on Windows XP

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
PunkassJBrewster
Posts: 8
Joined: Sun 4. Jan 2004, 02:00

Help: Installing on Apache on Windows XP

Post by PunkassJBrewster »

I need help.

I am running Apache 2.0.48 on Windows XP Pro with PHP 4.3.3, ImageMagick 5.5.7. I downloaded PHPWCMS version 1.1-RC2 . I extracted the contents to my htdocs directory. I created the MySQL database and user. I ran the setup files. Everything went well.

However, when I try to log in, or even view the index.php under the root directory, I get a black page. No error messages are given.

Furthermore, if I enable the page creation option, the thing that lets one know how long it took to create a page, that is the only thing that will be displayed.

Can someone help me out?

Jay
Bijan Hemati
Posts: 191
Joined: Sun 9. Nov 2003, 00:18
Location: Austin, TX

Post by Bijan Hemati »

I think you may need to add a page layout and a template as default.
Also check your conf.inc.php file to see if this line

Code: Select all

// debugging timer
$phpwcms["timer"]             = 0; //is for displaying a how long it needs to create
is set to 0
PunkassJBrewster
Posts: 8
Joined: Sun 4. Jan 2004, 02:00

Post by PunkassJBrewster »

How do I make a template/page layout?

The page parses. I can see the page title on the window of index.php. However, there is no content. Even when I go to login.php I cannot see anything.

Source of login.php after being parsed:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
Jay
Bijan Hemati
Posts: 191
Joined: Sun 9. Nov 2003, 00:18
Location: Austin, TX

Post by Bijan Hemati »

Can you give me the url to your site so I can see what is on the screen?
Bijan Hemati
Posts: 191
Joined: Sun 9. Nov 2003, 00:18
Location: Austin, TX

Post by Bijan Hemati »

This is very unusual. I guess I had to see it with my own eyes to believe it :)
Did you get all green OK bars at the end of setup?
Did you download "conf.inc.php" and put it in inc_conf folder?
PunkassJBrewster
Posts: 8
Joined: Sun 4. Jan 2004, 02:00

Post by PunkassJBrewster »

Yes. Set up went smoothly, and I got all green bars. Have ImageMagick and Ghostscript installed, as well.

I got as far as step 5 of the set up routine. I don't know if there are more. When I clicked on the link to download the conf.inc.php file, I wasn't able to, so I edited it manually.

Jay.
Bijan Hemati
Posts: 191
Joined: Sun 9. Nov 2003, 00:18
Location: Austin, TX

Post by Bijan Hemati »

Did you download the "phpwcms_1.1-RC2-2004-02-01.zip" or "phpwcms_1.1-RC2-2004-02-01.tar.gz"?
If you have downloaded "phpwcms_1.1-RC2-2004-02-01.tar.gz" and unzipped it on your windows machine, you may have some of the empty folders dropped during unzip process.
I would suggest to download "phpwcms_1.1-RC2-2004-02-01.zip" and then delete all the files and folders you created for phpwcms on your server and start over fresh.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

are you very sure your php is working ?
have you tested it with a phpinfo() ?
are your sessions working correctly?
I can post you two pages of code to test these if you are unable to: just ask :)
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

I think your Session handling in php.ini is not set well.

Check these lines:

Code: Select all

[Session]
; Handler used to store/retrieve data.
session.save_handler = files

; Argument passed to save_handler.  In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this 
; variable in order to use PHP's session functions.
session.save_path = C:\PROGRAMME\AppServ\php\session
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply