Hi Tomas, > > Hello, > > > > when using plugin Mark_Read 1.4.1 with SQM 1.5.1 and wanting to mark a > > complete Folder as Read / Unread I get the following errors: > > > > Notice: Undefined offset: 2 in > > C:\Programme\Jana2\html\squirrelmail\plugins\compatibility\functions.php > > on line 105 > ... > > Warning: include_once(../src/validate.php) [function.include-once]: > failed > > to open stream: No such file or directory in > > C:\Programme\Jana2\html\squirrelmail\plugins\mark_read\mark_read.php on > > line 27 > > Mark_Read plugin is written for compatibility 1.x API. You use > compatibility 2.0.4 plugin. There are some incompatibilities between 1.x > and 2.x API. > > Downgrade compatibility to 1.3 or update mark_read plugin according to > plugins/compatibility/README ("Usage (Plugin Authors' Guide)" chapter) > > -- > Tomas I found out that the path was wrong and in compatibility 2.0.4 I activated this: if ( strpos(getcwd(), 'plugins') ) { if (file_exists($compatibility_sm_path . 'include/validate.php')) include_once($compatibility_sm_path . 'include/validate.php'); else if (file_exists($compatibility_sm_path . 'src/validate.php')) include_once($compatibility_sm_path . 'src/validate.php'); } include_once($compatibility_sm_path . 'functions/strings.php'); if (file_exists($compatibility_sm_path . 'functions/global.php')) include_once($compatibility_sm_path . 'functions/global.php'); else if (file_exists($compatibility_sm_path . 'src/global.php')) include_once($compatibility_sm_path . 'src/global.php'); Now I only get this error when using the Read/Unread functions for the folders: Fatal error: Call to undefined function sqimap_messages_flag() in C:\Programme\Jana2\html\squirrelmail\plugins\mark_read\mark_read.php on line 67 How does SQM 1.5.1 mark messages as read/unread? I didn't find this function declaration. Thank you for your advice Stefan -- Echte DSL-Flatrate dauerhaft für 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users