login page is blank after 1.3.0 installation

Please post all install related problems here. Visit this forum first for troubleshooting.
stagai
Posts: 17
Joined: Sat 24. Mar 2007, 02:16

login page is blank after 1.3.0 installation

Post by stagai »

Hey All:

I am new as a thread poster, but have been using the forum for a few years now. Thank you Oliver and all else who take part in the development and support of phpWCMS. It is awesome.

Anyhow, the reason for my post.

MySQL 4.1.20
PHP Version 4.3.9

I am able to install 1.2.6 and other previous versions without a problem. I am able to login and use all the functionality (that I need) without a problem. However, when I try to install a fresh copy of 1.3.0, following the same/similar steps as 1.2.6, I end up with a blank login.php page.

I have no idea where to start. I have looked through most of the installation issues for 1.3.0 and came across a thread that described similar problems. However, the issue regarding that thread was the changing of upper and lower case letters during FTP. I use secure shell to upload files to my server, and have checked the cases for a few files and they all seem to be the same.

I have my root website using 1.1-RC4 22-06-2004, and sub-sites (is that a word?) using newer versions of phpwcms and those all seem to work fine. This new installation I am attempting will also be a subdirectory of the root site.

Obviously it's hard to diagnos the problem without any logs. If you can tell me what to post I would gladly do so. If you could help, I'd greatly appreciate it. Thank you very much.
stagai
Posts: 17
Joined: Sat 24. Mar 2007, 02:16

Post by stagai »

phpWCMS Community:

I thought I would post this up to help resolve the issue.

root site:
http://nutrition.arizona.edu
/var/www/html/

I am trying to install 1.3.0 into a subdirectory snc thus making:
http://nutrition.arizona.edu/snc
/var/www/html/snc/


The following are the original values that the setup application put into the conf.inc.php file:

$phpwcms['site'] = 'http://nutrition.arizona.edu/';
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];// real DOC_ROOT seems to be: '/var/www/html//inc'
$phpwcms['root'] = 'snc'; //default: ''

Thank you.
stagai
Posts: 17
Joined: Sat 24. Mar 2007, 02:16

Post by stagai »

Thank you to everyone who has taken the time to read the above posts. I still seem to have problems displaying the login page. I am quite certain that I am installing version 1.3.0 correctly. I took similar steps in installing 1.3.0 as I have in the past with other versions (up to 1.2.6).

I attempted to install 1.2.9, however, I ran into the same problem as 1.3.0 and was not able to see any of the login.php page.

If I can remember correctly, the current site that I am trying to put up was a site that previously used 1.2.7. I attempted to upgrade the site to 1.3.0, but ran into some problems, so I decided to delete the whole site and install a fresh copy of 1.3.0. Could there be some sort of trash collection problem with the server?

Are the path values correct to the previous posting?

And if there is anything more that I can post to perhaps help diagnos the problem, please let me know. Thank you very much.
Last edited by stagai on Fri 20. Apr 2007, 02:12, edited 1 time in total.
mcclausky
Posts: 8
Joined: Fri 20. Apr 2007, 02:07

Post by mcclausky »

stagai wrote:Thank you to everyone who has taken the time to read the above posts. I still seem to have problems displaying the login page. I am quite certain that I am installing version 1.3.0 correctly. I took similar steps in installing 1.3.0 as I have in the past with other versions (up to 1.2.6).

I attempted to install 1.2.9, however, I ran into the same problem as 1.3.0 and was able to see any of the login.php page.

If I can remember correctly, the current site that I am trying to put up was a site that previously used 1.2.7. I attempted to upgrade the site to 1.3.0, but ran into some problems, so I decided to delete the whole site and install a fresh copy of 1.3.0. Could there be some sort of trash collection problem with the server?

Are the path values correct to the previous posting?

And if there is anything more that I can post to perhaps help diagnos the problem, please let me know. Thank you very much.

I have exactly the same problem after installing version 1.3.0. The root page index.php appears totally blank.

Please help.

Thanks.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

stagai wrote:I still seem to have problems displaying the login page.
*SNIP*
was (NOT) able to see any of the login.php page.
stagai seemed to have a different problem with--> no login page
mcclausky wrote:I have exactly the same problem after installing version 1.3.0. The root page index.php appears totally blank.
Your problem sounds like it ~could~ be because you have not created any content? Or have you?
stagai
Posts: 17
Joined: Sat 24. Mar 2007, 02:16

Post by stagai »

DeXXus wrote:
stagai wrote:I still seem to have problems displaying the login page.
*SNIP*
was (NOT) able to see any of the login.php page.
stagai seemed to have a different problem with--> no login page
mcclausky wrote:I have exactly the same problem after installing version 1.3.0. The root page index.php appears totally blank.
Your problem sounds like it ~could~ be because you have not created any content? Or have you?
DeXXus:

Thank you for the correction. Yeah. I have a blank login page.
mcclausky
Posts: 8
Joined: Fri 20. Apr 2007, 02:07

Post by mcclausky »

Well, I tried to access login.php, but the page appears blank.

Any suggestions?

Thank you.
mcclausky
Posts: 8
Joined: Fri 20. Apr 2007, 02:07

Post by mcclausky »

mcclausky wrote:Well, I tried to access login.php, but the page appears blank.

Any suggestions?

Thank you.

Any help please?
mick
Posts: 4
Joined: Tue 1. May 2007, 06:07
Location: New Zealand

Post by mick »

I have the same problem. It appears to be related to a php upgrade. Happened with 1.2.5-DEV and now with 1.3.2. Both index.php and login.php are blank (nothing returned). Could someone help please?

I have (or, had) lots of content so that isn't the problem..
wget intranet.imstt2.lan/phpwcms/
--15:53:04-- http://intranet.imstt2.lan/phpwcms/
=> `index.html'
Resolving intranet.imstt2.lan... 192.168.1.204
Connecting to intranet.imstt2.lan|192.168.1.204|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]

[ <=> ] 0 --.--K/s

15:53:04 (0.00 B/s) - `index.html' saved [0/0]
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Delete index.html! Seems it was there as place holder on your account. phpwcms does not contain index.html inside root directory.

And normally web server always try to load index.html at first if present.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
mick
Posts: 4
Joined: Tue 1. May 2007, 06:07
Location: New Zealand

Post by mick »

There is no index.html
# ls -l
total 268
-rwxr-xr-x 1 www-data www-data 44037 2007-04-26 19:15 changelog.txt
drwxr-xr-x 3 www-data www-data 4096 2007-04-26 09:49 config
drwxr-xr-x 9 www-data www-data 4096 2007-04-26 09:49 content
-rwxr-xr-x 1 www-data www-data 2064 2007-04-26 09:49 dbdown.php
-rwxr-xr-x 1 www-data www-data 3715 2007-04-26 09:49 download.php
-rwxr-xr-x 1 www-data www-data 8751 2007-04-26 09:49 feeds.php
drwxr-xr-x 3 www-data www-data 4096 2007-04-26 09:49 filearchive
-rwxr-xr-x 1 www-data www-data 16623 2007-04-26 09:49 filebrowser.php
-rwxr-xr-x 1 www-data www-data 9379 2007-04-26 09:49 fileinfo.php
-rwxr-xr-x 1 www-data www-data 16461 2007-04-26 09:49 GPL.html
-rwxr-xr-x 1 www-data www-data 17993 2007-04-26 09:49 GPL.txt
-rwxr-xr-x 1 www-data www-data 1591 2007-04-26 09:49 _.htaccess
-rwxr-xr-x 1 www-data www-data 4211 2007-04-26 09:49 image_resized.php
-rwxr-xr-x 1 www-data www-data 2415 2007-04-26 09:49 image_zoom.php
drwxr-xr-x 18 www-data www-data 4096 2007-04-26 09:51 img
drwxr-xr-x 12 www-data www-data 4096 2007-04-26 09:55 include
-rwxr-xr-x 1 www-data www-data 8720 2007-04-26 09:49 index.php
-rwxr-xr-x 1 www-data www-data 2641 2007-04-26 09:49 LICENSE.txt
-rwxr-xr-x 1 www-data www-data 15812 2007-04-26 09:49 login.php
drwx------ 13 root root 4096 2007-05-01 15:52 old
-rwxr-xr-x 1 www-data www-data 27249 2007-04-26 09:49 phpwcms.php
drwxr-xr-x 3 www-data www-data 4096 2007-04-26 09:55 picture
-rwxr-xr-x 1 www-data www-data 1425 2007-04-26 09:49 rss.php
drwxr-xr-x 5 www-data www-data 4096 2007-04-26 09:55 setup
-rwxr-xr-x 1 www-data www-data 4410 2007-04-26 09:49 sitemap.php
drwxr-xr-x 13 www-data www-data 4096 2007-04-26 09:55 template
drwxr-xr-x 2 www-data www-data 4096 2007-04-26 09:55 upload
-rwxr-xr-x 1 www-data www-data 3528 2007-04-26 09:49 verify.php
I'm using php4 4.4.4-8+etch2
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

but check your quote above... "index.html" -> shouldn't this be "index.php"?

Don't know why this happens. Maybe php error results in blank page? As far I know there is no error on login.php or notice or warning... Check your settings again...

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
mick
Posts: 4
Joined: Tue 1. May 2007, 06:07
Location: New Zealand

Post by mick »

Oliver Georgi wrote:but check your quote above... "index.html" -> shouldn't this be "index.php"?

Don't know why this happens. Maybe php error results in blank page? As far I know there is no error on login.php or notice or warning... Check your settings again...

Oliver
I think it's just wget being silly.

Will check my config again, there must be an include or something stopping the display of the page..

It seems to die after this line in index.php
require_once (PHPWCMS_ROOT.'/include/inc_lib/dbcon.inc.php');

which is because of this line in /include/inc_lib/dbcon.inc.php
$db = @mysql_connect($phpwcms["db_host"], $phpwcms["db_user"], $phpwcms["db_pass"]) or ($is_mysql_error = true);
mick
Posts: 4
Joined: Tue 1. May 2007, 06:07
Location: New Zealand

Post by mick »

Have figured out the problem - I didn't have php4-mysql installed. phpwcms should probably check if this is installed :)
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Oh no? I always try to avoid such checks because it makes system slower and slower. Such module is elementary and described as required.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply