import RTL data
This topic contains 14 replies, has 3 voices, and was last updated by shahram rasti 5 years, 8 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: RTL language
-
AuthorPosts
-
August 21, 2018 at 2:12 pm #443340
Hi
I am using geo directory on RTL language ( Persian ) on standard Persian word press
when I want to import data to geo directory it give an error that show dont let special characters
is it limited for other characters like Persian?
How can I solve this?August 21, 2018 at 4:11 pm #443353Make sure you are using LibreOffice to edit and save your CSV for import:
Please read: https://wpgeodirectory.com/docs/core-export/
Try it with LibreOffice, and if it doesn’t work, share the LibreOffice CSV here.
You may need to zip the file in order to attach it.
August 25, 2018 at 5:59 am #443958I changed open office with libre office , the error changed as below
Total 5 item(s) found.
5 / 5 item(s) could not be added due to blank/invalid address(city, region, country, latitude, longitude).
I have added some records manually and with very small edit I tried to upload it again and overwrite it , the encoding is UTF-8 and persian
the file is attached
August 25, 2018 at 8:04 am #443967OK, then it is not a problem with language.
That error means that one of those columns is blank.
Those columns are required.https://wpgeodirectory.com/docs/core-export/#mandatory
If you want to add locations outside your default location, you will need to install the MultiLocations addon before you can import your data.
https://wpgeodirectory.com/downloads/location-manager/
These fields are required:
post_address: Street address [This can be the actual street address, or the name of the Business, etc – it just cannot be blank]
post_city: City, town etc
post_region: state, province etc
post_country: country
post_latitude: latitude in signed degrees format, for example -20.97625669
post_longitude: longitude in signed degrees format, for example 162.45444August 25, 2018 at 9:31 am #443972Hi
all of above fields are complete but still have problem
can you kindly check the attached file?
August 25, 2018 at 10:17 am #443975Please share the following information so we can try to debug it on your site:
WordPress Credentials
WP Admin Login URL:
WP Admin Username:
WP Admin Password:FTP Credentials
SFTP/FTP:
FTP Host:
FTP Port:
FTP User:
FTP Password:August 25, 2018 at 11:43 am #443981This reply has been marked as private.August 26, 2018 at 6:48 am #444056Hello,
You can enable debugging to get better error reports. Instructions are here: https://wpgeodirectory.com/docs/core-export/#debug
I have flagged your topic for the developers who will take a look when they get back into the office after the weekend.
When I export the current Places Listings the same listings cannot be re-imported.
The error is: Total 7 item (s) found.
7/7 item (s) could not be added due to blank title / invalid post type / invalid characters used in data.
Thanks for your patience while we look into the issue.
August 27, 2018 at 6:36 am #444145Hello Shahram,
The FTP account you provided has no wordpress directory access. It not showing any files/directory after connecting via FTP client. Please give root directory access to that account.
I have tested same csv file you attached with import/export/re-import in my test site and it imported without any issue.
Let us know.
Thanks,
KiranAugust 27, 2018 at 9:52 am #444172the files are in the info folder
anyway the problem exist , I checked it again
August 27, 2018 at 10:06 am #444175Hello,
It still not showing any files/directory (see attachment). You have to give access to root WordPress to FTP account testgd. This is managed from CPanel > FTP Accounts.
Kiran
August 27, 2018 at 10:41 am #444182This reply has been marked as private.August 27, 2018 at 2:08 pm #444200This reply has been marked as private.August 28, 2018 at 8:00 am #444290Hello Shahram,
After doing some debugging found that there is conflict with “WP-Persian” plugin. WP-Persian plugin have options that translate date numbers into non-english language. Ex it translates post date to ۱۳۹۷-۰۵-۲۳ ۱۴:۰۹:۳۵, and during post insert/update it raises error. That’s why it refuses to import post.
You can fix this by one of following:
1) Remove post_date column from csv
2) Disable date number translation from WP-Persian
2) Add following code snippet in your child theme functions.php or execute via any PHP snippet plugin.function _gd_custom_fix_wpp_conflict() { if ( class_exists( 'WPP_Hooks' ) && ! empty( $_REQUEST['task'] ) && $_REQUEST['task'] == 'import_post' && ! empty( $_REQUEST['action'] ) && $_REQUEST['action'] == 'geodir_import_export' ) { remove_filter( 'date_i18n', array( 'WPP_Hooks', 'wpp_date_i18n' ) ); } } add_action( 'admin_init', '_gd_custom_fix_wpp_conflict', 10 );
Kiran
August 29, 2018 at 5:51 am #444425thank you so much , the problem solved
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket