frankagrubisic / clients-oriented-ftp

Automatically exported from code.google.com/p/clients-oriented-ftp
0 stars 0 forks source link

Table Prefix doesn't work #510

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a tables_prefix in config
2. Install
3. Try to log in

What is the expected output? What do you see instead?
A login screen is expected, but the install screen is shown
error: BASE_URI

What version of the product are you using? On what operating system?
r561

Please provide any additional information below.
In the code all db queries include the default 'tbl' prefix, see f.i. 
/includes/site.options.php line 18

In my logs I get an error like this:
 File does not exist: .../httpdocs/filemanager/install/BASE_URIincludes, referer: .../filemanager/install/index.php 

Original issue reported on code.google.com by n...@feka.nl on 21 Nov 2014 at 8:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The default tabel prefix has to be set as tbl_ or it breaks for some reason.
**define('TABLES_PREFIX', 'tbl_');

After the config file is set, you have to run the INstall page the first time.

Original comment by crashf...@gmail.com on 13 Jan 2015 at 9:12

GoogleCodeExporter commented 9 years ago
Sorry, the tables prefix config is not implemented yet.
It's a placeholder. This is something I'd like to finish for the next release. 
Sorry!

Original comment by i...@subwaydesign.com.ar on 13 Jan 2015 at 9:33

GoogleCodeExporter commented 9 years ago
Just ran into this issue, I defined a different TABLES_PREFIX in the 
sys.config.php file prior to the installation. However on my side the 
installation completed correctly, but the installation page reappears everytime 
as if it was never installed. There should be a warning to avoid changing this 
variable in the comments of sys.config.php!

Original comment by eti.ga...@gmail.com on 26 May 2015 at 5:41