autotrader-miner icon indicating copy to clipboard operation
autotrader-miner copied to clipboard

Parse error on php sync_db.php

Open zasca234 opened this issue 9 years ago • 3 comments

PHP Parse error: syntax error, unexpected 'finally' (T_FINALLY), expecting identifier (T_STRING) in /var/www/autotrader-miner/application/core/model.class.php on line 739

zasca234 avatar Sep 20 '15 17:09 zasca234

I just solved this now, it's basically because finally is a function introduced in php 5.5, if you change all the references in that file from finally to finally2 then that fixes it. However this plugin no longer seems to work anyway as the requests all fail :/

jack-planys avatar Dec 15 '15 22:12 jack-planys

The issue with this project as with all screen scrapers is that it has to get updated every time the target site changes their layout, otherwise it fails. I've tended to use Motors.co.uk recently as they have a lot of the search options which made me write this tool already.

I will get another update out in the coming months however.

strawp avatar Jan 04 '16 14:01 strawp

Current build should be working BTW

strawp avatar Apr 04 '16 16:04 strawp