Jump to content

robertbell

Member
  • Posts

    85
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by robertbell

  1. On 9/5/2023 at 5:16 AM, ploughguy said:

    Greetings Cubecarters!

    I am currently running a 4.3.4 store in production.  I have ambitions to update it, even though it's only been in operation for 14 years, to the latest version available when I finally get to do it.

    Part of the process, of course, is to build a test platform so I can see what is going to happen to the live store on The Big Day, should it ever come.

    I have taken a copy of the store code and database, dropped them into a new domain, cussed a little, bent a few things into shape, and it mostly works.  I ran though an acceptance test script I cooked up to confirim that the copy process had succeeded, and I can create an order, for example, as a customer, and see it as an administrator.  So a lot of stuff is working.

    The only problem I have found so far is that when i try to change settings, I get a 403 error.

    I have checked a mess of permissions - the code (admin/sources/settings/index.inc.php) mumbles about creating or updating .htaccess files but the live store doesn't have them, so I don't think it is failing here.  Any thoughts?

    Russ

     

    AFIK, since admin/sources/settings/index.inc.php talks about appending rewrite rules to .htaccess and fails if the file does not exist, you probably have a .htaccess file in the live store. Many ftp programs do not show dotfiles by default. Are you sure you have toggled it on?

  2. I'm using the free Google Base extension, https://www.cubecart.com/extensions/product-feeds/google-base,

    Then in the merchant center I've a scheduled fetch with the feed rule:

    Attribute 			Rule
    gtin 				Apply default rule: Take from: scheduled fetch
    					Clear gtin attribute
    
    identifier exists	Set to: No
    					If identifier exists has no value yet › Apply default rule: Take from: scheduled fetch
    
    All other attributes
    Default rule		Take from: scheduled fetch

     

  3. 10 minutes ago, bsmither said:

    For CubeCart 6.5+, PHP 7.4+ (8.2 recommended but will probably be required for CC652+), the extensions include: MySQLi, GD Image library, Simple XML parser, cURL, ZipArchive, and the MultiByte String library.

    I thought that PHP 8.2 no longer supported mysqli -- at least it's not available in cPanel.

  4. The automatic install on this version does not work for me, either from the extension updates tab or by using the token from the extension marketplace. Either one just takes me to a blank page and puts the following in the error log:

    [<strong>Exception</strong>] /home/sojourn1/public_html/admin_RANDOM/sources/plugins.index.inc.php:57 - Class "ZipArchive" not found
    https://www.sojourner.biz/admin_RANDOM.php?_g=plugins&install[type]=plugins&install[id]=29&install[seller_id]=1

     

    Never mind. It worked when I switched PHP from 8.0.x to 8.1.18

  5. I'm using credit card capture (I know) and after upgrading to CubeCart 6.5.1 (from 6.4.10) and PHP 8.1 I get the following error when placing a test order:

    [<strong>Exception</strong>] /home/sojourn1/public_html/modules/gateway/Card_Capture/gateway.class.php:138 - implode(): Argument #2 ($array) must be of type ?array, bool given
    https://www.sojourner.biz/index.php?_a=gateway

    Am I missing a PHP extension?

×
×
  • Create New...