Here's how I normally troubleshoot this issue. Look at the page and see what the image path looks like. It's normally something like this: img src="/static/images/product.jpg"
Double check this and make sure it makes sense. Next just try browsing to the /static and /static/images directory. Does this work? Can you click on an image and see it? This will tell you whether or not Apache is setup to point to the right directory. If you get errors, make sure to look in your Apache error logs and see what is showing. Normally, it becomes apparent that you've got a path issue somewhere (either settings or apache). HTH, Chris On Mon, Dec 29, 2008 at 2:58 PM, geezer <[email protected]> wrote: > > hi > > i have the standard most basic django, apache, mysql, satchmo set up > going right now. > > i have a demo shop running on apache, using svn 1850 right now, the > demo catalog works, but i just cant get the images to show, i am using > the directory layout found here: > http://gosatchmo.com/starting-a-new-store-real-world-project-layout, > > i just want to get the static media images to show, i have been trying > to fix this stupid ass problem by editing the httpd.conf, and the > settings,py. > > what amazes me the most is that a simple guide to show the way through > a simple apache deployment does not exist on the satchmo site! > > how can i do this? > > thanks > > On Dec 29, 2:29 pm, "Chris Moffitt" <[email protected]> wrote: > > Step back from the ledge. It's just a website ;) > > > > I know it can be frustrating to get everything working right the first > time. > > All I can say is that it gets a lot easier the second time. > > > > Part of the issue is that you're trying to do a lot at once. I think it's > > much easier to get a simple setup (sqlite with local dev server) up and > > running first, then moving to the more complex deployment environment. > So, > > if you haven't been able to get the site running perfectly in your local > dev > > system then don't try to deploy it to media temple or whatever host > you're > > using. > > > > I'm not sure why you're having a cache issue. I'd suggest stepping back > and > > using the file cache first and make that work. Then you can enable > memcache > > when everything else is set. > > > > Hang in there. You'll be able to get it working. > > > > -Chris > > > > On Mon, Dec 29, 2008 at 1:17 PM, basslineshift <[email protected] > >wrote: > > > > > > > > > Allright, if it were possible to blow up a website, that's what I'd be > > > doing about now. I'll preface this w/ I am not a very skilled django > > > developer, but I have an ok understanding on how the framework as a > > > whole works. I've been posting to this group for a bit now, so some of > > > you might have picked up on my *newbness*. > > > > > So, here's my story, wich will lead to my question. > > > > > History: I have had this satchmo store almost running for what seems > > > like forever. I just recently re-built it from the trunk version and > > > ran into some issues. I thought it was almost there, when suddnely I > > > started getting out of memory errors when trying to add a new > > > configurable product. Now keep in mind, this store has < 20 items in > > > it, so it's not very large. After checking everything I could think > > > of, I figured I might just start over. So I saved my templates, > > > downloaded the latest Stable Release (not trunk) and re-installed it. > > > > > Now, I have this stable release installed and I go to add products and > > > I get some indexing errors. At this point I'm pretty much saying f* > > > it, so I delete_all_dbs and start over w/ the products. Only now, on > > > syncdb I get the following error(s) which I've never seen before and > > > have installed this a few times already: > > > > > ############### > > > Installing yaml fixture 'initial_data' from '/home/16657/data/python/ > > > lib/satchmo/shop/fixtures'. > > > Traceback (most recent call last): > > > File "/home/16657/data/python/lib/satchmo/configuration/values.py", > > > line 257, in _value > > > val = self.setting.value > > > File "/home/16657/data/python/lib/satchmo/configuration/values.py", > > > line 251, in _setting > > > return find_setting(self.group.key, self.key) > > > File "/home/16657/data/python/lib/satchmo/configuration/models.py", > > > line 41, in find_setting > > > setting = cache_get(ck) > > > File "/home/16657/data/python/lib/satchmo/caching/__init__.py", line > > > 177, in cache_get > > > cache_require() > > > File "/home/16657/data/python/lib/satchmo/caching/__init__.py", line > > > 276, in cache_require > > > raise CacheNotRespondingError() > > > CacheNotRespondingError > > > Installing yaml fixture 'initial_data' from '/home/16657/data/python/ > > > lib/satchmo/tax/fixtures'. > > > > > ############### > > > > > So, I have flushed my memcache, stopped and started it again.. I don't > > > know what else it could be. I'm using MySQL for a db and here's my > > > satchmo_check > > > > > Using Django version 1.0-final-SVN-unknown > > > Using Satchmo version 0.8-1-SVN-unknown > > > > > I am using MediaTemple's Django Container, although I don't know if > > > that's relevant. > > > > > Please help me before you see me on the news from suicide :] > > > (j/k of course) > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
