Jump to content

bsmither

Member
  • Posts

    17,283
  • Joined

  • Last visited

  • Days Won

    575

bsmither last won the day on January 23

bsmither had the most liked content!

Profile Information

  • Gender
    Male
  • Location
    Pacific Coast

Recent Profile Visitors

96,378 profile views

bsmither's Achievements

Mentor

Mentor (12/14)

  • Well Followed Rare
  • Very Popular Rare
  • Conversation Starter
  • Dedicated Rare
  • First Post

Recent Badges

1.6k

Reputation

  1. You get thousands of log entries because, I would say, you have a very popular site. Most, if not all, I have seen fixed for CC6410 -- some issues are still open. I assume they will be closed before CC6410 is released. file.class.php:224 https://github.com/cubecart/v6/issues/3114 session.class.php:676 https://github.com/cubecart/v6/issues/3044 Although other places may contact CubeCart without this server variable. From: return strpos(($_SERVER['HTTP_USER_AGENT']), 'Trident') ? 'IEX' : htmlspecialchars($_SERVER['HTTP_USER_AGENT']); To: return strpos(($_SERVER['HTTP_USER_AGENT']??"fullsize"), 'Trident') ? 'IEX' : htmlspecialchars($_SERVER['HTTP_USER_AGENT']??"fullsize"); user.class.php:719 Same as above. From: $agent = strtolower($_SERVER['HTTP_USER_AGENT']); To: $agent = strtolower($_SERVER['HTTP_USER_AGENT']??"fullsize"); debug.class.php:260 Same as above. From: if (strstr(($_SERVER['HTTP_USER_AGENT']), 'W3C_Validator')) { To: if (strstr(($_SERVER['HTTP_USER_AGENT']??"fullsize"), 'W3C_Validator')) { I do not recall why I used "fullsize".
  2. There are files that are not part of an installation package: other skins (than "Foundation"), any modules, other languages (than en-GB), and files found in /images/cache/, /images/source/, and the /cache/ directories. The above will not be overwritten. Nor will the database be changed - if this restoration was not an upgrade to a newer version. So, the store having all of its imagery, modules, custom skins, etc, and the database having references to all of that -- after a restore, the store will look exactly like it did before. However, any customizations made to the core code that might affect what the store looks like, will be gone.
  3. As I follow the code, a comparison is made between the latest version available from CubeCart Corp. versus what you have installed. If there is a newer version available, there will be an Upgrade button that will have CubeCart replace all of itself with the latest version available. Otherwise, if the versions are the same (that is, if the installed version is already the latest version), or if CubeCart cannot determine if a newer version exists, there will be a Restore button to have CubeCart replace all of itself with the latest version available. In the case of an installation already at the latest version, a "Restore Current Version" is useful if, somehow, the code base has become so thoroughly modified that there is no hope of successfully removing some or all of those customizations. A clean code base is what will be installed. (The term "Restore" is less than ideal, in my opinion. I prefer "Force Repair to Latest Version".)
  4. If I look at: bear-ops-red-bolt-action-14-auto-knife-2.5-inch.html then click on the 'BEAR AND SON' breadcrumb, I get shown 'throwing knives'. Clicking on the 'Automatic Knives' breadcrumb, I get shown CubeCart's 404 response. This is similar to what is seen, and fixed by: https://github.com/cubecart/v6/issues/3128 However, I think this does not have anything to do with your shipping situation. (But it might???) I see that Per Category does offer a calculation (named USPS Shipping) at $0.00 -- supposedly from a setting in the product's main category (BEAR AND SON).
  5. Can you verify what I see when I visit www.wholesaleselfdefense.com? Well... using http:// gets me someplace weird, while using https:// gets me to a CubeCart-looking site.
  6. The Per Category module itself, or that there isn't a calculation from it that is offered to the customer?
  7. Even with having fixed the error - possibly caused by a parenthesis - using the latest "Change to" code shown earlier?
  8. You may have missed, or accidentally deleted, a closing parenthesis.
  9. Sorry, I forgot to add the magic sauce to the code to change to. Please reload this forum conversation to see the edits to the above post and make the change to the code again.
  10. As an experiment, please try this edit: In classes/request.class.php, find near lines 80-86: if ($this->_curl) { $this->_curl_options[CURLOPT_HEADER] = $this->_request_return_headers; $this->_curl_options[CURLOPT_RETURNTRANSFER] = $this->_request_return; $this->_curl_options[CURLOPT_VERBOSE] = false; $this->_curl_options[CURLOPT_FAILONERROR] = true; /*$this->_curl_options[CURLOPT_FOLLOWLOCATION] = true;*/ } Change to: if ($this->_curl) { $this->_curl_options[CURLOPT_HTTPHEADER] = array('User-Agent: CubeCart/'.CC_VERSION); $this->_curl_options[CURLOPT_HEADER] = $this->_request_return_headers; $this->_curl_options[CURLOPT_RETURNTRANSFER] = $this->_request_return; $this->_curl_options[CURLOPT_VERBOSE] = false; /* $this->_curl_options[CURLOPT_FAILONERROR] = true; */ /* $this->_curl_options[CURLOPT_FOLLOWLOCATION] = true; */ if (defined('CURLOPT_IPRESOLVE') && defined('CURL_IPRESOLVE_V4')){ $this->curl_options[CURLOPT_IPRESOLVE] = CURL_IPRESOLVE_V4; } }
  11. Yes, that issue in the Github resolved to the Reviews of a product on the storefront. But I believe the underlying cause was that CubeCart was trying to get a resource from a third-party (Gravatar) when gathering all the data necessary to populate the page, and then PHP faulted when the attempted connection to that resource failed due to the server environment forcing (or prioritizing) IPV6 when that connection is not IPV6 compatible. In admin, after successfully logging in, the admin is taken directly to the Dashboard. When collecting the resources to show on the Dashboard, a call is made to Google and a call is made to the RSS feed for News & Announcements Latest Topics at Cubecart.com. Now supposing that you have successfully logged in, my question is why does CubeCart not remember that, making you log in again? As an experiment, before logging in, try going directly to someplace in admin that doesn't do much of anything. Such as: web_address/admin_file.php?_g=phpinfo where web_address and admin_file are specific to your site If you are not logged in, then after clicking the Log In button, you will be taken directly to the PHP Info screen (bypassing the Dashboard). If you do get to the PHP Info screen, then the source of the problem has been narrowed down.
  12. This is interesting: https://github.com/cubecart/v6/issues/438
  13. This has also been reported by @kurraglen: https://forums.cubecart.com/topic/58161-admin-area-showing-503-error/
  14. Please remind us what version of PHP is running. If the setup folder is still present, even if renamed, then have your browser ask for this page: web_address/setup_folder/info.php -- using the site's web address and the name of the setup folder (if still present). The top table will show the version, and also in the top table, the Server API. Is the third-party plugin "Attached Documents" present in CubeCart's /modules/plugins/ directory?
  15. Please remind us what version of PHP that the CubeCart installations are running under. There seems to be a third-party plugin, "Attached Documents", that is not installed (or not enabled). So, you mentioned that you have two installs that don't share anything. But do they use the same database?
×
×
  • Create New...