Debug Mode

The plugin has extensive debugging built in.  This can be turned on by the normal WordPress debug settings. Adding the following to your wp-config.php. Always turn this off before going into production.

From v 1.8.3 setting WP Debug on will mean that the ‘processed’ files will be saved and this may rapidly use up disc space. The directory uploads/rightmove/processed will be renamed uploads/rightmove/processed-{date/time} on each subsequent run, this to aid debugging, but require manual clean up.

// Turns WordPress debugging on
define('WP_DEBUG', true);

// Tells WordPress to log everything to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);

// Doesn't force the PHP 'display_errors' variable to be on
define('WP_DEBUG_DISPLAY', false);

will result in output being written to /wp-content/debug.log  with output at a detailed level such as

(
    [msg] => >>> Right Move options
    [0] => Array
        (
            [blm_filename] => 1234.blm
            [poll_time] => daily
            [wait_time] => 0
            [trigger_url] => http://example.com/wp-cron.php?import_key=vu-hU3x&import_id=1&action=trigger
        )

)

[03-Mar-2015 11:18:20 UTC] Array
(
    [msg] => >>> Right Move feed started path
    [uploadpath] => /home/example/public_html/wp-content/uploads
    [Filename] => 1234.blm
    [Wait seconds] => 0
)

[03-Mar-2015 11:18:20 UTC] Array
(
    [msg] => >>> file found
    [modtime] => 1423134416
    [now] => 1425381500
)

[03-Mar-2015 11:18:20 UTC] >>>>> Processing File
[03-Mar-2015 11:18:20 UTC] Array
(
    [Properties] => Array
        (
            [property] => Array
                (
                    [0] => Array
                        (
                            [AGENT_REF] => 1234_9
                            [ADDRESS_1] => 14 St John's Waterside
                            [ADDRESS_2] => Copse Road
                            [POSTCODE1] => GU21
                            [POSTCODE2] => 8EG
                            [FEATURE1] => Modern two bedroom flat
                            [FEATURE2] => Well appointed kitchen
                            [FEATURE3] => Family bathroom + en-suite
                            [FEATURE4] => Lounge with Juliet balcony
                            [FEATURE5] => Private location close to village
                            [FEATURE6] => Close to Basingtoke canal
                            [FEATURE7] => Allocated parking

Was this helpful?