WebSite X5Help Center

 
Paul A.
Paul A.
User

PHP Problem  en

Auteur : Paul A.
Visité 2531, Followers 1, Partagé 0  

I have uploaded a new site to our dedicated Windows Server.

The site will not show live (although all thye content is present.)

The site is www.amanonabike.co.uk

The only error I can find in the eror logs is: PHP Warning: mysqli::mysqli(): (HY000/1045): Access denied for user ''@'localhost' (using password: NO) in D:\Plesk\VHOSTS\amanonabike.co.uk\httpdocs\res\x5engine.php on line 3752

PHP version is 5.4.45 (although I have tried all other versions as well.

Any help...?

Paul

Posté le
4 RéPONSES
Little-key .
Little-key .
User

This is the line 3752:
$this->db = new mysqli($host, $user, $pwd);

The mysql access data are incorrect:
Hostname or username or pw.

Lire plus
Posté le de Little-key .
Paul A.
Paul A.
User
Auteur

Little-key... thanks for your message...

Where do I cnbage the line of code... ? on the server or in X5

And why has this only occured on this site...?

Using X5 v13 Professional

Paul

Lire plus
Posté le de Paul A.
Paul A.
Paul A.
User
Auteur

Little-key... thanks for your help.

Resolved it myself...

Deleted the index.html page... :)

Paul

Lire plus
Posté le de Paul A.
Little-key .
Little-key .
User

The file on the webserver check the mysql data.

These are settings in x5 or other plugin.

Sorry for my bad english...

Lire plus
Posté le de Little-key .