As the topic title might reveal - I have no idea where to find my error.
I’m working on wrapping up VersionX in a package, and created some build files. Running it works fine:
[2011-01-05 18:58:00] (INFO @ /versionx/_build/build.transport.php)
Created new transport package with signature: versionx-1.0-alpha1
[2011-01-05 18:58:00] (INFO @ /versionx/_build/build.transport.php)
Registered package namespace as: versionx
[2011-01-05 18:58:00] (INFO @ /versionx/_build/build.transport.php)
Packaged namespace "versionx" into package.
[2011-01-05 18:58:00] (INFO @ /versionx/_build/build.transport.php)
Packaged in 1 Plugin Events for VersionX.
[2011-01-05 18:58:01] (INFO @ /versionx/_build/build.transport.php)
Package Built.
Execution time: 0.6368 s
and there appears a package.zip in the core/packages folder.
Nothing seems to be wrong so far.
But then, when I copy the transport package to my clean try out install’s core/packages folder and search locally... This is what happens:
- License & readme shows up perfectly fine
- There’s no set up options, so it goes on to the Console. Funny thing is (well, it aint actually funny), the console is hidden behind the Setup Options screen.
- When I drag the setup options away, or the install finished and it is being closed, this is what’s in the console:
Console running...
Attempting to install package with signature: versionx-1.0-alpha1
Package found...now preparing to install.
Grabbing package workspace...
Workspace environment initiated, now installing package...
PHP warning: Illegal offset type
Successfully installed package versionx-1.0-alpha1
Okay, so it gives a warning but yet it claimed it’s installed.
As it’s not working properly (see below) this is what happens when I uninstall the package completely:
Finding package with signature: versionx-1.0-alpha1
Package found. Preparing to uninstall.
Removed modCategoryClosure instance with primary key Array ( [0] => 6 [1] => 6 )
Removed modCategoryClosure instance with primary key Array ( [0] => 0 [1] => 6 )
Removed modCategory instance with primary key 6
Removing files in file resolver: H:/xampp/htdocs/clean/core/components/versionx
Removing files in file resolver: H:/xampp/htdocs/clean/assets/components/versionx
PHP warning: Illegal offset type
Removed modMenu instance with primary key new_document
Skipping modAction object (data object does not exist and cannot be removed): 0
Removed modAction instance with primary key 74
Removed modNamespace instance with primary key versionx
Package successfully uninstalled with signature: versionx-1.0-alpha1
When checking what happened this is what I find/miss:
- The CMP is installed, but it’s taking over other menu items (eg, instead of showing "VersionX", it’s taken over the "site" menu or "clear cache" depending on how often I’ve tried to reinstall the addon without reinstalling/running upgrade on the clean install.
- Clicking the menu item loads the CMP as expected.
- The Category which should be installed exists.
- The plugin, however, is missing.
I’ve based my build from the RTFM and Quip source from Github.
I’ve attached the (failing) package and a .rar of my build files.
If there’s any pointers on where to look at to fix this (simply have no idea how to debug the install>build) it would be greatly appreciated.. If there’s any info that might help, please ask.
FF 3.6 / Windows Vista