View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04603 | Bug reports | Survey participants (Tokens) | public | 2010-09-16 12:14 | 2010-09-29 16:29 |
Reporter | lovepade | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.90+ | ||||
Target Version | 1.90+ | Fixed in Version | 1.90+ | ||
Summary | 04603: OPTOUT link causes error in optout.php | ||||
Description | When I click the optout url I get this error: Warning: file(templates/mytemplate/startpage.pstpl) [function.file]: failed to open stream: No such file or directory in /var/www/public_html/public/limesurvey/optout.php on line 84 Warning: Invalid argument supplied for foreach() in /var/www/public_html/public/limesurvey/optout.php on line 84 Warning: file(templates/mytemplate/survey.pstpl) [function.file]: failed to open stream: No such file or directory in /var/www/public_html/public/limesurvey/optout.php on line 88 Warning: Invalid argument supplied for foreach() in /var/www/public_html/public/limesurvey/optout.php on line 88 Warning: Invalid argument supplied for foreach() in /var/www/public_html/public/limesurvey/optout.php on line 93 As it says - It does work - the token gets marked as opted out. But its not pretty :-) I used the default template on a fresh install, and have tried with different permissions for optout.php. | ||||
Steps To Reproduce | click on optouturl | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 9118 | ||||
I will donate to the project if issue is resolved | |||||
Browser | chrome | ||||
Database type & version | mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (x86_64) using readline 5.2 | ||||
Server OS (if known) | Linux Debian Lenny | ||||
Webserver software & version (if known) | Apache 2.0 Handler | ||||
PHP Version | PHP Version 5.2.6-1+lenny9 | ||||
It says that you're using the "mytemplate" instead of the default template. Thanks in advance, |
|
Lemeur, maybe it's again a template url and dir problem. I think we had to replace and {
} else {
} by Just like in index.php :) PS: maybe i have time to do a patch this week end |
|
@Thibault - this happens with the default template as well. It would be amazing if Shnoulle could fix a patch :-D |
|
Shnoulle, I assignt his one to you then. Thibault |
|
fixed in 9138 Thanks Thibault !! |
|
New 1.90+ version was released. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-09-16 12:14 | lovepade | New Issue | |
2010-09-18 09:30 | lemeur | Note Added: 12860 | |
2010-09-18 09:30 | lemeur | Assigned To | => lemeur |
2010-09-18 09:30 | lemeur | Status | new => feedback |
2010-09-18 10:43 | DenisChenu | Note Added: 12861 | |
2010-09-18 10:46 | DenisChenu | Note Edited: 12861 | |
2010-09-18 13:28 | lovepade | Note Added: 12863 | |
2010-09-18 13:28 | lovepade | Status | feedback => assigned |
2010-09-20 09:23 | lemeur | Assigned To | lemeur => DenisChenu |
2010-09-20 09:24 | lemeur | Note Added: 12864 | |
2010-09-20 15:54 | DenisChenu | Note Added: 12875 | |
2010-09-20 15:55 | DenisChenu | Status | assigned => resolved |
2010-09-20 15:55 | DenisChenu | Resolution | open => fixed |
2010-09-20 15:55 | DenisChenu | Fixed in Version | => 1.90+ |
2010-09-20 15:55 | DenisChenu | Target Version | => 1.90+ |
2010-09-29 16:29 | c_schmitz | Note Added: 12933 | |
2010-09-29 16:29 | c_schmitz | Status | resolved => closed |
2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |