View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 08916 | Bug reports | Survey editing | public | 2014-03-28 14:06 | 2014-04-01 17:19 |
| Reporter | jjxice46 | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 2.05+ | ||||
| Summary | 08916: Unable to upload images to survey (description text area) | ||||
| Description | Since updating to Version 2.05+ Build 140320 i have noticed that you are no longer able to upload images to a survey in the Edit survey text elements section. When attempting to do this you receive a message stating "you do not have permissions". In our case i have tried a fresh installed and given the entire directory full read write permissions and it still does not work. However, if you are in the template editor you are free to upload images to that section. This issue also did not seem to be present in the last build of limesurvey (build 140317) | ||||
| Steps To Reproduce | Create or import a survey | ||||
| Additional Information | This issue does not seem to happen in the template editor, you are free to upload files without error. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | Build 140320 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | SQL Server 2012 | ||||
| Server OS (if known) | Windows Server 2012 | ||||
| Webserver software & version (if known) | IIS8 | ||||
| PHP Version | PHP 5.4.14 | ||||
| Git branch / Pull Request URL | |||||
|
We found a similiar problem, but not due to access rights. When starting the browse action, the pop-up window opens the php file in a text editor. Please see images above.. |
|
|
Browser: Firefox 27.0.1. |
|
|
rfaber, can you reproduce your issue in the demo? |
|
|
jjxice46, which browser are you using? |
|
|
This issue for me happens in chrome 33.0.1750.154m |
|
|
jjxice46, I cannot reproduce. Can you reproduce the issue using our demo installation? If yes please let me know the exact steps. rfaber: I am pretty sure that your problem is a server misconfiguration. |
|
|
Yes i can reproduce on the demo server. The exact steps i am dong are: Login to demo site after that you will get the error. let me know if this helps |
|
|
.htaccess in the thirdparty/kcfinder seems to be the problem third_party/kcfinder turns out to have the .htaccess file copied from the third_party/kcfinder/upload I don't know how that happended, but by doing a quick scan of the code it can be that kcfinder copied it in itself maybe due to some configuration bugs in the past. To fix the problem, delete the file /third_part/kcfinder/.htaccess |
|
|
@jjxice46: Permission problem on demo is ok I think, I think that optio was disabled on purpose. On your own server, check the permissions on the /upload/surveys/xxxx (where xxx is the id of the survey). It should be writable by the webserver. |
|
|
@mdekker: I set permissions to allow full control to everything and i still get the error, i haven't tested on Linux yet as our primary server is windows server 2012. |
|
|
If it is a windows server then it is a configuration issue of IIS most probably. You have to make sure that the full /upload directory (and subdir) has full permissions to be written by the webserver. |
|
|
So i installed limesurvey on our linux machine and i cant reproduce the error on that machine so im fairly confident something has happened witht he windows permissions, ill try to figure it out but i am pretty confident that its not limesurvey at this point. I thank you all for looking into this and i apologize for not testing on linux, usually i dont end up doing this unless its something strange like this case. |
|
|
No problem. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-03-28 14:06 | jjxice46 | New Issue | |
| 2014-03-28 16:18 | rfaber | File Added: screenshot1435.png | |
| 2014-03-28 16:18 | rfaber | File Added: screenshot1434.png | |
| 2014-03-28 16:19 | rfaber | File Added: screenshot1436.png | |
| 2014-03-28 16:19 | rfaber | Note Added: 29585 | |
| 2014-03-28 16:21 | rfaber | Note Added: 29586 | |
| 2014-03-28 16:37 | c_schmitz | Note Added: 29587 | |
| 2014-03-28 16:37 | c_schmitz | Note Added: 29588 | |
| 2014-03-28 16:39 | jjxice46 | Note Added: 29589 | |
| 2014-03-28 18:01 | c_schmitz | Note Edited: 29587 | |
| 2014-03-28 18:02 | c_schmitz | Assigned To | => c_schmitz |
| 2014-03-28 18:02 | c_schmitz | Status | new => assigned |
| 2014-03-29 16:39 | c_schmitz | Note Added: 29604 | |
| 2014-03-29 16:39 | c_schmitz | Status | assigned => feedback |
| 2014-03-29 17:54 | jjxice46 | Note Added: 29606 | |
| 2014-03-29 17:54 | jjxice46 | Status | feedback => assigned |
| 2014-03-31 11:23 | mdekker | Note Added: 29616 | |
| 2014-03-31 12:21 | mdekker | Note Edited: 29616 | |
| 2014-03-31 12:21 | mdekker | Note Edited: 29616 | |
| 2014-03-31 12:23 | mdekker | Note Added: 29618 | |
| 2014-03-31 18:06 | jjxice46 | Note Added: 29630 | |
| 2014-03-31 18:53 | c_schmitz | Note Added: 29631 | |
| 2014-03-31 20:59 | jjxice46 | Note Added: 29632 | |
| 2014-04-01 17:19 | c_schmitz | Note Added: 29639 | |
| 2014-04-01 17:19 | c_schmitz | Status | assigned => closed |
| 2014-04-01 17:19 | c_schmitz | Resolution | open => unable to reproduce |
| 2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |