CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Issue with IDS filter invalid argument after migration
Pages: [1]

Author Topic: Issue with IDS filter invalid argument after migration  (Read 1221 times)

backdrifting

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 2
Issue with IDS filter invalid argument after migration
August 17, 2009, 08:05:40 am
I just moved my CiviCRM install and db (along with Drupal 6) to another server (running on the same hosting platform- Siteground).  The server has the same file config and set up and same version of PHP, etc. 

I was able to get my CiviCRM site to load but I'm getting the following IDS error still:

warning: Invalid argument supplied for foreach() in /home/sitename/public_html/sites/all/modules/civicrm/packages/IDS/Filter/Storage.php on line 232.

Before this error I got the following (documented in these 2 posts:  http://forum.civicrm.org/index.php?topic=8120.0    and    http://forum.civicrm.org/index.php/topic,6996.0.html). So I commented out the following lines in both Storage.php and Monitor.php and this fixed it -  I could then load my CiviCRM ... but I'm still getting the above error.  Please help!  I was not getting these issues on my other server.

commented out of Monitor.php

<code> //  if (!is_writeable($init->config['General']['tmp_path'])) {
         //   throw new Exception(
      //          'Please make sure the IDS/tmp folder is writable'
        //    );
     //   }</code>

Commented out of storage.php:

<code> /*
             * In case we still don't have any filters loaded and exception
             * will be thrown
             */
         //   if (empty($filters)) {
              //  throw new Exception(
                //    'XML data could not be loaded.' .
                //        ' Make sure you specified the correct path.'
              //  );
          //  }</code>

Thanks in advance,

backdrifting

backdrifting

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 2
Re: Issue with IDS filter invalid argument after migration
August 17, 2009, 10:11:05 am
BTW - I'm using the latest stable release of CiviCRM (2.2.7) so this should be something that could potentially be supported.  Does anyone have any suggestions?

-backdrifting

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Issue with IDS filter invalid argument after migration

This forum was archived on 2017-11-26.