Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Feb 14, 2010 5:06 am 
Offline
Senior Newbie

Joined: Thu Nov 12, 2009 6:54 pm
Posts: 17
Hi

centos 5.3

yum install httpd
yum install php

on both machines

local computer shows white page
vps shows drupal install page.


Thanks


Top
   
 Post subject:
PostPosted: Sun Feb 14, 2010 5:35 am 
Offline

Joined: Sun Feb 14, 2010 5:23 am
Posts: 1
You're leaving out a lot of information.

Are both machines up to date? Have you updated both machines, so that they run the same php/apache?

Have you enabled php errors? Do you get any errors in the apache logs?

I've had problems with drupals .htaccess before, can't really remember what. If you remove that does it load?


Top
   
PostPosted: Sun Feb 14, 2010 6:13 am 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
eranb22 wrote:
local computer shows white page
vps shows drupal install page.



A totally random guess:

Check php.ini specifies a memory_limit of at least 32M.
php.ini is in /etc/php4/apache2 on my system.


Top
   
 Post subject:
PostPosted: Sun Feb 14, 2010 7:30 am 
Offline
Senior Newbie

Joined: Thu Nov 12, 2009 6:54 pm
Posts: 17
thanks ....

the drupal from drupal.org is now working , but still there is a white page on my computer when trying the drupal files from hotdrupal.com


php version is 5.1.6

in hotdrupal.they use 5.2.12


===============

Are both machines up to date? Have you updated both machines, so that they run the same php/apache?
-----------
they both fresh installed centos 5.3 with same php/apache versions.






Have you enabled php errors? Do you get any errors in the apache logs?
----------------

don't know how to enable that


Top
   
 Post subject: apache error log
PostPosted: Sun Feb 14, 2010 8:20 am 
Offline
Senior Newbie

Joined: Thu Nov 12, 2009 6:54 pm
Posts: 17
[root@localhost logs]# tail error_log
-------------
[Sun Feb 14 16:18:18 2010] [error] [client 127.0.0.1] PHP Notice: Trying to get property of non-object in /var/www/html/includes/theme.inc on line 418
[Sun Feb 14 16:18:18 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: minnelli in /var/www/html/includes/theme.inc on line 965
[Sun Feb 14 16:18:18 2010] [error] [client 127.0.0.1] PHP Notice: Trying to get property of non-object in /var/www/html/includes/theme.inc on line 977
[Sun Feb 14 16:18:18 2010] [error] [client 127.0.0.1] PHP Notice: Trying to get property of non-object in /var/www/html/includes/theme.inc on line 986
[Sun Feb 14 16:18:18 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: minnelli in /var/www/html/includes/theme.maintenance.inc on line 217
[Sun Feb 14 16:18:18 2010] [error] [client 127.0.0.1] PHP Notice: Trying to get property of non-object in /var/www/html/includes/theme.maintenance.inc on line 217
[Sun Feb 14 16:18:18 2010] [error] [client 127.0.0.1] PHP Warning: array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in /var/www/html/includes/theme.maintenance.inc on line 220
[Sun Feb 14 16:18:18 2010] [error] [client 127.0.0.1] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/includes/theme.maintenance.inc on line 220
[Sun Feb 14 16:18:18 2010] [error] [client 127.0.0.1] PHP Warning: include(./themes/garland/maintenance-page.tpl.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /var/www/html/includes/theme.inc on line 1020
[Sun Feb 14 16:18:18 2010] [error] [client 127.0.0.1] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening './themes/garland/maintenance-page.tpl.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/includes/theme.inc on line 1020


Top
   
 Post subject: I disabled clean url's
PostPosted: Sun Feb 14, 2010 2:03 pm 
Offline
Senior Newbie

Joined: Thu Nov 12, 2009 6:54 pm
Posts: 17
I see



http://127.0.0.1/index.php



forbidden

You don't have permission to access /index.php on this server.
Apache/2.2.3 (CentOS) Server at 127.0.0.1 Port 80


Top
   
 Post subject: disabled clean url's
PostPosted: Sun Feb 14, 2010 2:51 pm 
Offline
Senior Newbie

Joined: Thu Nov 12, 2009 6:54 pm
Posts: 17
I see


Forbidden

You don't have permission to access /index.php on this server.
Apache/2.2.3 (CentOS) Server at 127.0.0.1 Port 80


-------

instead of a white page


Top
   
 Post subject:
PostPosted: Thu Mar 18, 2010 9:52 am 
Offline
Senior Newbie

Joined: Thu Mar 11, 2010 10:42 am
Posts: 15
ICQ: 33922655
Location: Ireland
Sounds like a simple rights issue, have you checked the rights set on the corresponding php file(s) on your local machine?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group