4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: stefano54 on July 02, 2014, 11:57:01 AM

Title: error after changing server
Post by: stefano54 on July 02, 2014, 11:57:01 AM
I moved my site to another server
I followed the steps as mentioned in another post
I changed the database parameters

Now on the new server I find this message

  "An unexpected error occured. Please try again later."

which is the file to check?

   new address   naturfoto. esy. es/

Thank you
stefano


 the message from key ALT + click on red message is:

An unexpected error occured. Please try again later.

Could not connect to the database server (mysql.hostinger.it, **********).

Title: Re: error after changing server
Post by: Rembrandt on July 02, 2014, 05:06:38 PM
Welcome to the Forum!
.....
which is the file to check?
.....

root/config.php

mfg Andi
Title: Re: error after changing server
Post by: stefano54 on July 02, 2014, 05:31:13 PM
Welcome to the Forum!
.....
which is the file to check?
.....

root/config.php

mfg Andi

Ok

the config.php file located in the root
this is the content

 *************************************************************************/

date_default_timezone_set("Europe/Berlin");

$db_servertype = 'mysql';
$db_host = 'mysql.hostinger.it';
$db_name = '***********';
$db_user = '************';
$db_password = '*******';

$table_prefix = '4images_';

define("4IMAGES_ACTIVE", 1);


the problem is in the server?

Tank You
Stefano
Title: Re: error after changing server
Post by: Rembrandt on July 02, 2014, 05:50:57 PM
....
$db_host = 'mysql.hostinger.it';
......
is this correct,are you are sure?

test this:

$db_host = 'localhost';
Title: Re: error after changing server
Post by: stefano54 on July 02, 2014, 06:17:38 PM
I have changed in  localhost

now the error is

An unexpected error occured. Please try again later.

Could not connect to the database server (localhost, u234698505_stef)
Title: Re: error after changing server
Post by: Rembrandt on July 02, 2014, 08:32:38 PM
fact is, your access data to your mysql database server is not correct.
maybe, ask in the Forum from your Provider (http://www.hostinger.it/forum).

mfg Andi