You don't have permission to access /db/install.php on this server.

ceutracker

New member
I've copied all the files from the "program files" to my server in the URL path of http://ceu-tracker.com/db/ and when I start install.php via http://ceu-tracker.com/db/install.php I get

install-error-screen.jpg


So all looks good and I click on the INSTALL button and get this error message:

Forbidden

You don't have permission to access /db/install.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


All files in the directory from /db/ down are set to 755

Here's the required details

dbms_type = mysql
dadabik_version = 6.3 PRO
os = Linux
php_version = 5.4.41
Apache Version 2.2.29
date_time = 2015-07-30 22:21:03
 

eugenio

Administrator
Staff member
No, that config parameter shouldn't affect the action; could you post here line 384 of the install.php file you have here
http://ceu-tracker.com/db/install.php
?
 

ceutracker

New member
Here line 384:

echo "<p><form name=\"install_form\" action=\"install.php?table_name=".urlencode($table_name)."\" method=\"post\">";
 

eugenio

Administrator
Staff member
The first time I visited your page, looking at the source of install.php, I saw db/install.php as action, now the "db" part has disappeared. Have you changed it back?

You must be 100% sure you are using the files exactly as downloaded from www.dadabik.org otherwise it is impossible to debug your issue. Please try a new installation on a different DB and folder (e.g. /db_2), extracting the files from the original .zip and changing only config.php.
 

ceutracker

New member
Brand new directory and the only file changed was config.

http://ceu-tracker.com/dada/install.php


SAME ERROR MESSAGE!!!

Forbidden

You don't have permission to access /dada/install.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
 

eugenio

Administrator
Staff member
I am clueless, it's the first time I see this behaviour. Also, there is something I don't understand: I am 100% sure that the first time I saw your installation there was an hard-coded /db in the script. Did you add it and then remove it?

The only thing we can do is trying to see what is going on on your server, but we need FTP user and password AND the .zip archive you are using. If you want you can send everything via email to suppport at dadabik dot org. Please use a temporary user account having only the privileges needed.
 

ceutracker

New member
OK, I sent you an email to the support account with the temporary FTP account.

There is a databik.6.3.Pro directory with everything in it.

The production directory is dada
 

ceutracker

New member
So I tried emailing the email address and it was rejected:

Delivery to the following recipient failed permanently:

suppport at dadabik dot org

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain dadabik.org by mx2.sub4.homie.mail.dreamhost.com. [69.163.253.137].

The error that the other server returned was:
550 5.1.1 <suppport at dadabik dot org>: Recipient address rejected: User unknown in virtual alias table
 

eugenio

Administrator
Staff member
You have to replace at with @ and dot with .

We also need the original ZIP file you used.
 

ceutracker

New member
I know, I was trying NOT to put it in plain text for someone to scan the board. I tried resending, let me know if you get it.
 

eugenio

Administrator
Staff member
There is no databik.6.3.Pro directory in the root.
Please send us the ZIP file via email.
 

eugenio

Administrator
Staff member
It seems like you have some security filter on your server which prevents some URLs to be executed based on some patterns.

I have created a simple php file test.php, which just prints out the word "test":

http://ceu-tracker.com/dadabik_eugenio/test.php

it works but if I add a variable to the URL:

http://ceu-tracker.com/dadabik_eugenio/test.php?table_name=

I get the forbidden message.

You should ask your hosting provider for support.

Cheers,
 

ceutracker

New member
The problem seems to be with the parameter "table_name". I used your test program with just "tablename" all one word and it worked fine. Any reason you need to use that specific variable name?

test-install-problem-1.jpg
 

eugenio

Administrator
Staff member
No particular reason, it's just a variable name. You could change all the occurrences in the code but maybe then you realize that another URL, produced by DaDaBIK or another software, produces the error.

As I said, I would discuss the issue with your hosting provider; it doesn't seem reasonable to me that the server doesn't accept such parameters.
 

ceutracker

New member
So I edited your code to get rid of any URI that includes "table_name" and use "tablename" instead and I'm installed and up and running.

"table_name" is a reserved word in lots of SQL databases, you might want to refactor your code to use more unique variable names.
 
Top