Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Posts posted by ayz1

  1. 11 hours ago, bsmither said:

    The only other instance reported on the forums is when the PHP does not have a working 'session' location. In that instance, clicking Continue did "submit" the form, but brought back the same page. (Depending on your browser, it may show a cached copy of the page if the web server said nothing had changed.)

    You said that the prior installation was working fine. But did you also upgrade the version of PHP at the same time? Or was the prior CubeCart also running PHP7.3.33?

    I've contacted hosting company to see if they can confirm we have sessions working. I don't have a clue how to check that. I asked them to update PHP because I was getting an error page asking for the update before it would load the setup page. Running mySQL libmysql - 5.6.43. The session.save_handler and session.save_path look OK, one says files the other specifies a path. Can't find an error log. 

    No idea what the problem is as host say everything is OK. So I installed 6.4.3 into a new folder, uploaded 6.4.4 zip file to server, unzipped and ran setup and all seemed to work. No idea what that tells me.

    Logged into admin and looking in the database page it says there are duplicate key indexes that can be removed. Do I need to do anything about that?

    Original store still won't run setup. 

  2. Hi bsmither. Been a few years since I've touched Cubecart and you were always a great source of wisdom back then. Good to see you are still going strong.

    Nothing happens when I click the Continue button (tried several browsers). The store appears to have updated but in admin it says the database has not been updated. I did the update by uploading the zip file and unzipping which I have always done before without any problems.

    "WARNING: Your store appears to be using source code from 6.4.4 but the database is still at 6.0.10. Please complete the update by running the setup process."

    So it appears to be stuck for some reason.

  3. Trying to update a store from 6.0.10 to 6.4.4 but it won't let me run set up. I've looked at all the posts previously but can't find a solution. I've contacted hosting who say there are no problems their end. Anyone any ideas please?


  4. I had to do something similar to this a while ago. I took the easy way out and created three images for the products that looked the same as the featured products (you can screen print them if you can get them to appear) and I then added an image slider to replace the featured products box.

  5. Don't know if this helps Brian but I can see the website as a cubecart site in firefox. At the bottom of the page I also see the following

    [Notice] /home/vol11_7/amfly.eu/DELETED/yanina.ga/htdocs/2/includes/functions.inc.php:527 - Undefined index: X-Forwarded-For


    'Before Sanitise:' =>
    'i' => 1
    'After Sanitise:' =>
    'i' => 1
    '_a' =>


    '__client' =>
    'useragent' => Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
    'session_start' => 1509664107
    'session_last' => 1509664107
    'language' => en-GB
    '__system' =>
    'token' => 021061a552544e54436f55ddc69c95ab


    '__test' => e7a37b742813e56c8dcb5b7f2db014dd
    Queries (546):
    [1] INSERT INTO `cccf_CubeCart_system_error_log` (`message`,`time`) VALUES ('[Notice] /home/vol11_7/DELETED/yanina.ga/htdocs/2/includes/functions.inc.php:527 - Undefined index: X-Forwarded-For','1509664107'); -- (0.000512838363647 sec) [ERROR - NOT CACHED]
    [2] DELETE FROM `cccf_CubeCart_system_error_log` WHERE time < UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 30 DAY)) ; -- (0.000592947006226 sec) [NOT CACHED]
    [3] SELECT SQL_CALC_FOUND_ROWS * FROM `cccf_CubeCart_sessions` WHERE cccf_CubeCart_sessions.session_id = 'bb7686ac2bd4004bf47d391665ff3521' LIMIT 1; -- (0.000731945037842 sec) [NOT CACHED]
    [4] INSERT INTO `cccf_CubeCart_sessions` (`admin_id`,`customer_id`,`ip_address`,`location`,`session_id`,`session_last`,`session_start`,`useragent`) VALUES ('0','0','','','bb7686ac2bd4004bf47d391665ff3521','1509664107','1509664107','Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0'); -- (0.000658988952637 sec) [NOT CACHED]
    [5] SELECT * FROM `cccf_CubeCart_lang_strings` WHERE cccf_CubeCart_lang_strings.language = 'en-GB' ; -- (0.000293970108032 sec) [CACHE WRITE]
    [6] SELECT * FROM `cccf_CubeCart_hooks` WHERE cccf_CubeCart_hooks.enabled = '1' ORDER BY priority ASC ; -- (0.00033712387085 sec) [CACHE WRITE]
    [7] SELECT `php_code`, `unique_id`, `description`, `hook_trigger` FROM `cccf_CubeCart_code_snippet` WHERE cccf_CubeCart_code_snippet.enabled = '1' ORDER BY `priority` ASC ; -- (0.000297069549561 sec) [CACHE WRITE]
    plus a lot more
  6. It is best to make sure the data going into the table is correct in the first place so bsmithers solution will do that. If you have a lot of data already in there you can change existing post codes by running queries on the tables with post codes in e.g

    In the order summary table you can update post codes by using the following queries

    UPDATE `cc_CubeCart_order_summary` SET `postcode` = UPPER( `postcode` )

    UPDATE `cc_CubeCart_order_summary` SET `postcode_d` = UPPER( `postcode_d` )



    • Thanks 1
  7. In /skins/foundation/templates folder edit the main.php file


    Delete or comment out the following to remove the side boxes

     <div class="large-3 columns show-for-large-up" id="sidebar_left">

                      {include file='templates/box.featured.php'}

                      {include file='templates/box.popular.php'}

                      {include file='templates/box.sale_items.php'}



    To make the content fit the full width (about line 95)

    Edit <div class="small-12 large-9 columns" id="main_content">

    To <div class="small-12 large-12 columns" id="main_content">

    The slider should increase in size if not post back.


    To make the logo centered you will need to move the image section above the search box (about line 60)

    Edit <div class="small-4 large-3 columns">

    To <div class="small-4 large-12 columns">




    Edit <div class="small-8 large-9 columns nav-boxes">

    To <div class="small-8 large-12 columns nav-boxes">

    Depending on the size of the logo you may need to use some css to align it. Post back if needed.




  8. How many products do you have in your store? It may be that you are running out of memory or javascript is crashing if you have a lot.

    Also there is a newer version 6.1.12 available with a security update so if possible consider an upgrade to that.

  9. In admin>languages section click on the edit button for English (UK). From the Phrase Group drop down select "Account - Phrases within the customers account" and find the entries for register_terms_agree and register_terms_agree_link then edit as appropriate and save. It may also be worth adding a section to your product page with a Small Print section as Argos do for some of their products spelling out exactly what you need the customer to know, example can be seen here http://www.argos.co.uk/product/6216070.

  10. In the UK anyone making a purchase over £100 with a credit card is covered under section 75 of the Consumer Credit Act 1974. Under section 75, in certain circumstances, the provider of credit is equally liable with the provider of goods or services in cases where there has been misrepresentation or a breach of contract.

    On TV this morning they have highlighted that many websites etc use third party payment providers such as Skrill (example they gave) are not covered by section 75 of the Consumer Credit Act 1974 because the payment is taken by the third party (e.g. Skrill) and then passed on to the service/product provider. Becasue the payment doesn't go directly to the company/person providing the service or product but via a third party a claim under section 75 will be turned down by the credit card provider.

    So anyone thinking they are automatically protected by section 75 when shopping online may well not be.

  11. I'm not 100% on this but looks to me like you may have a caching problem. It looks like all your content is being cached too aggressively either by your server or via your .htaccess file. First thing to look at I would guess is your .htaccess file to see if you have anything caching files such as .jpg . css .js etc and remove them. Failing that then have a word with your hosting company.

  12. As far as I can work out there is no way of doing what you want without using a plugin. If your main objective is to have one stock level per product then the method bsmither suggested

    * use the Quantity Discount feature

    should be workable until you find another solution. As far as shipping goes the All In One Shipping plugin can be set up to handle shipping costs by weight.

  13. When I look on a supermarket website they sell coffee in individual sized jars/packs. So if I was in the same situation I would list 1/2LB, 1LB and 5LB seperately and adjust my stock levels accordingly e.g. 10 1/2LB, 10 1LB and 2 5LB. As stock reduces you could move stock levels about from the 1/2LB to 1LB etc or visa versa or order more coffee into stock. This is probably the simplest way and as far as I know there is no way to get it to work from the one stock level.

  14. I've had a look at what I think is your website and it appears to be showing prices excluding VAT so the All In One Shipping module will work the shipping cost on the ex VAT price. What you could do is set the value when the free shiping kicks in to 40.65 which is 50 - VAT and that should work?

  • Create New...