Forum OpenACS Development: create and drop scripts not running

Hi,
for some reason the create and drop scripts of a package i've made dont seem to be running on install and delete, there are no errors in the sql file as i have tested them all manually in the same order using postgres.
the files are as follows:
folder; click-logger/sql/postgresql
click-logger-create.sql
click-logger-drop.sql

the info file is as follows:
[code]
<?xml version="1.0"?>
<!-- Generated by the OpenACS Package Manager -->

<package key="click-logger" url="https://openacs.org/repository/apm/packages/click-logger" type="apm_application">
    <package-name>Click Through Logger</package-name>
    <pretty-plural>Click Through Logger</pretty-plural>
    <initial-install-p>f</initial-install-p>
    <singleton-p>f</singleton-p>

    <version name="0.1d" url="https://openacs.org/repository/download/apm/click-logger-0.1d.apm">
        <owner url="mailto:mtaw4735@mail.usyd.edu.au";>Mark</owner>
        <summary>Click Through Logger</summary>
        <description format="text/html">Click Through Logger to log and display clicks</description>

        <requires url="acs-kernel" version="5.0.0"/>
        <requires url="acs-templating" version="4.1"/>

        <callbacks>
        </callbacks>
        <parameters>
        <!-- No version parameters -->
        </parameters>

    </version>
</package>
[/code]

is there something i've missed??
thanks
-Mark

Collapse
Posted by Mark Tawadrous on
one other thing the [code] and [/code] tags aren't in the info file
Collapse
Posted by Geoff King on
Goto:

1) http://localhost/acs-admin/apm/

2) Click on your package key

3) click on * Uninstall this package from your system. (be very careful!) should be at the bottom of that page

4) it should show your drop script name on the page that comes up and click the submit button

That should work,
Geoff.

Collapse
Posted by Mark Tawadrous on
seems to be good, thanks :)