>From what I recall, having seen this once before, I think the problem is
that the path to your images is stored in the database when you upload them.
So if you have one media root, upload files, and then change the media root,
it doesn't get updated in the database.

Reloading everything, this time with a correct media root from the start, of
course worked properly.

On Tue, Dec 30, 2008 at 6:59 PM, geezer <[email protected]> wrote:

>
> hi,
>
> i only had images in the product settings
>
> so, i really dont know why that img src was not being generated
> properly,
>
> it doesnt make much sense,
>
> but i:
> checked out version 1851, and installed it, and reloaded these:
> python manage.py satchmo_copy_static (re-copied just to make sure)
> python manage.py syncdb
> python manage.py satchmo_load_l10n
> python manage.py satchmo_load_store
>
> now it works, but i dont know why!
>
> my only now is this, when you checkout a new version and install it,
> could left-over files from the older version remain in the python
> installation?, could this cause problems?
>
> thanks
>
> On Dec 30, 8:15 pm, "Alessandro Ronchi" <[email protected]>
> wrote:
> > 2008/12/30 geezer <[email protected]>:
> >
> >
> >
> > > hi
> >
> > > so what i dont understand is why would satchmo, if the MEDIA_URL, and
> > > MEDIA_ROOT are both commented out, put that img src path in the page
> > > source, because it seems strange satchmo would even know what those
> > > paths should be?
> >
> > > the images do exist at those paths though, and i can surf to them
> > > through:......com/static/images/productimage-picture-default_t85.jpg"
> >
> > put your configuration files on dpaste.com, so we can help you.
> >
> > what did you put in your settings admin page for image product? are
> > you sure you don't have "/home/admin/silverping/static/images/" there,
> > instead of "/products" or something similar?
> >
> > --
> > Alessandro Ronchi
> > Skype: aronchihttp://www.alessandroronchi.net
> >
> > SOASI Soc.Coop. -www.soasi.com
> > Sviluppo Software e Sistemi Open Source
> > Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
> > Tel.: +39 0543 798985 - Fax: +39 0543 579928
> >
> > Rispetta l'ambiente: se non ti è necessario, non stampare questa mail
> >
>


-- 
Bruce Kroeze
http://solidsitesolutions.com
Dynamic Designs, Optimized

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to