Hi everyone,
i use drupal 6.20, on windows 7, with aquia dev desktop 1.2.37 (2.2.17 for Apache, 5.1.54 for Mysql).
my issue came up after I wanted to access a site from the network i'm in. I went to the httpd.conf file, edited the locations so it could find the site i've been working on, and finally got it to connect to the site, but i always receive the site off-line page.
the error is
The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.
If you are the maintainer of this site, please check your database settings in the settings.php file and ensure that your hosting provider's database server is running. For more help, see the handbook, or contact your hosting provider.
The mysqli error was: Can't connect to MySQL server on 'localhost' (10061).
The syntax for the site is ip/index.php. I tried to add "/user", "/?q=admin", "/?q=user" , "?q=user" but none work.
The settings.php file from beta-site\sites\default has this line - when refering to the database - line 87
Database URL format:
* $db_url = 'mysql://username:password@localhost/databasename';
* $db_url = 'mysqli://username:password@localhost/databasename';
* $db_url = 'pgsql://username:password@localhost/databasename';
*/
$db_url = 'mysqli://root@localhost/site_beta';
$db_prefix = '';
One thing to mention is that if i want to access the site from aquia dev desktop it works.
the link i use to connect to the site lcoally is http://beta_site:8082/
and to connect to the site from another computer in the network is 192.xxx.x.xxx/index.php
so i'd love if someone could help explain me what should i do next so i can actually access the site from another location.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | working on host.png | 77.97 KB | jpjoshua |
| #2 | incorrect.png | 116.16 KB | jpjoshua |
Comments
Comment #1
v1zzar3 commentedi reinstalled the site on a wamp server, moved everything, disabled firewall and it worked. Must have been some apache / mysql problem. The issue can be closed thanks.
Comment #2
jpjoshua commentedHi
I am having a similar issue , I installed aquia drupal stack installer in a win 7 machine , the site works fine in the host system but if I try to access from another system in the network i dont get the pictures properly , I have attached both the screen shots , some body please help .
Regards
Jpjoshua