List Info

Thread: Problem Creating and Editing pages




Problem Creating and Editing pages
user name
2007-01-28 20:21:51
Hi,
I have a Plone site (Plone 2.1.1 on Zope 2.8, Debian)

I attempted to install the ATPhoto product to add a photo
album to my
website.  I made a backup of Data.fs and the Products
directory before I
did this in case anything went wrong.

The install of ATPhoto didn't work, so I replaced the
Products directory
and Data.fs from the backup - thinking that this would
restore my site
to its previous state.  

I can access all the content on my site now, however I can't
edit any
pages, or create any new pages.  I get a "404 File Not
Found" error when
I click "Edit" for any page, or "Add new
page".

Does anyone know what has gone wrong, and how I can fix
this?

Thanks in advance
--Ian


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

Re: Problem Creating and Editing pages
user name
2007-01-29 03:59:54
Ian Ball wrote:
> After some more investigation, it appears that the
ATContentTypes product is
> broken.  When I try to install it, I get the following
error: 

This is very strange and shouldn't happen, and I have many
times, on an 
identical platform to you, done exactly what you say you did
- take a 
copy of Data.fs, and take a copy of the Products directory,
then later 
move them both back.

Did you make sure, for cleanliness, that the var directory
in zope was 
empty when you copied Data.fs back?  Make sure you don't
leave an old 
index hanging around for example - let zope rebuild the
index.

Did you make sure you wiped out your current Products
entirely before 
putting Products back? (and not mistakenly copy it over
stuff already there)

Make sure you have zope in debug mode and see what it pukes
on on startup.

You shouldn't need to be trying to reinstall ATContentTypes.
That will 
have been installed originally so if you truly recreated the
state 
Data.fs & Products were in you shouldn't have to touch
it. I don't like 
the sound of that. 

In the worst case, how about simply build a new zope
instance and copy 
your backed up Data.fs to it?

HTH
Nick


-- 
Nick Davis
Web Application Developer
University of Leicester
http://www2.le.ac.uk
http://ebulletin.le.ac.uk


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

Re: Problem Creating and Editing pages
user name
2007-01-29 07:17:39
Nick Davis <nd51...> writes:


> Did you make sure, for cleanliness, that the var
directory in zope was 
> empty when you copied Data.fs back?  Make sure you
don't leave an old 
> index hanging around for example - let zope rebuild the
index.

I didn't realise that I had to do this - I just replaced
Data.fs.  What about
the other files in the var directory, like Data.fs.tmp,
Z2.lock, etc?  Is it
best to delete these as well, and start again with just
Data.fs in the var
directory?

> 
> Did you make sure you wiped out your current Products
entirely before 
> putting Products back? (and not mistakenly copy it over
stuff already there)
> 
> Make sure you have zope in debug mode and see what it
pukes on on startup.
> 
> You shouldn't need to be trying to reinstall
ATContentTypes. That will 
> have been installed originally so if you truly
recreated the state 
> Data.fs & Products were in you shouldn't have to
touch it. I don't like 
> the sound of that. 

The only reason I was trying to do this is that
ATContentTypes was showing up 
as broken.  When I tried to reinstall, I got that error.  I
have sort of fixed 
it
now - I edited the Install.py script that it was complaining
about, and 
commented out the statement that it was falling over at. 
ATContentTypes
installed with no errors, and now I can edit my pages and
create content again
  I
know this is an ugly hack, but it works.  There must be a
better way
though.
 
Thanks for your help
--Ian


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )