Installation without sample data

ClassiBase classifieds script Forums Installation / Update Help Installation without sample data

Tagged: ,

This topic contains 1 reply, has 1 voice, and was last updated by  ClassiBase 2 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1399 Reply

    Andyk

    Good day,

    Just wish to know how to install Classibase without the sample data. Is there any way I can install it without adding lots of sample categories, custom fields, etc? It is just a pain to delete all of them.

    Thanks for any help you can provide.

    Regards

    #1406 Reply

    ClassiBase
    Keymaster

    There is some way of doing it which requres editing setup.sql file included in Classibase zip file. Open it and remove some insert commands.

    To remove all locations, categories, custom fields, ads then delete all commands starting with

    INSERT INTOnz_ad
    INSERT INTO nz_ad_abuse
    INSERT INTO nz_ad_field
    INSERT INTO nz_ad_field_description
    INSERT INTO nz_ad_field_value
    INSERT INTO nz_ad_field_value_description
    INSERT INTO nz_category
    INSERT INTO nz_category_description
    INSERT INTO nz_category_field_group
    INSERT INTO nz_category_field_group_description
    INSERT INTO nz_category_field_relation
    INSERT INTO nz_location
    INSERT INTO nz_location_description

    if you wnat to delete widgets then delete

    INSERT INTOnz_widget

    as well.

    Also make sure you delete not only one line because command usually contains several lines of code, until you see ending semicolon );

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Installation without sample data
Your information:




This entry was posted on by .