Can't login + empty home page

Please post all install related problems here. Visit this forum first for troubleshooting.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

as I see in your Screenshot it is a local installation ?!
What Server do you use? IIS or Apache ?

For IIS you need to edit the conf.inc.php at

Code: Select all

$phpwcms['DOC_ROOT']          =
with your real Path to the Installation

or you have a Session Problem like here
http://www.phpwcms.de/forum/viewtopic.php?t=8864
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
pdedecker

Post by pdedecker »

Yes, I thought I told I was using it locally in a network. :-)
Anyway, I'm using Apache, so I don't need to edit that file.

Edit: I don't think it has something to do with a session problem because phpwcms doesn't show any error when logging in.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

mhhh...

try the following Steps

1. goto login and enter the Valid Username and Passwort
2. open a new Browserwindow and goto the Frontpage

do you see a Red-Box with Admin / Username ?

what happens if you call http://loaclhost/phpwcms.php
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
pdedecker

Post by pdedecker »

I don't see a red box if I follow your steps and when I go to phpwcms.php, my browser redirects me to login.php.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

then you are not logged in -

but I don't know whats going wrong at your installation :(
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
pdedecker

Post by pdedecker »

Neither do I, all I know is that everything in step 5 of the installation is green-coloured...
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

think that it is not a direct Problem of phpWCMS - more something in your enviorerment (Webserver, PHP, mySQL)

have no Idee where to begin to search without a Error-Message :evil:

maybe you post your conf.inc.php ( the important Parts with Site, Pathes etc )
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
pdedecker

Post by pdedecker »

You mean this file?

Code: Select all

<?php

// database values
$phpwcms["db_host"]           = "localhost";
$phpwcms["db_user"]           = "root";
$phpwcms["db_pass"]           = (NONE OF YOUR BUSINESS :D);
$phpwcms["db_table"]          = "pwc";
$phpwcms["db_prepend"]        = "";
$phpwcms["db_pers"]           = 1;

// site values
$phpwcms["site"]              = "http://beta/";
$phpwcms["admin_email"]       = "admin@beta";

// paths
$phpwcms["DOC_ROOT"]          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]         		= "pwc";         //default: ""
$phpwcms["file_path"]         = "phpwcms_filestorage";    //default: "phpwcms_filestorage"
$phpwcms["templates"]         = "phpwcms_template";    //default: "phpwcms_template"
$phpwcms["content_path"]      = "content"; //default: "content"
$phpwcms["cimage_path"]       = "images";  //default: "images"
$phpwcms["ftp_path"]          = "phpwcms_ftp";     //default: "phpwcms_ftp"

// content values
$phpwcms["file_maxsize"]      = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"]     = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"]    = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"]   = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"]    = 538; //max width of the large preview image
$phpwcms["img_prev_height"]   = 400; //max height of the large preview image
$phpwcms["max_time"]          = 1800; //logout after max_time/60 seconds

// other stuff
$phpwcms["compress_page"]     = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"]           = 0; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"]      = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"]           = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"]       = 0;  //whether URL should be rewritable
$phpwcms["wysiwyg_editor"]    = 2;  //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"]        = 0;  //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"]      = "en";  //default language
$phpwcms["charset"]           = "iso-8859-1";  //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"]  = 0;  //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"]            = 0;  //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms["jpg_quality"]       = 75; //JPG Quality Range 25-100
$phpwcms["sharpen_level"]     = 1;  //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms["allow_ext_init"]    = 1;  //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"]  = 1;  //allow including of custom external scripts at frontend rendering
$phpwcms["cache_timeout"]     = 0;  //default cache timeout setting in seconds - 0 = caching Off
$phpwcms["imgext_disabled"]   = '';  //comma seperated list of imagetypes which should not be handled "pdf,ps"
$phpwcms["multimedia_ext"]    = 'aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi'; //comma seperated list of file extensiosn allowed for multimedia

// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"]     = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"]      = '';  //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"]     = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = 'admin@beta'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'BETAserver Beheerder'; // reply/from name
$phpwcms['SMTP_HOST']         = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT']         = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER']       = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH']         = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER']         = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS']         = ''; // default SMTP password


// Try to check and uncomment the DOCUMENT_ROOT if you have problems 
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT']     = 'C:/Webserver/www';


?>
:D :D
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

mh

looks OK for me - if you have moved the Path since the Screenshots from phpwcms to pwc.

Last Idee - can you install it in the Root ?

What Apache/PHP/mySQL Version you're using?

I have it run at my Notebook (for testing only) on XAMPP-Package
http://www.apachefriends.org

it's crazy that there is no Error or Warning-Message - can you look into the
Servermessages?
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
pdedecker

Post by pdedecker »

My Apache version is 2.0.55, PHP 4.3.11 (not sure) and MySQL 4.1.14-nt.

I can't install phpwcms it in the root folder, because there is other stuff on my webserver too.
coolsie
Posts: 1
Joined: Wed 23. Nov 2005, 19:16

Post by coolsie »

I'm having the same problem and same configuration.
Almost gave up on this one:-)

The config.inc.php is stored in another file format.
Opening the conf.inc.php with WORDPAD and save file as config.inc.php overwriting the original config.inc.php solved the "blank page" problem.

I'm now seeing a red box as discribed above! :-)

Now i entered http://www.mysite.com/phpwcms.php
and i can see a configuration page now!!.
How to proceed to get this to function normal with index.php and login!?

regards coolsie
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

never edit a File with a Editor like MS-Word - always use a 'Plain Text' Editor like UltraEdit (What I use) or any one of the large Count of 'Programming Editors'

MS-Word and other Texteditors add informations about Founts etc. to the File - and this occours Errors or malfunctions.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Michl
Posts: 1
Joined: Wed 30. Nov 2005, 18:00
Location: Oberstdorf [GER]

Post by Michl »

Had the same problems when I tried to login but I found out that it's a session problem as mentioned by somebody before.

In my case it was because I had very restrictive cookie
settings in my FireFox.

After fixing this it worked without any problems.

All the best,

*** Michl
rebel
Posts: 2
Joined: Thu 1. Dec 2005, 13:10

Post by rebel »

I'm having the same problem and same configuration: Apache, Mysql.

Empty page, can't login.

Is a bug of php cms.
rebel
Posts: 2
Joined: Thu 1. Dec 2005, 13:10

Post by rebel »

I'm having the same problem and same configuration: Apache, Mysql.

Empty page, can't login.

Is a bug of php cms.
Post Reply