phplist3 icon indicating copy to clipboard operation
phplist3 copied to clipboard

Importing subscriber file from the command line

Open bramley opened this issue 2 years ago • 0 comments

Description

The import of a file from the command line currently fails with Error: Invalid security token, please reload the page and try again I suspect this is due to the splitting of import into two pages when adding the "action" page, so has not worked for a long time. This change is to run the import2 page followed by the actions/import2 page. Trying to use only the action page doesn't work because it is closely tied to the first page which sets various $_SESSION variables. Some unnecessary browser output leaks through see screenshot below but isn't too distracting.

Related Issue

Screenshots (if appropriate):

Reading emails from file .....ok, 3 linesReading emails from file .....ok, 3 lines<script type="text/javascript">
        var parentJQuery = window.parent.jQuery;
        parentJQuery("#progressbar").updateProgress("0,2");
        </script>
All the emails already exist in the database and are member of the lists
Subscriber data was updated for 2 subscribers
0 subscribers were matched by foreign key, 2 by email
All done

bramley avatar Apr 28 '22 05:04 bramley