Jump to content

Edit History

Miroo

Miroo

On 8/27/2018 at 2:31 PM, zimmer-media said:

On the same server with a PS 1.6. Version it works without any prolems.
Only with PS 1.7 does it appear, despite the changes, not to connect to the database.

I do not know if the changes are correct. My knowledge with php and myswql is not so good.

Paste this and show errors:

error_reporting(E_ALL);
ini_set('display_errors', true);

 

On PS 1.7 works but I must writed settings to database manualy:

$database_host = 'localhost';
$database_port = '';
$database_name = 'XXXX';
$database_user = 'XXXXXXX';
$database_password = 'XXXXXXX';

and

$db = new PDO('mysql:host=localhost;dbname=XXXX', $database_user , $database_password);

 

Miroo

Miroo

On 8/27/2018 at 2:31 PM, zimmer-media said:

On the same server with a PS 1.6. Version it works without any prolems.
Only with PS 1.7 does it appear, despite the changes, not to connect to the database.

I do not know if the changes are correct. My knowledge with php and myswql is not so good.

Paste this and show errors:

error_reporting(E_ALL);
ini_set('display_errors', true);

 

On PS 1.7 works but I must writed settings to database manualy:

$database_host = 'localhost';
$database_port = '';
$database_name = 'XXXX';
$database_user = 'XXXXXXX';
$database_password = 'XXXXXXX';

and

$db = new PDO('mysql:host=localhost;dbname=XXXX', $database_user , $database_password);

×
×
  • Create New...