Page 1 of 1

Drupal not loading...

Posted: Wed Dec 23, 2009 5:31 am
by spaceman
I completed the one-click install of Drupal and the manual crontab entry seems to be fine. My 'crontab file' seems to be OK, it now looks exactly like this:

Code: Select all

36 16 * * * /etc/webmin/cron/template.pl * * * * * curl --silent --compressed http://drupal/cron.php
When I browse to http://drupal/ or http://drupal.mydomain.com or select Drupal from the Amahi Dashboard I simply get a blank page.

I'm using Amahi 4.1-1, do I require 5?

Re: Drupal not loading...

Posted: Wed Dec 30, 2009 7:46 am
by spaceman
[bump] It's a simple question? ;)

Re: Drupal not loading...

Posted: Wed Dec 30, 2009 12:04 pm
by cpg
hmm, i'm not sure what's going on.

if you can provide details from the error logs in /var/hda/web-apps/drupal/logs/

it may help understarnd what's up.

i think it may have been updated recently and not tested well enough in f10?
we need a capability to "freeze" app versions ...

Re: Drupal not loading...

Posted: Thu Dec 31, 2009 9:37 am
by spaceman
Man, the single most disturbing thing about that log is the size: 44.5 MB!

I put it on my website it's so HUGE. error_log

Re: Drupal not loading...

Posted: Thu Dec 31, 2009 3:41 pm
by cpg
whoa, yeah. only three lines are needed. the rest is repeated (*every minute of the day*)

Code: Select all

[Fri Dec 25 06:00:01 2009] [error] [client 192.168.1.10] PHP Warning: Table 'drupal.access' doesn't exist\nquery: SELECT 1 FROM access WHERE type = 'host' AND LOWER('192.168.1.10') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1 in /var/hda/web-apps/drupal/html/includes/database.mysqli.inc on line 128 [Fri Dec 25 06:00:01 2009] [error] [client 192.168.1.10] PHP Warning: Table 'drupal.cache' doesn't exist\nquery: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in /var/hda/web-apps/drupal/html/includes/database.mysqli.inc on line 128 [Fri Dec 25 06:00:01 2009] [error] [client 192.168.1.10] PHP Warning: Table 'drupal.variable' doesn't exist\nquery: SELECT * FROM variable in /var/hda/web-apps/drupal/html/includes/database.mysqli.inc on line 128 [Fri Dec 25 06:00:01 2009] [error] [client 192.168.1.10] PHP Notice: Undefined variable: variables in /var/hda/web-apps/drupal/html/includes/bootstrap.inc on line 480 [Fri Dec 25 06:00:01 2009] [error] [client 192.168.1.10] PHP Warning: Table 'drupal.cache' doesn't exist\nquery: UPDATE cache SET data = '', created = 1261720801, expire = 0, headers = '', serialized = 0 WHERE cid = 'variables' in /var/hda/web-apps/drupal/html/includes/database.mysqli.inc on line 128 [Fri Dec 25 06:00:01 2009] [error] [client 192.168.1.10] PHP Notice: Undefined variable: variables in /var/hda/web-apps/drupal/html/includes/bootstrap.inc on line 487 [Fri Dec 25 06:00:01 2009] [error] [client 192.168.1.10] PHP Warning: Table 'drupal.system' doesn't exist\nquery: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC in /var/hda/web-apps/drupal/html/includes/database.mysqli.inc on line 128 [Fri Dec 25 06:00:01 2009] [error] [client 192.168.1.10] PHP Warning: Table 'drupal.url_alias' doesn't exist\nquery: SELECT COUNT(pid) FROM url_alias in /var/hda/web-apps/drupal/html/includes/database.mysqli.inc on line 128
this part about a table not existing tells me there is something real bad going on. somehow the database was not built properly.

the simplest for us would be if you can somehow upgrade to amahi 5, because amahi 4 is just in maintenance mode (only emergency updates).

i assume you have tried an uninstall and a reinstall?

Re: Drupal not loading...

Posted: Fri Jan 01, 2010 7:21 am
by spaceman
Fair play. I know, form bitter experience myself, that you gotta ask, I did uninstall reinstall as a simple first step in troubleshooting.

As regards the error_log should it be allowed to ballow to (and passed) 45 Mb? Is there a way to stop that?

I would be more than happy to try breaking my server, sorry upgrading my server to Amahi 5. Are there instructions? Where would I start? Is there a simple upgrade path yet? :mrgreen:

Re: Drupal not loading...

Posted: Sat Jan 02, 2010 1:31 pm
by cpg
sorry, no easy upgrade option. you can try it, but be prepared to bail out.

we decided we did not have enough manpower to test or support that, since there are so many possibilities. please convince your techie friends to help with amahi, and also think about the donate ... if you see ads in amahi that interest you, check them out ... it contributes to the project too :)

you can try updating fedoa 10 to fedora 12. however, the amahi system will need updating, and it has changed so radically that the database will need wiping, so wipe the db and reinstall. too complex to upgrade.

:(

as for your issue ... check and see if you can figure out the database issues with phpmyadmin or something. make sure the db is there ...