Pages: « 12
Posted on 10-18-13, 09:57 pm
☭ coffee and cream


Karma: 10398
Posts: 1217/2766
Since: 06-26-11
Posted by Piranhaplant
You need to find a web host that gives you PHP and MySQL support. There are plenty of free hosts that do this, but you probably won't get to use your own domain.

Actually, most 'good' free hosts should allow you to use external domains if you have already registered them. I know bplaced allows this.
_________________________
Kuribo64 - RH-fucking-cafe - Kafuka

zrghij
Posted on 10-19-13, 07:43 am
All aboard the RandomTests train!

Karma: 789
Posts: 277/352
Since: 05-01-12
Posted by Haydn
Thanks,  Piranhaplant!

But, whenever I upload my files to the server (using FTP) and go onto my domain, I get this message:

Strict Standards: gettimeofday() [function.gettimeofday]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /www/zxq.net/f/e/a/featherev/htdocs/lib/common.php on line 33

Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user 'root'@'192.168.1.1' (using password: YES) in /www/zxq.net/f/e/a/featherev/htdocs/lib/mysql.php on line 9
Can't connect to the board database. Check the installation settings

You cannot simply move the board without moving the database. Copy your database, and change config/database.php to the values provided by your host. Your board is trying to connect to your database (hosted locally), but it cannot access it externally.

As for strict standards message, well, it shouldn't happen on well configured server, but as a workaround, use date_default_timezone_set("UTC"); at beginning of lib/common.php (just after <?php line).
Posted on 10-19-13, 10:00 am (rev. 2 by  P-Wing on 10-19-13, 10:01 am)
Spiny


Karma: 418
Posts: 510/586
Since: 12-02-12
<?php // AcmlmBoard XD support - Database settings $dbserv = 'featherev.comxa.com'; $dbuser = 'root'; $dbpass = 'ImNotTellingYou'; $dbname = 'abxd'; $dbpref = ''; ?>

Is that correct? Because Im getting this when I try to access my site at http://featherev.comxa.com/

Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/1130): Host '31.170.160.209' is not allowed to connect to this MySQL server in /home/a5622455/public_html/lib/mysql.php on line 9
Posted on 10-23-13, 08:47 pm
Spiny


Karma: 418
Posts: 517/586
Since: 12-02-12
Pages: « 12