Jump to content


  • Posts

  • Joined

  • Last visited

Profile Information

  • Location
  • Activity

bushx's Achievements


Newbie (1/14)



  1. What constitutes huge? I have about 500 products but I'm only serving maybe a few hundred pages a day. I haven't installed any modules that were not included with the default install, except for Stripe, which hasn't come up in my error log.
  2. I've been having memory leaks consistently on Apache, and it always points to this template: PHP Fatal error: Out of memory (allocated 22806528) (tried to allocate 1245184 bytes) in /var/www/website/cache/smarty/compile/b252b2866aff75220b588b7bebd06c9aced2705a.file.product.tpl.php on line 845 Obviously it happens more often with higher traffic, and it completely blows the server away and prevents anything from being served until the processes are killed. At first I set apache to restart every night at off-peak hours as a quick workaround. Then I cut down on the number of servers apache starts, along with child processes and MaxRequestsPerChild. Everything is set STUPID low to cut down on the number of times it happens, but it hasn't helped so far. In the last 15 minutes, the server has been forkbombed by that script three times. The server is only 1Ghz with 512MB, but there is no reason that Apache should be eating up that much memory for the few simple sites it's running. I'm getting less than 300 hits a day to all sites combined, and it's nothing but a few VERY simple Wordpress sites along with Prestashop. It's the same script every time. Under the Performance tab, I've set Smarty to "never recompile," but this error keeps happening. Cache is enabled. I'm not 100% sure how Smarty operates, so any help is appreciated.
  3. Upgraded from 1.5.4 to stable and aside from a few (self-induced) CSS errors that I quickly took care of, this one has me stumped and I'm not sure how to fix it. The top menu has moved over and seems to be aligned with the search box instead of the container. See here: http://imgur.com/cO0gwaV The search box was originally shifted to the right as well, but I fixed this by changing the values in the file [root]/modules/blocksearch/blocksearch.css to the values in the backed up file. The menu seemed to move with it. Any ideas how to fix the menu?
  4. As usual, I found the answer five minutes after posting this topic. I've been doing the same thing with my car keys, all I have to do is complain about not being able to find them. In 1.5, with advanced stock management disabled, product quantities are stored in the ps_stock_available.quantity field.
  5. I'm banging my head against my desk trying to figure out where product quantities are store in the DB. I've checked every table that shows a quantity field in the DB (or at least I think I have), and I can't find a quantity that isn't zero. I'm not using advanced stock management, if that matters. Where the hell are the quantities?!
  6. I ran into this problem as well, deleting the files in cache/smarty/cache and reloading the page seems to fix the problem. This appears to be a bug in 1.5.
  7. I figured it out shortly after posting this. For reference: http://www.prestashop.com/forums/topic/192490-adding-categories-to-top-navigation/ I'd done this before but completely forgot. Sorry!
  8. I am using the stock template on my site (v 1.5). I have several root categories that aren't showing up in the horizontal navigation (drop down links) at the top of my pages. The home link shows up as well as the first two categories, but any categories after that are not showed. These categories do show up in the "Categories" section on the left column of the page. Any ideas?
  • Create New...