Jump to content

jthornton

Member
  • Posts

    33
  • Joined

  • Last visited

Everything posted by jthornton

  1. Yes, I've tried that one but it is not really a product bundle. JT
  2. Is there a way to have a product bundle where several products make up the main product? Like gift baskets etc. JT
  3. For this store the ideal situation is to have PNG kit AC have part A + C + E without any options. Then I set the price of the Plug n Go kit to include E for free. The big deal for me is to keep my inventory correct. JT
  4. When I add an addon product and press save I get a warning message that No product changes were made. JT I have base products A and B and addon's C D E. Is there a way to have if C or D is added to a base product then the price for E is $0? JT
  5. Thanks, perhaps that might be better if it is disabled and you had to enable it. JT
  6. Why is a shipping rate request sent when viewing the cart when no address has been entered yet? This is seriously broken to do that. JT
  7. Thanks, now to work out some problems with the shipping modules. JT
  8. I have UPS and USPS installed and enabled and have my USPS user name and have United States as an allowed zone but when I view the cart I get this error The following errors were detected: Unfortunately there are no suitable shipping methods available for your order. This may be because the total weight of your order is too high or we cannot ship to your country. Please contact a member of our staff for any further inquiries. Request Sent - http://www.ups.com/using/services/rave/qcostcgi.cgi?accept_UPS_license_agreement=yes&10_action=3&13_product=GND&14_origCountry=GB&15_origPostal=63901&19_destPostal=&22_destCountry=GB&23_weight=12.5&47_rateChart=Regular%2BDaily%2BPickup&48_container=00&49_ accept_UPS_license_agreement=yes&10_action=3&13_product=GND&14_origCountry=GB&15_origPostal=63901&19_destPostal=&22_destCountry=GB&23_weight=12.5&47_rateChart=Regular%2BDaily%2BPickup&48_container=00&49_residential=1 Response received UPSOnLine5%Unsupported country specified%6920 looks like the origCountry=GB is the fault where do I change the origCountry? And why does it send a request when I just viewed the cart and have not entered an address yet. JT Ok I found where UK was the store country and changed it to US and now no error... but I still wonder why a request was sent just viewing the cart. JT
  9. That makes sense I didn't think about code protection. Ok when creating a new product the product addons tab does not show up, it does show up when editing a product. The only place I can find accessories and essentials is the following line and sure enough when I change to options it changes. What tripped me up is it shows up in all caps and I was looking for ACCESSORIES AND ESSENTIALS <div class="collapsible" id="section1">Accessories and Essentials<span></span></div> JT
  10. You gotta love software developers that make incompatible changes... just curious why ioncube is needed for this module? I copied the product_addons directory to /var/www/html/cubecart/modules/plugins and inserted the code in /var/www/html/cubecart/skins/foundation/templates/element.product.call_to_action.php and I see the Accessories and Essentials button in the test product but when create a new product I don't see the Product Addons tab. I went to Manage Extensions and Product Addons is checked as enabled. What am I missing? You might want to change the install instructions to point to the new file as the place to insert the code. Also where can I change the text Accessories and Essentials to Options? JT
  11. I got this error after installing CubeCart again. I'm running HP Version 7.0.27-0. I don't see PHP 7.1 as being available for Debian 9. PHP Fatal error: <br/>The file <b>/var/www/html/cubecart/modules/plugins/product_addons/hooks/class.cart.construct.pre.php</b> was encoded with the Encoder for PHP 7.1 and can only run on PHP 7.1 or later.<br/> If you are the administrator of this site then please upgrade to PHP 7.1 or later and install the corresponding ionCube Loader. in Unknown on line 0, referer: http://localhost/cubecart/setup/index.php
  12. PHP Fatal error: The file /var/www/html/cubecart/modules/plugins/product_addons/hooks/controller.admin.php was encoded by the ionCube Encoder for PHP 5.0 and cannot run under PHP 7.0.\n Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 5.6. in Unknown on line 0, referer: http://localhost/cubecart/admin_ou6ju4.php?_g=plugins JT
  13. I installed Debian 9 and got CubeCart 6.1.14 installed as well as The ionCube Loader version 10.2.0 for PHP 7.0 however I can not access my store or admin page anymore. All I get is a blank page for both. The following is the steps I used to install CubeCart. install Debian 9 ssh and web server sudo mkdir /var/www/html/cubecart sudo chown -R www-data:www-data /var/www/html/cubecart sudo usermod -a -G www-data $USER sudo chmod g+w /var/www/html/cubecart copy cubecart files to /var/www/html/cubecart sudo chown -R www-data:www-data /var/www/html/cubecart sudo apt-get update sudo apt-get install php7.0 sudo apt-get install php-xml sudo apt-get install php-mysql sudo apt-get install php7.0-gd sudo apt-get install php-curl sudo apt-get install php7.0-zip sudo apt-get install mariadb-server mariadb-client sudo apt-get install phpmyadmin yes yes To enable it the apache2 rewrite module sudo a2enmod rewrite sudo nano /etc/php/7.0/apache2/php.ini To enable MySQLi uncommented this line extension=php_mysqli.dll To enable cURL uncomment this line extension=php_curl.dll sudo nano /etc/apache2/apache2.conf add Include /etc/phpmyadmin/apache.conf <Directory /var/www/html/cubecart> AllowOverride All </Directory> sudo mysql -u root USE mysql; CREATE USER 'username'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON * . * TO 'username'@'localhost'; FLUSH PRIVILEGES; SELECT User, Host, plugin FROM mysql.user; exit; sudo systemctl restart apache2 localhost/phpmyadmin user username create a database for cubecart Setup for running on localhost In /includes/global.inc.php, add the following: sudo nano /var/www/html/cubecart/includes/global.inc.php $glob['storeURL'] = 'http://localhost/cubecart'; // No trailing slash $glob['standard_url'] = 'http://localhost/cubecart'; // No trailing slash $glob['ssl_url'] = 'http://localhost/cubecart'; // No trailing slash $glob['cookie_domain'] = '127.0.1.1'; // No trailing slash $glob['rootRel'] = '/cubecart/'; // YES trailing slash or just a slash $glob['ssl_path'] = '/cubecart/'; // YES trailing slash or just a slash Install cubecart in a browser localhost/cubecart also to install ioncube I did sudo cp /var/www/html/ioncube/ioncube_loader_lin_7.0.so /usr/lib/php/20151012/ioncube_loader_lin_7.0.so sudo cp /home/john/00-ioncube.ini /etc/php/7.0/apache2/conf.d/00-ioncube.ini JT
  14. Yea those are some really bad color choices, seems to not be browser related I checked in 3 different browsers. I guess if your 20 something you might be able to see that... at least when you hover over that area with the mouse they show up where tired old eyes can see the choices. Thanks JT
  15. Yes it seems that PHP 7 the default setting is mysqli extension is disabled. For any lurkers edit the /etc/php/7.0/apache2/php.ini file and uncomment the line extension=php_mysqli.dll then restart apache with sudo systemctl restart apache2. The above is for Debian 9... JT
  16. I went to Account Settings but there is no SIGNATURE anywhere to be found... JT
  17. I'm trying to install CubeCart 6.1.14 in my localhost for testing. I get this error: php -v PHP 7.0.27-0+deb9u1 (cli) (built: Jan 5 2018 13:51:52) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.27-0+deb9u1, Copyright (c) 1999-2017, by Zend Technologies john@cave-d9:~$ cat /proc/version Linux version 4.9.0-4-amd64 ([email protected]) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) john@cave-d9:~$ mysql -V mysql Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 john@cave-d9:~$ JT
  18. When I enable and save the module I get this error. Site error: the file /var/www/html/cubecart/modules/plugins/product_addons/hooks/controller.admin.php requires the ionCube PHP Loader ioncube_loader_lin_5.5.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.
  19. I'm trying to install this and the instructions say to I don't see a product.php file and when I grep for some of the code I get this: sudo grep -irl 'LANG.catalogue.add_to_basket' * [sudo] password for john: modules/plugins/product_addons/CubeCart 6 foundation skin sample code.txt modules/plugins/product_addons/skin/admin/index.tpl skins/foundation/templates/element.product.call_to_action.php skins/foundation/templates/content.category.php skins/foundation/templates/content.homepage.php skins/foundation/templates/content.certificates.php Also your video very briefly mentions something about a store skin inversion 51custom hook is required. I have no clue what that means. JT
  20. I added the following to /etc/apache2/apache2.conf and now it works on my local host. <Directory /var/www/html/cubecart> AllowOverride All </Directory> My network router is set up on 192.168.1.1 because I have some IP cameras on the LAN and they always come 192.168.1.xx. Thanks Again, now I can test off line all I want without worrying about my data usage. Thanks JT
  21. And thanks again, I looked at the source for the page and sure enough there was the tag. <!-- <div class="panel" id="box-popular"> <h3>Best Sellers</h3> <ol> <li><a href="http://localhost/cubecart/test-category/test-product.html" title="Test Product">Test Product</a><br> $10.00 </li> <li><a href="http://localhost/cubecart/test-category/5i25.html" title="5i25">5i25</a><br> $99.00 </li> </ol> </div> --> Changed to the smarty comment tag and sure enough they are not generated. Of course the reason I didn't delete the tag is I might change my mind. Thanks again for the help. JT
  22. And for anyone that reads this you need to use html comment marker if you just comment out the line, php comment markers don't work in html. JT
  23. When I use 127.0.1.1 the Apache2 web page shows up. When I use 127.0.1.1/cubecart I get the store front when I click on the test product I get this error Not Found The requested URL /cubecart/test-category/test-product.html was not found on this server. Apache/2.4.7 (Ubuntu) Server at 127.0.1.1 Port 80 Looking at the .htaccess file in the /www/html/cubecart directory I see a bunch of rewrite rules, maybe I can compair yours to mine and see the difference. I'm on satellite so my bandwidth is very limited and that is the reason I prefer to develop locally. Thanks JT .htaccess
×
×
  • Create New...