Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Jack_mcs

Members
  • Posts

    31,133
  • Joined

  • Last visited

  • Days Won

    194

Posts posted by Jack_mcs

  1. I have three issues regarding breadcrumbs:

    1 - I added a breadcrumb to a theme but it doesn't display. It is set to show on all pages. 

    2 - The Print Shop theme has a breadcrumb so I thought to export/import it but when I look at that theme in admin, the breadcrumb block is not showing (it does show when viewing the template). 

    3 - I am also wondering if there is a way to make the breadcrumb work as a breadcrumb should work? That is, it shows the paths taken to the current page. The way it works in the Print Shop theme is that if a menu item is clicked on, only that link and the home page link is shown. The attached v4_menu_sales shows what the breadcrumb displays if the Sales menu item is clicked, Likewise, the v4_menu_epson shows the breadcrumb when the Epson menu item is clicked. But if the Epson link is clicked and then the Sales link is clicked, the breadcrumb only shows the Sales link, while it should show Epson and Sales.

    Any thoughts/suggestions? @pandrei

    v4_menu_sales.jpg

    v4_menu_epson.jpg

  2. 8 hours ago, Chadduck said:

    The existing database under OSC v3

    I am not familiar with that versions. The previous oscommerce version that V4 is compatible with it V 2.3.4. 

    8 hours ago, Chadduck said:

    can the Database username still be defined as "root"?

    If you are trying to have V4 use an existing database, that won't work. The structures are different. If you mean you want to use the username and password that you already have for a new database, that should work as long as it is a valid login for the database.

  3. On 3/24/2024 at 4:40 PM, Chadduck said:

    Since this is the case, WHAT needs to be done to utilize existing databases and OsCommerce v4 with MySQL 5.7? 

    V4 requires php 7.4 or above. You need to install V4 into an account that can have 7.4 set. Then install the database conversion script into a subdirectory of the live shop and run it. See here.

  4. Glad to hear it helped.

    16 hours ago, MateuszFranckiewicz said:

    yet they are not linked under categories

    There is an option to select which sales channel the imported things are assigned to when setting up that panel. You can set that later but I found it is easier if done on the conversion page.

  5. @pandreiI restored the files and database from backup. In the System Update page it showed the version was 4.11 and that there were three updates available. I clicked the update,  it completed successfully and said the shop was at the latest version. But when I look at the System Update page again, it showed two updates were available. I clicked update and now that page is just white (see attached).

    I stopped at this point to check some of the items that failed in my first attempt. When I clicked on Menus, it said something was wrong and to log back in. I did that but when I tried to view the theme on the shop side, I got this message: please contact us if you see this page

    Assuming you want me to PM you credentials, would you like me to restore it again so you can try the update or leave it as is?

    v4_updates.jpg

  6. I did an update on a shop that was three versions behind. The update said it completed successfully and that it is at the current version.

    When I tried to view the Design and CMS->menus section in, I got the 42s22 failure. The log showed a missing sort_order field in the groups table. I added that and the error went away.  When I tried editing a category, I got another 42s22. This one is due to the missing image_types_id field in categories_image.

    So it seems this shop is trashed. Is there a way to revert the updates? I can do a restore from the servers backup but if this were a live shop, this would be a very bad situation. Any suggestions?

  7. 2 hours ago, driven22 said:

    I would like one URL to be created e.g. www.site.com/best_product-p-39. html. The rest is unnecessary,

    That would hurt your SEO and I don't recommend trying to prevent it.

    2 hours ago, driven22 said:

    I don't know why they are created with ...?page=2

    They are created because you have more products in the category that will fit on one page. That is controlled by the search result setting in admin. You can increase that number and the additional page won't be created. However, if you raise it too high and have a large number of products, the page will take a long time to load and customers will abandon the page, which will hurt sales. And it might also prevent the search engines from listing the pages if they see it as not loadable.

    For the redirect, you are looking at the Ultimate SEO rewrites and they won't cause the extra dash. That comes from your configure file or a redirect for the domain if it is present in the .htaccess file. I suppose it could also be that you own both versions of the domain and have not pointed them correctly in your servers control panel.

     

  8. 1 hour ago, driven22 said:

    creates unnecessary "pages" www.site.com/bestproduct-p-39.html and, for example, www.site.com/best_product-p-39. html?page=2

    The url with page=2 is not unnecessary. You want all of the variations indexed. Google will use the canonical to list the main page when a search is done. However, the bestproduct and best-product in the urls is not correct. My guess is that the configure file is not setup correctly but it could be something else. In the least, you should have redirect code in the root .htaccess file tomake sure only one of those is used.

  9. 10 hours ago, driven22 said:

    Google shows me over 750 unindexed pages containing the canonical tag. How to block the creation of this type of addresses?

    It's not clear to me what the problem is.  For example, if you visit this page - www.site.com/best_product-p-39.html?page=2 - are you saing the canonical is that url or www.site.com/best_product-p-39.html The latter is correct.

    9 hours ago, driven22 said:

    Ok i found one mor error in my seo url when i set Enable SEO cache to save queries? to TRUE

    Do you have the Information Pages addon installed, or some other addon that creates the information table? If not, be sure to set the settings for it, and any others you don't use, to false,

  10. 1 hour ago, hybiepoo said:

    I can't post to any of the V4 forums.

    I'm not sure if any of the V4 members even look at posts in this section. I suggest you PM one of them and ask that they look at why you can't post in the V4 section.

    Beyond that, I don't think anyone can help with this, even a V4 tech, without seeing the code. I can't say if they will look at it but it doesn't hurt to ask.  

     

  11. 1 hour ago, Evinrude9.5 said:

    I did make the change to the admin/includes/column_left.php, otherwise I wouldn't see all other setting of Honey Pot.

    The change to the left column isn't required in order to see the settings. Those show up once you run the database install script.

    1 hour ago, Evinrude9.5 said:

    it did have the code for adding "Account Check" and "Maintenance" setting but I just did not found these two options in the configuration of Honey Pot.

    That's correct. The links in the left column Honey Pot section are to files and don't have anything to do with the configuration section.

    31 minutes ago, Evinrude9.5 said:

    I tried loading the file admin/honeypot_account_check.php and admin/honeypot_maintenance.php manually but they all went to forbidden.php.

    Try some other part of admin, like customers, to see if your IP has been blocked or not. If you can view another section, then the problem is in the code for the Honey Pot files. As mentioned previously, you may have to change the admin/includes/functions/honeypot.php file. Do a search for mysqli and replace all occurrences with mysql.

    The Honey Pot section in admin is for handling fake accounts and hacker attempts. The code on the shop side will work even if those sections don't.  But you will need to create the missing sessions table first. To do that, please upload the atached file to the shops directory and run it via the browser. Honey Pot should then be working on the shop side, assuming you have made the needed edits, like to the contact us page. Adjust the settings in configuration to what you want to use. 

    I try to code my addons so that they run on all versions of oscommerce. But there are so many differences between the versions that doing that is difficult. It will work in your shop. We just need to get the code changed to be compatible with yours and to correct any mistakes that may exist.

    honeypot_session_sql.php

  12. 8 hours ago, Evinrude9.5 said:

    I did not see a option of Fake Accounts (or Maintenance) available in my admin->Honey->Honey Pot,

    Did you make the change to the admin/includes/left_column.php file? If you did, it might be that the code used in the boxes/honeypot.php file doesn't match what your site uses.

    Try going to ...admin/honeypot_account_check.php to see if the page will load. 

  13. 21 hours ago, Evinrude9.5 said:

    do you think the php and database version of my server will work fine with V1.16?

    Yes. It will work with any version starting from php 5.2. The mysqli changes I mentioned may be needed for some shops, though not yours.

    16 hours ago, Evinrude9.5 said:

    1146 - Table 'esee8231_shtml.honeypot_sessions' doesn't exist

    Please go to admin->Honey Pot->Fake Accounts (or Maintenance) and it will create the missing database tables.

  14. 12 minutes ago, Evinrude9.5 said:

    my server contains no fonts for captcha.php to withdraw something like that

    The code uses its own font file so it doesn't matter what is included in your server. But don't waste your time trying to get it to work with version 1.13. Even if you do, there are bugs and options missing in that version that will prevent it from working correctly. 

    So you should try version 1.16 first. I forgot to mention to be sure to remove the Honey Pot settings in the database before installing the update. You can do that with the included database script. And I don't suggest spending a lot of time on captcha. It is usually not needed to stop spam emails and fake accounts.

  15. 12 hours ago, Evinrude9.5 said:

    I just got Honey Pot V1.13 installed for my MS2.

    The latest version is 1.16. You can download it from here.

    Captcha may not work for MS2. It depends on the php version being used and what is compiled in it. I suggest leaving it off until the addon is working and then trying it.

    The new version uses calls to mysqli. If your php version doesn't have that compiled into it, you will either need your host to do that or replace all instances of mysqli with mysql in the Honey Pot files. You can see if it is enabled in admin->Tools->Server Info by searching for mysqli.

    After making the above changes, set the allow email addresses in the settings to false. Then go to your contact us page and try to send an email with an email address in it. If it fails, the Honey Pot should be working. If the email is sent, enable the debug option in the settings and try it again. Then look at the Honey Pot debug log file in the includes directory to see if it indicates a problem. If it doesn't make sense to you, please post it here and I will take a look at it.

  16. 1 hour ago, Ivan Holbi said:

    Could you please confirm that your current version is 4.13.60075? If yes, then please also confirm if you installed this version from the scratch or you upgraded your existing version to the latest one (4.13.60075).

    Yes, it is version 4.13.60075. I don't recall if I updated it or not but I might have.

    1 hour ago, Ivan Holbi said:

    By default, Error Log Viewer is included in the latest osCommerce version.

    The log viewer is there but I don't think that is the problem. This thread is for creating an archive for moving to another server and that is missing. Am I looking at the wrong location? I can send the login but I wanted to be sure we are talking about the same thing first.

×
×
  • Create New...