Re: images just not showing in apache demo shop

2008-12-30 Thread geezer

hi, thanks for the explanation, i was thinking along those lines when
it began to work.

On Dec 30, 10:03 pm, "Bruce Kroeze"  wrote:
> 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  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" 
> > wrote:
> > > 2008/12/30 geezer :
>
> > > > 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 Kroezehttp://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 satchmo-users@googlegroups.com
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~--~~~~--~~--~--~---



Re: images just not showing in apache demo shop

2008-12-30 Thread Bruce Kroeze
>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  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" 
> wrote:
> > 2008/12/30 geezer :
> >
> >
> >
> > > 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 satchmo-users@googlegroups.com
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~--~~~~--~~--~--~---



Re: images just not showing in apache demo shop

2008-12-30 Thread geezer

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" 
wrote:
> 2008/12/30 geezer :
>
>
>
> > 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
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to satchmo-users@googlegroups.com
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~--~~~~--~~--~--~---



Re: images just not showing in apache demo shop

2008-12-30 Thread Alessandro Ronchi
2008/12/30 geezer :
>
> 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: aronchi
http://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

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



Re: images just not showing in apache demo shop

2008-12-30 Thread geezer

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"

thanks


On Dec 30, 3:56 pm, geezer  wrote:
> hi
>
> yes, i can surf to it
>
> thanks
>
> On Dec 30, 3:55 pm, geezer  wrote:
>
> > hi
>
> > yes, i can
>
> > thanks
>
> > On Dec 30, 3:30 pm, geezer  wrote:
>
> > > hi
>
> > > ok, so i have commented out the caches in the local_settings.py file
>
> > > and i have also completely commented out the MEDIA_ROOT, and the
> > > MEDIA_URL in the settings.py file.
>
> > > but for some strange reason in the page source for the demo shop and
> > > the aren't images are not showing i am still getting a path to the
> > > image, but why?:
>
> > > src="/home/admin/silverping/static/images/productimage-picture-
> > > default_t85.jpg"
>
> > > can this be explained?
>
> > > thanks
>
> > > On Dec 30, 12:49 pm, "Alessandro Ronchi" 
> > > wrote:
>
> > > > 2008/12/30 geezer :
>
> > > > > hi
>
> > > > > i have setted the product image folder in store/settings/, but that
> > > > > doesnt change the img src paths at all,
>
> > > > disable caching and memcached, when doing that tests.
>
> > > > those paths depends on that setting and MEDIA_URL
>
> > > > --
> > > > 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
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to satchmo-users@googlegroups.com
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~--~~~~--~~--~--~---



Re: images just not showing in apache demo shop

2008-12-30 Thread geezer

hi

yes, i can surf to it

thanks

On Dec 30, 3:55 pm, geezer  wrote:
> hi
>
> yes, i can
>
> thanks
>
> On Dec 30, 3:30 pm, geezer  wrote:
>
> > hi
>
> > ok, so i have commented out the caches in the local_settings.py file
>
> > and i have also completely commented out the MEDIA_ROOT, and the
> > MEDIA_URL in the settings.py file.
>
> > but for some strange reason in the page source for the demo shop and
> > the aren't images are not showing i am still getting a path to the
> > image, but why?:
>
> > src="/home/admin/silverping/static/images/productimage-picture-
> > default_t85.jpg"
>
> > can this be explained?
>
> > thanks
>
> > On Dec 30, 12:49 pm, "Alessandro Ronchi" 
> > wrote:
>
> > > 2008/12/30 geezer :
>
> > > > hi
>
> > > > i have setted the product image folder in store/settings/, but that
> > > > doesnt change the img src paths at all,
>
> > > disable caching and memcached, when doing that tests.
>
> > > those paths depends on that setting and MEDIA_URL
>
> > > --
> > > 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
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to satchmo-users@googlegroups.com
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~--~~~~--~~--~--~---



Re: images just not showing in apache demo shop

2008-12-30 Thread geezer

hi

yes, i can

thanks

On Dec 30, 3:30 pm, geezer  wrote:
> hi
>
> ok, so i have commented out the caches in the local_settings.py file
>
> and i have also completely commented out the MEDIA_ROOT, and the
> MEDIA_URL in the settings.py file.
>
> but for some strange reason in the page source for the demo shop and
> the aren't images are not showing i am still getting a path to the
> image, but why?:
>
> src="/home/admin/silverping/static/images/productimage-picture-
> default_t85.jpg"
>
> can this be explained?
>
> thanks
>
> On Dec 30, 12:49 pm, "Alessandro Ronchi" 
> wrote:
>
> > 2008/12/30 geezer :
>
> > > hi
>
> > > i have setted the product image folder in store/settings/, but that
> > > doesnt change the img src paths at all,
>
> > disable caching and memcached, when doing that tests.
>
> > those paths depends on that setting and MEDIA_URL
>
> > --
> > 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
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to satchmo-users@googlegroups.com
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~--~~~~--~~--~--~---



Re: images just not showing in apache demo shop

2008-12-30 Thread Michael Saltsman

does that image exist at that path?


On Dec 30, 2008, at 1:30 PM, geezer wrote:

>
> hi
>
> ok, so i have commented out the caches in the local_settings.py file
>
> and i have also completely commented out the MEDIA_ROOT, and the
> MEDIA_URL in the settings.py file.
>
> but for some strange reason in the page source for the demo shop and
> the aren't images are not showing i am still getting a path to the
> image, but why?:
>
> src="/home/admin/silverping/static/images/productimage-picture-
> default_t85.jpg"
>
> can this be explained?
>
> thanks


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



Re: images just not showing in apache demo shop

2008-12-30 Thread geezer

hi

ok, so i have commented out the caches in the local_settings.py file

and i have also completely commented out the MEDIA_ROOT, and the
MEDIA_URL in the settings.py file.

but for some strange reason in the page source for the demo shop and
the aren't images are not showing i am still getting a path to the
image, but why?:

src="/home/admin/silverping/static/images/productimage-picture-
default_t85.jpg"

can this be explained?

thanks


On Dec 30, 12:49 pm, "Alessandro Ronchi" 
wrote:
> 2008/12/30 geezer :
>
>
>
> > hi
>
> > i have setted the product image folder in store/settings/, but that
> > doesnt change the img src paths at all,
>
> disable caching and memcached, when doing that tests.
>
> those paths depends on that setting and MEDIA_URL
>
> --
> 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
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to satchmo-users@googlegroups.com
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~--~~~~--~~--~--~---



Re: images just not showing in apache demo shop

2008-12-30 Thread Alessandro Ronchi
2008/12/30 geezer :
>
> hi
>
> i have setted the product image folder in store/settings/, but that
> doesnt change the img src paths at all,

disable caching and memcached, when doing that tests.

those paths depends on that setting and MEDIA_URL

-- 
Alessandro Ronchi
Skype: aronchi
http://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

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



Re: images just not showing in apache demo shop

2008-12-30 Thread geezer

hi

i have setted the product image folder in store/settings/, but that
doesnt change the img src paths at all,

for debugging i am trying to figure out a way to change the way these
paths:


wrote:
> 2008/12/30 geezer :
>
> > it seems that this is wrong:  
> The img src should be:
> "/static/product/productimage-picture-default_t85.jpg"
>
> So, check inwww.yourdomain.com/settingsthe product image folder and
> make it relative (like "/product/")
>
> --
> 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
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to satchmo-users@googlegroups.com
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~--~~~~--~~--~--~---



Re: images just not showing in apache demo shop

2008-12-30 Thread Alessandro Ronchi
2008/12/30 geezer :

> it seems that this is wrong:  

The img src should be:
"/static/product/productimage-picture-default_t85.jpg"

So, check in www.yourdomain.com/settings the product image folder and
make it relative (like "/product/")


-- 
Alessandro Ronchi
Skype: aronchi
http://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

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



Re: images just not showing in apache demo shop

2008-12-29 Thread geezer

hi

i found this:

Welcome to the shop.


Featured Items



  
   
  



it seems that this is wrong:   wrote:
> hi
>
> everything else checks out working perfectly, the only thing is the
> images will not show in the demo shop,
>
> i can surf to the image itself though, and as probably expected with a
> normal working demo shop, i get 403 forbidden when i surf to the /
> static/ directory.
>
> but, how do i fix the images not showing?
>
> thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to satchmo-users@googlegroups.com
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~--~~~~--~~--~--~---