Page 1 of 1
Help: Installing on Apache on Windows XP
Posted: Sun 4. Jan 2004, 02:30
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
Posted: Sun 4. Jan 2004, 02:48
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
Posted: Sun 4. Jan 2004, 03:16
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
Posted: Sun 4. Jan 2004, 03:32
by Bijan Hemati
Can you give me the url to your site so I can see what is on the screen?
Posted: Sun 4. Jan 2004, 04:10
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?
Posted: Sun 4. Jan 2004, 04:33
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.
Posted: Sun 4. Jan 2004, 04:51
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.
Posted: Sun 4. Jan 2004, 10:19
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

Posted: Sun 4. Jan 2004, 10:24
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