Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Chargin

  1. I did a lot of searching but found nothing really. Its now fixed, "We tried changing the PHP version to 5.2.9 and remigrated the account again." is what my hosting company did. It was on 5.2.17 so some php problem perhaps?
  2. Hi all, Im moving all my websites to a new server that supports multiple versions of PHP. Ive migrated all the accounts but they arent live. Ive edited my PC's HOSTS file to get them to work. All my cubecart sites (about 7) work except 1. Its cubecart 4 and heres the error I get: Fatal error: Class 'db' not found in /home/xxxxxxxxxx/public_html/index_enc_zend.php on line 40 Ive tried php 5.2.17 and php 5.3 Zend is installed and active. Any help much appreciated.
  3. I use Netlogistics in Aus. If you have a managed vps the support is fantastic, very quick and they do a lot for you. I have a VPS that can have different php versions for each account which is really good too.
  4. Thankyou so much, all advice worked perfectly. I tried changing 'misc_free' => "Free" several times and it didnt work, must have been some caching somewhere as its working now.
  5. Ive asked this question before, how do I change the (Free) text in the cart for the free shipping option? The reply I got last time was its in Admin > Languages. But this is the only "free" I can find and it doesnt make any difference. 'misc_free' => "Free" So how is this done? Also, how do I change the default selected shipping option, I want to have 2 options, 1 will be free and I dont want it to be the default, I want the paid method to be the default. CC4 tries to select the cheapest freight, but in this case thats not what I want.
  6. Using the built in exporter all the html gets stripped out. Using phpmyadmin I have problems with the commas in the descriptions causing seperations in the data. Theres no option to make tabs the seperations, I tried ; but excel cant read the file.. Any ideas?
  7. I have a few new jobs coming and am keen to see some new skins for CC5. Anything available yet? If not, tell me what you are working on..
  8. Im such an idiot, the client has hidden a bunch of products and I never checked that properly. All sorted, thanks for mentioning hidden/visible.... twice!
  9. Well when I change the popularity field to say 10000 for a product, theres no change, that product should become the top one displayed should it not?
  10. I want to change the items listed in the Popular products box. I thought if I used phpmyadmin and set the popularity field to say 10000 for 3 products those 3 would be shown. But no, that has no effect. So I reset all views and that made the list change, so somehow it is using this field. Is there some caching going on? Ive spent about an hour looking at the various forums, there are a LOT of topics on this, but nowhere did I find a mod or explanation for this. Any help much appreciated.
  11. I want to display Cubecart categories within Wordpress. Heres an example page http://www.dacou.com.au/barbara-weir-australian-aboriginal-artist/cat_8.html Basiacly Id like to display the paintings from that page in WordPress, and be able to click them to view the product page also. I dont want to do this via an iframe. I want it all to be viewable to search engines and SEO friendly. How can I embed CC into Wordpress?
  12. Thanks I didnt really think it through did I.. Giving some write permissions to that file did the trick.
  13. Im having the exact same problem. Any replies would be appreciated. Warning: fopen(/home/xxxxx/public_html/includes/extra/admin_cat_cache.txt) [function.fopen]: failed to open stream: Permission denied in /home/xxxxxxxx/public_html/includes/functions.inc.php on line 1377 Warning: fwrite(): supplied argument is not a valid stream resource in /home/xxxxx/public_html/includes/functions.inc.php on line 1378 Warning: fclose(): supplied argument is not a valid stream resource in /home/xxxxxxxx/public_html/includes/functions.inc.php on line 1379
  14. Heres the page http://www.aseturbo.com/u-build-it-manifolds/cat_71.html But the add to cart button isnt working yet. What do I need to add to the code to add up all the options Ive laid out here? I got the options code from a product I setup specifically to copy from. Does the answer lie within viewprod.php.inc? meaning I cant use the viewcat page to generate a "purchase"? Im doing this so I can create a bunch of options for a product but have them laid out better, there will be about 3 more option groups being added to this so the standard options area wasnt big enough.
  15. Fantastic, copy and paste and worked no problems. Thanks
  16. Ive been looking on the forums and havent found an answer to this old topic.. I dont have the answer but I think the code is now in the viewcat.inc.php in the includes folder, heres what Im guessing must be the code, how do we change it to default to price as the sort field? ## New! Product sorting by field $allowedSort = array('price', 'description', 'name', 'productCode', 'date_added'); if (isset($_GET['sort_by']) && in_array($_GET['sort_by'], $allowedSort)) { switch ($_GET['sort_order']) { case 'high': $orderType = 'DESC'; $orderText = '&uarr'; $sortIcon = 'bullet_arrow_up.gif'; break; case 'low': $orderType = 'ASC'; $orderText = '&darr'; $sortIcon = 'bullet_arrow_down.gif'; break; default: $orderType = 'ASC'; $sortIcon = 'bullet_arrow_down.gif'; } $orderSort = sprintf(' ORDER BY %s %s', $_GET['sort_by'], $orderType); } else { if ($config['cat_newest_first']) { $orderSort = sprintf(' ORDER BY date_added DESC, name ASC'); } else { $orderSort = false; } }
  17. I doing a pricelist mod for a store so they can print out a list of products from the admin. We want to just have the first 100 or so letters of the description on the list. Using this <td align="left" class="<?php echo $cellColor; ?>"><span class="copyText" ><?php echo $results[$i]['name']; ?></span> <span class="copyText"><?php echo $results[$i]['description']; ?></span></td> Gives me the entire description. How do I limit the text displayed? Viewcat.tpl uses {TXT_DESC} which uses the productprecis thing, but {TXT_DESC} wont work in admin, admin uses different include files or something?? Im doing all this to the update.inc.php file (mass update mod by akumanz) but I believe the file is very similar to index.inc.php so Im sure someone here would be able to understand my question.
  18. I guess my question was more about how google will react if i change a products name. Will the old URL they were indexing still work fine? It seems to still work when I change a name, I dont get a 404 when I update a name. Hmm duplicates? are you saying there will be 2 urls that a product will exist on if I change the product name once?
  19. What happens when I decide to change a product name? Do I need to do a 301 redirect in the htaccess file to show the new URL to all the bots etc? I noticed the old url still works, no matter what I put for the old URL it works because it seems to be tied to the /prod_2.tml bit at the end. So whats the final word, can I change product names willy nilly with no ill effect or should I follow a strict 301 update with every change?
  20. Ok got it, past the code after {HOME_CONTENT} in the index.tpl file in the content folder of your skin.
  21. I tried copying and pasting the twitter code they supply for their widget onto the source of the homepage of a CC store but it doesnt work, heres the code <script src="http://widgets.twimg.com/j/2/widget.js"></script> <script> new TWTR.Widget({ version: 2, type: 'profile', rpp: 4, interval: 6000, width: 400, height: 200, theme: { shell: { background: '#333333', color: '#ffffff' }, tweets: { background: '#000000', color: '#ffffff', links: '#4aed05' } }, features: { scrollbar: false, loop: false, live: false, hashtags: true, timestamp: true, avatars: false, behavior: 'all' } }).render().setUser('DACOU').start(); </script> There must be instructions somewhere on how to get this working? Does the "script src" bit need to be in the head tags or something?
  22. I also need this. Just to not, the reply to the OP was misleading. The OP wants the store owner notified, not the store customer. I looked on the mods forum and theres nothing there either. Any ideas anyone?
  23. I want to have a minimum order of $500 and fix the shipping price at $20. Free shipping has a minimum order system but nothing else does, how do I get these 2 to work together?
  24. I have free shipping (means customer picks up the goods themself) and shipping by weight. Currently free shipping is the default selection, a lot of people seem to just leave it selected and then we have to call and arrange an extra payment for shipping. How do I make by weight shipping the default method. I looked at the skin and cart.tpl in includes but couldnt see an obvious way to change it.
  • Create New...