Jump to content

bsmither

Member
  • Posts

    17,924
  • Joined

  • Last visited

  • Days Won

    599

Everything posted by bsmither

  1. The stock code shows there should be four closing </div> tags, but three makes the structure work. Which means, in addition to the extra </div> mentioned above, there might be a missing opening <div> tag somewhere.
  2. I see that you have taken the Search bar out of the code. However, it seems there is a closing </div> tag that didn't get removed. So, compare with the saved original versions of the main.php and box.search.php templates to determine where a </div> did not get deleted. Also, check the main.php template. Near the bottom, there should be: {include file='templates/ccpower.php'} </div> </div> {include file='templates/element.markup.json-ld.php'} Either the two </div> tags are missing in this template, or they are missing in the ccpower.php template. And something is still off.
  3. Please become familiar with the File Explorer in your CPanel control panel. There will be a folder named 'public_html' (or maybe 'doc_root'). That should be where the CubeCart code is at. Take note if there are more than one folder that starts with admin, and/or more than one script file that starts with admin.
  4. The web server responds with indications that the web server is Apache, and PHP is 7.4.33. Please visit your site's control panel (Cpanel?) and use its File Explorer to view the files and folders of your site, and also the contents of ".htaccess". There are some statements that must be present concerning the rewrite engine. Then, you need to have your hosting provider make sure that the virtual host file for your site has enabled the mod_rewrite module, and that there is a statement that gives permission for directives in ".htaccess" to overrule directives in the virtual host file.
  5. Having a problem replying. Having upgraded to CC653, there may be more than one script file that starts with admin. Please verify.
  6. Ok, that's all good. Coming from CC5, you may be used to using /admin/index.php. This is no longer valid. You say you get the admin login screen, so you must be using /admin_aBcDeF.php. The hash is random characters. May we have a web address to explore?
  7. Please verify the actual version of PHP your site is using. CubeCart 6.5.3 must run under PHP 7.4 or later - preferably PHP 8.2. If PHP 7.3 or less, CubeCart should halt immediately and issue a notice about the PHP version.
  8. Pulling from supplers' inventory feeds, or accepting push feeds, I don't think has been developed. Although the latest versions of CubeCart have implemented a cron-based API to (currently) pull currency exchange rates, clear CubeCart's internal cache, and a means for plugins to have their hooks triggered. The task here is to get the specifics of what product details and in what format the pull or push file needs to be. Sending order details (by email) to suppliers for dropshipping has been done. (However, there are features not developed that would make this plugin more comprehensive, such as push notifications back to CubeCart that the dropship has been shipped.)
  9. This module hasn't been updated for PHP 7.4+. Using a programmer's text editor, make the following change: In the module's file ccss.class.php, at line 186, find: $ccss_count = $GLOBALS['db']->select('CubeCart_ccss_integrity'); $count = count($ccss_count); if ($count > $per_page) { Change to: if ((($ccss_count = $GLOBALS['db']->select('CubeCart_ccss_integrity')) !== false) && (count($ccss_count) > $per_page) ) { A bug report will be posted.
  10. This is the email sent to the admin for a new order? Bring up that template for editing. If you are using CC648 or later, you will be using a code editor. Earlier than CC648, you will be using a WYSIWYG editor that must be switched to Source mode. At about the 24th line: Find: {/if}{$SHIPPING.line1|capitalize}<br> Change to: {/if}<span style="{if $SHIPPING.line1 != $BILLING.line1}color:red;font-weight:bold;{/if}">{$SHIPPING.line1|capitalize}</span><br> Save and make a new order to see what the result is.
  11. The CKEditor is still included with CubeCart (so far). It is used when designing Newsletters, composing the Offline and Copyright content in Store Settings, and composing the product, category, and document descriptions. So, if one really wants to use CKEditor for editing email templates, a simple edit to an admin skin template would do that.
  12. With CC648, the email template editor was switched from the CKEditor4 to the ACE editor. There are various reasons for this, and significantly is that CKEditor4 has presented various problems dealing with Smarty syntax. Moving to CKEditor5 would probably not solve those issues. The Plain Text Content tab does not use an editor. Here, a simple textarea accepts content that respects line endings and spaces. On the HTML Content tab is a Test button that gives you a look at what the HTML content looks like when rendered in a browser (or email reader), except, of course, the Smarty syntax and macros makes it look a bit weird. The unfortunate consequence is that you will need to know HTML coding. Or find and use a third-party WYSIWYG web page builder. With respect to claimed "HTML5-compliant" editors, when Smarty syntax gets involved, the level of compliance goes down the drain.
  13. "and all come up but this one." So, it is not that the product isn't getting added, it is that the product isn't showing up in the list of suggestions. The code that returns suggested products limits the query to 15 records. I suggest that if you know what the target product is, use its exact product code. If that code has dashes in it, the result might be empty. If so, try again. If it still fails, try using a backslash to 'escape' it. For example (if necessary): Product Code: WAN-DER Search for: WAN\-DER
  14. It's a bug. The "uri" column needs to be, and is, UNIQUE (Github issue #3383), but the comparative listing in the PHP script 'maintenance.index.inc.php' still has it as KEY. I will post a bug report. You can ignore this.
  15. Let's look at a couple of the skin's templates. Look at the template main.php. Probably within the first 50 lines of HTML, there will be: this: {foreach from=$HEAD_JS item=js}{$js}{/foreach} or this: {include file='templates/element.js_head.php'} If the template has the {include} statement, look for a template named element.js_head.php, or whatever the include file is. In the GA plugin settings panel, there should be a checkbox that says "Collect Stats Regardless of Cookie Permission". This is necessary if, in admin, Store Settings, Extra tab, 'Cookie Compliance Dialog' setting, is not checked, then 'Collect Stats' must be checked. Please give us a web address where we can look for the GA code.
  16. This is what I want you to try. Go to CubeCart's Marketplace and download the Google Analytics plugin. You may prefer to use a Thunderbolt Icon token. In CubeCart's admin, Store Settings, Features tab, blank the Google Analytics ID text field, Save. In Manage Extensions, enter the Thunderbolt token value to fetch and install the plugin. Once installed, click the Edit icon to access the plugin's Settings page. Hopefully, you have a GA code suitable for your purposes. Enter that code, click the Enable checkbox, and Save. Click the flashing orange button in the top-right corner to clear CubeCart's cache. Test (as best you can).
  17. "How did someone add an IP address to my listing like that?" It was probably a web crawler. A less-than competently programmed crawler. The web server receives a data packet addressed to it by the server's IP address. The web server starts examining the packets that follow, where those packets have the HTTP Header array. Nearly everything in those HTTP Headers can be customized. The HTTP header element named 'HTTP_HOST' can be anything. Usually, the HTTP_HOST is the domain name of the site being requested. But it doesn't have to be. In a development environment, often times, the IP address of the development server box is used, perhaps 127.0.0.1, because there is no domain name set up on the internal network. Sometimes, the name of the server box can be used, including the name 'localhost'. There is more to it, of course, especially when HTTPS gets involved.
  18. According to this: https://php.watch/versions/8.0/gd2-gd-windows the actual file has been renamed. So the question is: what actual version of PHP is in that environment? PHP4, PHP5, PHP7, PHP8? Find the actual folder where all the actual extensions are located, and verify the actual name of the GD library file. Make sure the filename is spelled in the PHP.INI file exactly as it appears in the directory listing.
  19. Yes. Please review whatever control panel you have to manage the stack - specifically the PHP version and the extensions enabled within it. Did you mention a XAMPP stack? The stack controller should have this functionality to enable PHP extensions. An Internet search suggests that XAMPP has a file editor. That editor is to be used to edit the PHP.INI file. In the PHP.INI file, find the statement in the [Extensions] block that has "extention=gd.dll" (or something like that) and delete the semicolon in front of it. Then restart the web server.
  20. Working on it. In the admin skin template 'products.index.php', find: Near line 109: <td>{$product.price}</td> Add after: <td>{$product.sale_price}</td> Near line 75: <th nowrap="nowrap">{$THEAD.price}</th> Add after: <th nowrap="nowrap">Sale</th> This is a quick solution. As such, this column is not sortable, and reflects only what the product's sale price is specific to the product. That is, this sale price is not a calculation based on the global percentage sale mode.
  21. The SFWS products are not available anymore. Without a copy, the best I can do is create a difference report, specific to what affected the GA code, for Foundation from the version that matches CC625 to the version that matches CC653, then we work on trying to apply those changes to the SFWS skin.
×
×
  • Create New...