Jump to content

Error Message when using Field search facility


Go to solution Solved by Adam,

Recommended Posts

Hi,

 

I have built an application in PHPRunner. Everything is ok except on my search facility.

 

Normal Search works fine. However when ever I try to search by a specific column I get the error message: -

Forbidden

You don't have permission to access /pgcommission/tblworklistV2_list.php on this server.

 

I have taken advice and read several forums etc and I am told it is due to File Permissions. I have tried every combination I can on both my _List.php and _search.php files for the respective Table but to no avail.

 

Is there someone out there that can give me a fresh perspective on this and make suggestions?

 

Many thanks desperate,

Carl.

Link to comment
Share on other sites

  • Solution

Sounds like Apache is blocking access, not a file permission issue. If you're using Apache >= 2.4.6, you need to permit access to the directory in the Apache config with:

<Directory /path/to/files>
    Require all granted
</Directory>

Prior to that you need to use:

<Directory /path/to/files>
    Allow from all
</Directory>

You can, and possibly should, improve the specificity of those directives though. Read here for more help on how to use them.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.