Easy Property Listings WordPress Real Estate Plugin › Forums › Extensions › FeedSync › Allowed memory size error
Tagged: bug, feedsync, hosting, pagination
- This topic has 12 replies, 2 voices, and was last updated 9 years, 3 months ago by Merv Barrett.
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
-
AuthorPosts
-
May 19, 2015 at 9:12 am #10967bensSpectator
Hi,
I’m getting the following error and couldn’t find anything in the forum to give me ideas how to fix it.
Any ideas?
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3518464 bytes) in /home/xxx/public_html/XML/feedsync/core/functions.php on line 384
May 19, 2015 at 9:27 am #10968Merv BarrettKeymasterHow may listings have you imported?
May 19, 2015 at 9:36 am #10969bensSpectator4xx current
8xx Sold
5xxx Leased
2xxx withdrawnNot sure how many files there are so far from My Desktop
The error only presents itself on the All tab
May 19, 2015 at 1:38 pm #11146Merv BarrettKeymasterThis reply has been marked as private.May 19, 2015 at 1:53 pm #11150bensSpectatorThis reply has been marked as private.May 19, 2015 at 2:07 pm #11153Merv BarrettKeymasterYes, I responded to that, I’ve also added the new script template but it may be easier to edit what you have following this guide.
Its best to start a new topic as the other one is not related to the staff directory. my email is support@easypropertylistings.com.au I’ll attach those items to this thread
May 19, 2015 at 3:45 pm #11156Merv BarrettKeymasterThanks Ben, haven’t had several thousand listings imported into FeedSync before from one place.
I’ve just updated FeedSync to 2.0.1 which adds pagination to limit the listings per page which was causing the memory issues you are having. This is what you need to do to upgrade FeedSync to 2.0.1
Version 2.01, May 19, 2015
New: Added pagination feature to limit the number of listings per page. Default set at 1000.NOTE: If you are upgrading to this new version from 2.0 all you need to do is unzip the new download and just upload the /core directory to where you have installed FeedSync and replace all files in the /core directory.
We have also added a new setting for the config.php file so if you want to control the number or listings per page add this line to your config.php:
define('FEEDSYNC_PAGINATION', 1000 );
May 19, 2015 at 5:27 pm #11161bensSpectatorThanks that’s fixed – I wonder if the volume of listings is also effecting pulling the missing coordinates out the XML as even hitting the “Process Missing Coordinates” button only seems to do a few before getting stuck.
May 20, 2015 at 11:22 am #11216Merv BarrettKeymasterRE Missing Coordinates:
I downloaded your XML file and re-processed one of them using an empty database with the geocoder ON and that worked perfectly copying the results from the XML file. May be a bug in the button that handles the copy command.
So, if you are game to try again from scratch by placing all your output files into the input folder (start with 1) (backup the whole folder first to be sure)
Step 1: Backup your feedsync folder.
Step 2: drop the feedsync database which will remove all records. and check that is the case by browsing
Step 3: Set geocoder to ON
Step 4: (Make sure the processed folder is empty) then pace the first file in and run the process.
Step 5: Put the rest of the files in the input folder and process. This will copy the MyDesktop geocode value over.May 20, 2015 at 11:22 am #11217Merv BarrettKeymasterThis reply has been marked as private.May 20, 2015 at 1:18 pm #11223Merv BarrettKeymasterWe have checked FeedSync and everything is working correctly.
MyDesktop has only included the Geocode setting half way through 2014 so some of your listings do not have the Geocode value to copy over. You can open up the older files and they are only on some listings in 2014.
We have encountered errors on your server due to its php.ini configuration and it timing out and you will need to increase the timeout to generate the Geocode results. Google also limits IP addresses to 2,500 records per day.
So see if you can increase the timeout while you are generating the Geocode results.
http://stackoverflow.com/questions/3829403/how-to-increase-the-timeout-in-phpThen you will need to process them over a few days. Once they are in the new results from MyDeskop already have the coordinates so you should be okay with new ones.
Also this causes the site to drop out due to the server. Is this shared hosting or dedicated?
May 20, 2015 at 3:25 pm #11236bensSpectatorThis reply has been marked as private.May 20, 2015 at 4:22 pm #11239Merv BarrettKeymasterWell if you want great hosting I recommend NetOrigin based in Perth and they have a datacenter in Perth and Sydney. Great support and service.
-
AuthorPosts
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
- The forum ‘FeedSync’ is closed to new topics and replies.