Open-AudIT https://www.open-audit.org/phpBB3/ |
|
Page not loading after transfer https://www.open-audit.org/phpBB3/viewtopic.php?f=10&t=3726 |
Page 1 of 1 |
Author: | aliaspeter [ Mon Jul 19, 2010 8:31 am ] | ||
Post subject: | Page not loading after transfer | ||
Hi, Have moved a copy of OA to a new server (Ubuntu Linux 10.04). Contents and database easily transferred but the home page doesn't load correctly, see screen-shot. What have I missed? Thanks
|
Author: | barry [ Wed Jul 21, 2010 9:48 am ] |
Post subject: | Re: Page not loading after transfer |
Check your error log: $ tail -f /var/log/apache2/error.log Make sure apache (php, Open-AudIT) can talk to your mysql process. 1. Check the mysql connection settings in include_config.php: $ grep -e'$mysql' /{wwwroot}/include_config.php 2. Check mysql is running: $ ps ax |grep mysql 3. Check port 3306 is not being blocked by a firewall, or php can find the mysql socket $ grep socket /etc/my.cnf socket = /var/run/mysql/mysql.sock 4. Check mysql module is installed: $ cat /{wwwroot}/info.php <?php phpinfo(); ?> browse to: http://myserver/info.php look for "mysql" etc, etc, etc |
Author: | acraiger [ Thu Jan 12, 2012 3:02 am ] |
Post subject: | Re: Page not loading after transfer |
Having exact same problem. In the /var/log/apache2/error.log I get the message below: [Wed Jan 11 09:52:19 2012] [error] [client 10.182.128.22] File does not exist: /usr/share/javascript/ajax.js, referer: http://open-audit/index.php [Wed Jan 11 09:52:19 2012] [error] [client 10.182.128.22] File does not exist: /usr/share/javascript/include.js, referer: http://open-audit/index.php |
Author: | jpa [ Thu Jan 12, 2012 3:19 am ] |
Post subject: | Re: Page not loading after transfer |
Not to belabor the obvious but check that /usr/share/javascript/ajax.js exists. |
Author: | acraiger [ Thu Jan 12, 2012 3:37 am ] |
Post subject: | Re: Page not loading after transfer |
I just checked that and it does not exist. This file exists under the Open-Audit directory under the javascript folder. So I copied the two files to where the program was looking, and it now works. So I just have to figure out why it looks for these file under these folders when I try to use a virtualhost. It was working before without the virtualhost I created, but I did not want to use http://servername/open-audit Now it goes to http://open-audit Thanks for your suggestion. |
Author: | jpa [ Thu Jan 12, 2012 3:57 am ] |
Post subject: | Re: Page not loading after transfer |
You'll need to check the DocumentRoot setting for your VirtualHost config. |
Page 1 of 1 | All times are UTC + 10 hours |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |