xataface and ovh provider

Archived from the Xataface Users forum.

alphanet — Sat Nov 07, 2009 1:20 pm

Hi all, I’m trying the nice xataface mysql frontend on an OVH provider shared space. I encountered 2 problems :

  • a 500 internal error due to the fact that index.php and installer.php are RW.RW.R.. If I change to RW.R..R.. it goes right

  • The SQL database is on a server that is not the web server and I did not find how to specify the database server to the installer.php

Do someone has any idea about hose two points?

Thanks


shannah — Mon Nov 09, 2009 9:58 am

For the database host issue, find the line in installer.php that looks like:

Code: Select all
define('DB_HOST', 'localhost');  // This is the host of your mysql dbms

And change it to the correct host.

-Steve


alphanet — Mon Nov 09, 2009 11:21 pm

Ok Thanks. I thought that there was a way to override this parameter with another file (in case of xataface upgrade).

The internal 500 error was a bad message due to the database server misconfiguration. The explanation worked but it was a workaround. When I correct the database server name I can keep the RW.RW.R.. rights.