[SPTUsers] RE: Running SPT on Windows 2000 - CSS

Arbit 1202 arbit1202 at yahoo.com
Fri Jun 20 03:38:06 CDT 2003


I'm assuming that your main directory is spt. So, for
eg, your filesystem directory for spt would be
c:\inetpub\spt. For brevity, I will refer to this as
spt. Add the c:\inetpub or whatever it is on your
system.

1. copy spt\images to metadatatool\images
2. copy spt\sptui--default to
spt\metadatatool\sptui--default, **including all
subdirectories**.
3. delete spt\metadatatool\sptui--default\*.html,
i.e., all the html files
4. Delete the directory
spt\metadatatool\sptui--default\metadatatool
5. Delete
spt\metadatatool\sptui--default\include\*.html

At the end of this, your directory structure should
look like this
spt
-- images
-- includes
-- metadatatool
   -- images ->(same as spt\images)
   -- sptui--default -> (no html files in it)
      -- images -> (same as spt\sptui--default\images)
      -- include -> (only css files, no html files)
-- sptui--default, ...


Repeat steps 2-5 for spt\sptui--cleanorange.

This would replicate the batch commands I had put in
my March posting. Just copying the directories is not
OK - you have to delete the extra files as well.

PC

--- "Topete, Sergio USA"
<stopete at monterey.nps.navy.mil> wrote:
> I think my problem is the following statement I read
> in one of your
> first e-mails I got from you can your please explain
> in more detail:
> I've just copied the relevant directories twice. 
> 
> What directories you copied twice?
> Where did you copy them?
> Did you used the same naming?
> 
> Thanks
> 
> -----Original Message-----
> From: Arbit 1202 [mailto:arbit1202 at yahoo.com] 
> Sent: Wednesday, June 18, 2003 1:39 AM
> To: Edward Almasy; sptusers at hundo.scout.wisc.edu
> Subject: Re: [SPTUsers] RE: Running SPT on Windows
> 2000 - CSS
> 
> 
> I'm running SPT 1.1.3 on Windows 98 on PWS without
> any
> problems - the only thing is that the php include
> statement needs to be correct. Ive run SPT 1.1.2 as
> well as 1.1.3, on php 4.3.1 as well as 4.3.2 without
> problems.
> 
> Have you added or changed any code?
> 
> PC
> --- Edward Almasy <ealmasy at scout.wisc.edu> wrote:
> > On Thu, Jun 12, at 02:37:34AM, Arbit 1202 wrote:
> > > Any ideas on what could cause this from the SPT
> > > development team?
> > > 
> > > PC
> > > --- "Topete, Sergio USA"
> > > <stopete at monterey.nps.navy.mil> wrote:
> > > > following error message:
> > > > 
> > > > Fatal error: Cannot redeclare class user in
> > > > c:\program files\apache
> group\apache\htdocs\spt\Axis--User.php on 
> > > > line
> > 22
> > 
> >    This indicates that a PHP class named "User" is
> > being declared twice
> >    in the code.  That shouldn't happen with just
> the
> > standard SPT code,
> >    because every instance of SPT where
> > Axis--User.php is loaded uses the
> >    "require_once()" PHP construct, which is
> > specifically intended to
> >    prevent this from happening.
> > 
> >    So...my best guess is that either  1) you've
> > added some code that has
> >    a class named "User" (or reloads Axis--User.php
> > without using a *_once()
> >    call), or  2) something has gone astray with
> the
> > PHP require_once()
> >    construct, or  3) there's some behavior with
> PHP
> > under MS Windows that
> >    is very unexpected.  Offhand, I'd guess #2,
> > because Windows doesn't
> >    support soft links in the same fashion as
> Linux,
> > and the Axis--User.php
> >    file in the MetadataTool subdirectory is (under
> > Linux) just a soft link
> >    to the copy of Axis--User.php one level up.  So
> > PHP under Windows may
> >    not recognize they're both the same file when
> > loaded with require_once(),
> >    and try to load the file twice.
> > 
> >    If that's the case, I'm not sure what to do
> about
> > it, other than maybe
> >    to make the copy of Axis--User.php a Windows
> > "shortcut" to the file in
> >    the directory above, and configure your web
> > server to respect shortcuts.
> > 
> >    Ed
> > 
> > 
> > -- 
> >    Edward Almasy                                  
>  
> > ealmasy at scout.wisc.edu
> >    Director                                       
>  
> >   1308 W Dayton Street
> >    Internet Scout Project                         
>  
> >       Madison WI 53706
> >    Computer Sciences Department                   
>  
> >   608-262-6606 (voice)
> >    University of Wisconsin - Madison              
>  
> >     608-265-9296 (fax)
> _______________________________________________
> > SPTUsers mailing list
> > SPTUsers at scout.wisc.edu
> > http://scout.wisc.edu/mailman/listinfo/sptusers
> 
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> _______________________________________________
> SPTUsers mailing list
> SPTUsers at scout.wisc.edu
http://scout.wisc.edu/mailman/listinfo/sptusers


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


More information about the SPTUsers mailing list