There isn’t a page called “Subscriber attributes” so which page are you on or trying to access when the error happens?
What are the steps to create the error?
Hi Duncanc
in URL page=editattributes
in page title called “CONFIGURE ATTRIBUTES”
I was created a few records in subscriber attributes page . there are some records I don’t need it . so I want to delete those records on configure attributes page. then i click on trush icon then thing happened
configure attributes page in main menu at to top “subscribers” -> “manager subscribers” -> below the “edit values for attributes” title ,click on type of checkboxgroup values
I cannot see a way to remove unwanted attribute values, but you can make a small change to the phplist code as a work-around. In file admin/editattributes.php remove lines 153-157
if (!verifyToken()) {
print Error(s('No Access'));
return;
}
That change will allow you to delete an attribute value.
The workaround does apply to the latest release, 3.2.4. The problem will be fixed in the next release, 3.2.5, but you can install a release candidate 3.2.5-RC2 if you want the fix now, see phpList - Browse /phplist-development at SourceForge.net
I dont get it. I have 3.2.4. but those lines of code are not in admin/editattributes.php 153-157
These are the lines 153-157 in editattributes.php :
while ($row = Sql_Fetch_Row($res)) {
if (deleteItem($table,$id,$row[0])) {
$count++;
} else {
$errcount++;
if ($errcount > 10) {
print $GLOBALS['I18N']->get('* Too many errors, quitting')."
@accorinti That particular file is a few years old, so I guess that either you are looking at the wrong set of files, or you have a mixture of different phplist releases.
I think that upgrading is the best solution.