Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: grisswold on October 21, 2008, 04:23:39 AM

Title: White Page Screen upon loging in as a registered user in a CMS site...
Post by: grisswold on October 21, 2008, 04:23:39 AM
Would anybody know why is this happening? When i logon on to my site, a CMS uploaded site, via internet or locally it turns out fine... I can even browse to different pages... But everytime I login as a registered user, the page just shows a white screen.... I used joomla 1.5.7 1st then used to AdaptCMS to check for any differences upon logging in as a registered user, same thing happens to both. My server's running SME 7.3... My php version is 4.3.9 and mysql version is 4.1.22... Anybody got ideas and a solution for this?

Oh and 1 other info, I didn't install joomla or the AdaptCMS to my server. I just manually uploaded the folders, created the user for the database used, and imported the database used. The reason why I do this is because  when I installed joomla(1.5) 1st, I cnt seem to do some configuration changes to the global settings and to some other files. I have to go to the command line of my server and cd to folder of the configuration.php file and do "chmod 770" on it to be able to make some changes then I have to do "chmod 640" to return it back. I did "ls -al configuration.php" and shows "-rwxr 1 admin shared 1170" ... So its pretty much of a hassle that way...
Title: Re: White Page Screen upon loging in as a registered user in a CMS site...
Post by: janet on October 21, 2008, 05:18:18 AM
grisswold

Quote
I have to go to the command line of my server and cd to folder of the configuration.php file and do "chmod 770" on it to be able to make some changes then I have to do "chmod 640" to return it back. I did "ls -al configuration.php" and shows "-rwxr 1 admin shared 1170" ... So its pretty much of a hassle that way...

This is a normal requirement of joomla and most other CMS's, to ensure your settings are secure.
It shouldn't make any difference whether you install using a contrib or tar file.
If you don't ensure that configuration.php is chmod 640 then ANYBODY will be able to make changes to your configuration.php file and probably be able to hack your server.
If you now do not need to do chmod 770 to the configuration.php file in an ibay in order to make config changes, then permissions/ownership are all wrong & insecure. You have been warned.
Title: Re: White Page Screen upon loging in as a registered user in a CMS site...
Post by: janet on October 21, 2008, 05:28:13 AM
grisswold

Quote
But everytime I login as a registered user, the page just shows a white screen.... I used joomla 1.5.7 1st then used to AdaptCMS to check for any differences upon logging in as a registered user, same thing happens to both. My server's running SME 7.3... My php version is 4.3.9 and mysql version is 4.1.22... Anybody got ideas and a solution for this?

Not totally sure, but this may also be related to incorrect file permissions and ownership. I assume when you log in as a registered user you are using https://....
I forget the exact mechanism now, but you may be reading "secure and non secure" files, and the program does not know how to behave.

If not that, then it may be a ibay php config issue. See
http://wiki.contribs.org/DB_Variables_Configuration#Apache_server_ibay_specific_.28httpd-e-smith.29

I'd suggest you install Joomla using the Contrib from the wiki, and see if you have similar behaviour. Do not go changing permissions or ownership though, except to configuration.php as required for initial setup.
Title: Re: White Page Screen upon loging in as a registered user in a CMS site...
Post by: grisswold on October 21, 2008, 06:10:29 AM
registered user, I mean as a blog user.... just a plain blog user...
There might be something wrong file permission and ownership as u say....

Quote
If not that, then it may be a ibay php config issue. See
http://wiki.contribs.org/DB_Variables_Configuration#Apache_server_ibay_specific_.28httpd-e-smith.29

It says about the apache.... I dont have the apache package installed... Is that the problem?
Title: Re: White Page Screen upon loging in as a registered user in a CMS site...
Post by: janet on October 21, 2008, 06:38:08 AM
grisswold

If you are runninbg a web site on sme, then you do have apache installed !!!
Apache is the web server.
Title: Re: White Page Screen upon loging in as a registered user in a CMS site...
Post by: grisswold on October 21, 2008, 07:04:21 AM
thats what I thot so too...

but I ran "rpm -q apache" and it says package not installed... Shouldnt it show the version of apache or sumthin?...
Title: Re: White Page Screen upon loging in as a registered user in a CMS site...
Post by: warren on October 21, 2008, 08:58:13 AM
Quote
but I ran "rpm -q apache"

run : rpm -qa | grep apache

you should get : e-smith-apache-1.2.0-16.el4.sme
Title: Re: White Page Screen upon loging in as a registered user in a CMS site...
Post by: janet on October 21, 2008, 09:59:34 AM
warren

Quote
e-smith-apache-1.2.0-16.el4.sme

That's just the sme support for apache.

Try
rpm -qi httpd

Name        : httpd                        Relocations: (not relocatable)
Version     : 2.0.52                            Vendor: CentOS
Release     : 41.ent.centos4                Build Date: Fri 25 Jul 2008 05:18:52 PM EST
Install Date: Wed 17 Sep 2008 05:26:12 AM EST      Build Host: builder16.centos.org
Group       : System Environment/Daemons    Source RPM: httpd-2.0.52-41.ent.centos4.src.rpm
Size        : 2451362                          License: Apache Software License
Signature   : DSA/SHA1, Sun 27 Jul 2008 12:31:10 PM EST, Key ID a53d0bab443e1821
URL         : http://httpd.apache.org/
Summary     : Apache HTTP Server
Description :
Apache is a powerful, full-featured, efficient, and freely-available
Web server. Apache is also the most popular Web server on the
Internet.

Title: Re: White Page Screen upon loging in as a registered user in a CMS site...
Post by: byte on October 21, 2008, 06:59:47 PM
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
Title: Re: White Page Screen upon loging in as a registered user in a CMS site...
Post by: grisswold on October 22, 2008, 02:20:08 AM
yeah okay its there. I thought there was sumthin wrong with the update that it didn't recognize the apache....
But I still havnt got my problem solved. T_T
Ges i'll figure out wats real problem first so I cud be more specific in askin help with this.
Title: Re: White Page Screen upon loging in as a registered user in a CMS site...
Post by: janet on October 22, 2008, 03:49:42 AM
grisswold

I gave you a good suggestion to try and isolate the problem.
I suggest you  try it and then report back
ie
"I'd suggest you install Joomla using the Contrib from the wiki, and see if you have similar behaviour. Do not go changing permissions or ownership though, except to configuration.php as required for initial setup."