Jump to content

keat

Member
  • Posts

    1,614
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by keat

  1. keat

    CHMOD 777

    I have my own dedicated server. Running PHP 5.3.29 (can't upgrade any higher at the moment due to incompatibilities with V3) Handler is DSO Apache Mod_Ruid2, and SUexec
  2. I added the following to the PHP box <?php $subcats = $GLOBALS['smarty']->getTemplateVars('SUBCATS'); if($subcats !== false) { foreach($subcats as &$subcat){ if(strpos($subcat['cat_image'],'noimage') !== false) { // using 'noimage' for this subcat, get the subcat's first product's image $subcat_products = $this->getCategoryProducts($subcat['cat_id'], 1, 1); $subcat_products_keys = array_keys($subcat_products); $subcat_product_image_url = $GLOBALS['gui']->getProductImage($subcat_products_keys[0], 'subcategory'); $subcat['cat_image'] = $subcat_product_image_url; } } } $GLOBALS['smarty']->assign('SUBCATS', $subcats); and at first it didn't work, but i think that's because i edited the folder permissions after install (see my other thread) Changing folder permissions back and it works wonderfully.
  3. keat

    CHMOD 777

    V6.0.1 I've found that the site won't work quite correctly without a number of folder permissions being set to 777. Cache & Files for instance. I always assumed that 777 was a security risk ?
  4. I'm toying with a test V6 site, still has a lot of work to do before it has all the features we had written for our V3 site. One feature we had was regarding thumbnails for sub categories. Images for sub categories were taken from the first product in that sub category. It saved us a heck of a lot of work, and was only a few lines in one of the php.ini files
  5. Sorry. I cant explain why it didn't work from home on Saturday/Sunday, i can only assume something went wrong, and my rebuild today fixed this (on my home PC). So I was seeing the same issue at work all day today, however after tinkering with our company firewall this evening, it seems that the "Intrusion Provention Service" is blocking something on the edit products page. I'll do a little more digging over the coming days and see if i can narrow this down to anything in particular. Intrusion Prevention Service (IPS) is a fully integrated security subscription for all WatchGuard XTM appliances. It works in tandem with the application layer content inspection of the XTM to provide real-time protection against network threats, including spyware, SQL injections, cross-site scripting, and buffer overflows. IPS scans traffic on all major protocols, using continually updated signatures to detect and block all types of threats. And because IPS is integrated with WatchGuard XTM security appliances, you have an easy-to-manage, cost-effective solution without additional hardware to purchase and maintain.
  6. It's running on my own dedicated server, with numerous security features, but how would this explain not working on one PC one day, then working the next ? As a last ditched attempt to see if i can find a pattern, i'm now rebuilding again from scratch as it's pretty painless, and I've nothing else better to do.
  7. http://www.testdomain.co.uk/admin.php?_g=products&sort%5Bupdated%5D=DESC&action=edit&product_id=5773Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) 2admin.php:1 Font from origin 'http://fonts.gstatic.com'has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.testdomain.co.uk' is therefore not allowed access.
  8. This is odd. At the weekend, I built the site from home and couldn't add or view a product. Today, I started a fresh at work and got the same result. Decided to have another play when i got home and I can now view and edit products from my home PC.. Thinking maybe it took some time for the database to build or something, I remote connected to my work PC and get the spinning barber pole. So I'm confused.
  9. Not sure why, but I can't reply to my previous thread. So today, i deleted everything, including the database and started from fresh. When i try to view or edit a product, i still get just a spinning barbers pole. CubeCart Version 6.0.1 PHP Version 5.3.29 MySQL Version 5.5.42 Image folder size 76.52 MB Download folder size 0.00 KB Max. Upload filesize 100M Browser user-agent Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36 Server Software Apache
  10. Trying to add a new product, and all i get is the rotating dial. Even left it for 10 minutes.
  11. Currently playing with V6b7 and only the foundation skin appears to be working. Any other skin generates a blank page when viewing the store front. Despite clearing everything in the maint section. If it helps then the server is currently running PHP 5.3.29 Apache 2.2.29 MOD Ruid2 MySQL 5.5.42
  12. Does each product have one image or are there multiple images to the same product. If one image to one product, use FTP and upload the mass images to the images/uploads folder. If you do this, you'll also need to create your own thumbnails. I posted about how to do that here. Good luck! I have the exact same problem. And it can take for ever to load. Then you have to trawl through the list, which isn't sorted in any sort of order. I find it easier just to choose any old image, and then edit the database entry. Tricky, but easier than uring the GUI
  13. Guys. A customer tells me, he spent an hour placing a large number of items in his basket, went away for lunch, and when he came back his basket was empty. As a test, I placed a single item in the basket last night, logged out and back in.. the item was still there. I came back this morning and it was gone. I can only presume, that there is some sort of time out on the database ? If so what is the idle period. regards
  14. Well never say never !! It happened to me today. I've found there is a setting in Paypal, where you can tell paypal to either accept foreign payments, ask, or accept but convert to your currency first.
  15. This can happen when the status of the 1st order isn't changed from pending to processing. I believe that the status is changed automatically, when the customer returns from the payment gateway. So for example, if a customer decides to close his broswer after payment, then your order status will remain in pending. I also believe if you change it manually from pending to processing, this doesn't make any difference. The change has to be an automated change.
  16. Bob.. It's probably IPN configured incorrectly. For starters On your cubecart, choose the paypal gateway for Standard and IPN. Configure this to use IPN. On paypal log in to your account, and click the little profile hyperlink. Go to Instant Payment Notification and ensure the URL is http://www.your own site/modules/gateway/PayPal/ipn.php and is enabled. Back on your cubecart edit includes/global.inc.php and ensure that your Store URL towards the end of the file includes a www. There are lots of threads about this issue, it is just a matter of trial and error until you figure the correct combination. Good luck
  17. Anyone offer assistance? Is your country configured correctly in Cubecart.. not sure if there is anything on Paypal Sure is, UK and the county. A long shot then. In Currency.. ensure that your symbol is set for £ and that the value is 1.00. As an experiment, ensure that you have no other currencies enabled. In genral Settings/ Locale Settings. ensure you are configured for UK Pounds. I have 4 cubecarts, plus 2 experimental ones, and not seen this issue, so providing you don't have any mods installed, I'd presume that this is a simple config error.
  18. Under closer examination.. the I.P address 92.233.37.15 is the same one as a genuine customer order made 5 minutes earlier. Maybe it's his PC that is being phised ??? any advice would be welcomed.
  19. A different skin ??
  20. Have a look in language.inc.php probably in there
  21. Guys. I received an email bounce notifcation today that my store couldn't deliver a sale notification to a customer. Of course, it's a fake email address, so it would bounce.. But Looking in the database, there is no sale, and no new customer registration either. The sale is also supposedly from my own domain, and dated Jan 1st 1970. Am I being hacked or phised etc A message that you sent contained no recipient addresses, and therefore no delivery could be attempted. ------ This is a copy of your message, including all the headers. ------ To: Subject: Order No: DBO-100323-101526-4454 X-PHP-Script: www.drillbitsonline.co.uk/confirmed.php for 92.233.37.15 MIME-Version: 1.0 From: Drill Bits Online from KingPoint <[email protected]> X-Mailer: CubeCart Mailer Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Message-ID: <[email protected]> Date: Tue, 23 Mar 2010 10:24:17 +0000 Dear , Thank you for your order no: DBO-100323-101526-4454 placed on Jan 01 1970, 00:00 AM The transaction was successful and we will ship your goods at the first possible opportunity (if applicable). ~~~~~~~~~~~~~~~~~~~~~~~~~~ Company: Name: Subtotal: Coupon Discount: Postage & Packaging: Tax: Grand Total: ~~~~~~~~~~~~~~~~~~~~~~~~~~ Invoice Address: Shipping Address: Payment Method: Shipping Method: ~~~~~~~~~~~~~~~~~~~~~~~~~~ Order Inventory:
  22. Cubecart must do something. If you manually upload an image via FTP for example, it will display it's correct size format, which if its a large image, makes a mess of your page
  23. Anyone offer assistance? Is your country configured correctly in Cubecart.. not sure if there is anything on Paypal
  24. Go to your product options Change the following Red = +0.00 Blue= +200.00 Gold= +600.00 Add these details to your product description eg: Prices Red $1600 Blue $1800 Gold $2200 If you don't want the product options drop down to show the price, As this would show Blue (+200) etc Then edit the following file In ViewProd.inc.php find the code (near the bottom) $view_prod->assign("VAL_OPT_SIGN",$options[$i]['option_symbol']); $view_prod->assign("VAL_OPT_PRICE",priceFormat($options[$i]['option_price'])); $view_prod->parse("view_prod.prod_true.prod_opts.repeat_options.repeat_values.repeat_price"); and change to //$view_prod->assign("VAL_OPT_SIGN",$options[$i]['option_symbol']); //$view_prod->assign("VAL_OPT_PRICE",priceFormat($options[$i]['option_price'])); //$view_prod->parse("view_prod.prod_true.prod_opts.repeat_options.repeat_values.repeat_price"); Now on the product page the options show only Red, Blue and Gold.
×
×
  • Create New...