(Answer) (Category) WebGUI FAQ : (Category) Troubleshooting :
Theme import problems uid/gid, Byte order is not compatible. Storable.pm (6.2.x)
The short short: Themes created in Apache1/mod_perl do not import in Apache2/mod_perl2, and vice versa. This is regardless of version.

The answer is that Storable.pm has a store method and an nstore method. Up to and including 6.2.9, themes are created with the store method, which means they are only valid with the architecture/OS on which they were created. The nstore (network) store method allows cross-platform themes to be created.

These changes need to be made by one who is exporting themes. It has no affect to "fix" broken themes to import properly.

In Attachment.pm:

Change line 28 from:

 use Storable;
to:
 use Storable qw(nstore retrieve);
Change line 660 from:
 store $hashref, $self->getPath;
to:
 bless $hashref;
 nstore $hashref, $self->getPath;
Now you can export cross platform themes!
wg-fomATgwyDOTorg
[Append to This Answer]
Previous: (Answer) Can I... Why can't I... Why isn't anyone answering my question about 5.x?
Next: (Answer) Graphical Editor for Firefox, Netscape?
This document is: http://www.gwy2.org/cgi-bin/fom?file=37
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
This FAQ administered by ... Gerald Young