Skip to main content

Import ads template error

ClassiBase classifieds script Forums General help Import ads template error

Tagged: , ,

This topic contains 5 replies, has 2 voices, and was last updated by  Andrew 1 year, 5 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #7128 Reply


    – The import works fine with the exception of two fields:
    <image> – I want to import a placeholder image and seems like it’s not working. Probably this is due to the recent dropzone implementation?

    – I was reading the additional example xml files for Example for importing an ad with checkbox custom values but throws a 404 error.

    /import-example-checkbox. zip

    Can you please help me?

    #7134 Reply


    Can someone share an example of how can I import checkfields,address, and photo fields in xml?

    I think there is a bug in 1.9

    #7155 Reply


    We are checking files and will reply with working example.

    #7157 Reply


    Thank you!

    #7175 Reply


    We updated tutorial about importing ads using XML. Added examples:
    1) Simple example XML generation by connecting to database server of old script.
    2) How to read data from .csv file and format XML for importing.
    3) static XML file with custom fields and images. This one shows how to format address, checkboxes, dropdown, radio, number, price fields and import images.

    Regarding images you were right there is a bug in /sys/app/models/Adpics.php file on line 692 change this:

    $dest_unique = FileDir::genFileName(UPLOAD_ROOT . '/tmp/' . $basename);

    to this:

    $dest_unique = FileDir::genFileName(UPLOAD_ROOT . '/tmp/' . $img_name);

    Images should be full url.

    Working downloadable examples can be found in related article here

    If you have related questions please let us know.

    Thank you for reporting bugs.

    #7177 Reply



    Where can I make a donation?

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Import ads template error
Your information:

  • Classifieds Business Newsletter

    Get discounts and tips about growing your classifieds website.