Linode Forum Index Linode Forum
Linode Community Forums
 


drupal works on linode vps but not on local machine

Click here to go to the original topic

 
       Linode Forum Index -> General Discussion
Author Message
eranb22



Joined: 12 Nov 2009
Posts: 17

Posted: Sun Feb 14, 2010 4:06 am    Post subject: drupal works on linode vps but not on local machine  

Hi

centos 5.3

yum install httpd
yum install php

on both machines

local computer shows white page
vps shows drupal install page.


Thanks
Back to top  
eighty4



Joined: 14 Feb 2010
Posts: 1

Posted: Sun Feb 14, 2010 4:35 am    Post subject:  

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?
Back to top  
sednet



Joined: 17 Mar 2004
Posts: 157
Location: Europe

Posted: Sun Feb 14, 2010 5:13 am    Post subject: Re: drupal works on linode vps but not on local machine  

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.
Back to top  
eranb22



Joined: 12 Nov 2009
Posts: 17

Posted: Sun Feb 14, 2010 6:30 am    Post subject:  

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
Back to top  
eranb22



Joined: 12 Nov 2009
Posts: 17

Posted: Sun Feb 14, 2010 7:20 am    Post subject: apache error log  

[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
Back to top  
eranb22



Joined: 12 Nov 2009
Posts: 17

Posted: Sun Feb 14, 2010 1:03 pm    Post subject: I disabled clean url's  

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
Back to top  
eranb22



Joined: 12 Nov 2009
Posts: 17

Posted: Sun Feb 14, 2010 1:51 pm    Post subject: disabled clean url's  

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
Back to top  
RoryH



Joined: 11 Mar 2010
Posts: 9
Location: Ireland

Posted: Thu Mar 18, 2010 8:52 am    Post subject:  

Sounds like a simple rights issue, have you checked the rights set on the corresponding php file(s) on your local machine?
Back to top  
 
       Linode Forum Index -> General Discussion
Page 1 of 1