Jump to content

Demitry

Members
  • Content count

    308
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Demitry

  1. @raiwa ok, I see,.. yeah, I have no interest in wasting more time to upgrade to this version. So, is the PWA v3.0 compatible with 2.3.4 BS Edge?
  2. @raiwa sorry, but what is CE Frozen? I have 2.3.4 BS Edge.
  3. @raiwa hi Rainer, I'm updating the PWA addon to v3.0 and I noticed a couple of things that are off. In /admin/orders.php you removed this following line, but this is not part of PWA. It is part of the base BS Edge install. Does it need to be removed for PWA 3.0? $OSCOM_Hooks->register('orders'); In that same file you also have the deprecated variable $HTTP_POST_VARS several times on lines 61 and 84.
  4. Demitry

    Sitemap SEO

    To adapt this addon for the responsive BS version so that the left and right columns do not mesh together on smaller screens, do the following: catalog/sitemap.php FIND this code: $leftWidth = (tep_not_null($rightColDisplay) ? 'style="float:left; vertical-align:top; width:50%"' : 'style="float:left; vertical-align:top; width:100%"'); $rightWidth = (tep_not_null($leftColDisplay) ? 'style="float:right; vertical-align:top; width:50%"' : 'style="float:right; vertical-align:top; width:100%"'); and REPLACE IT with this: $leftWidth = (tep_not_null($rightColDisplay) ? 'class="pull-left col-xs-12 col-sm-6"' : 'class="pull-left col-xs-12"'); $rightWidth = (tep_not_null($leftColDisplay) ? 'class="push-right col-xs-12 col-sm-6"' : 'class="push-right col-xs-12"');
  5. Demitry

    Sitemap SEO

    ok, cool. thank you,
  6. Demitry

    Sitemap SEO

    @Jack_mcs Jack, that may have been the issue with the auto install. I checked and the Featured Products addon has that 545 group ID. So, should I just change all the 545 to NULL? Update: my mistake that was configuration_id
  7. Demitry

    Sitemap SEO

    Jack, I went back to version 1.7 ..according to the history log v1.8 is when you took out the sql file. I'm not great with sql and that version was dated back to 12/23/2009. Since that time MySQL has changed and osC now requires utf8 encoding compliance. Could you take a look and see if it is compatible with the latest version of osC and MySQL? I've attached that sql file from the v1.7 release. I just want to make sure it's all correct and not missing anything before installing it. Thanks. sitemap_seo.sql
  8. Demitry

    Sitemap SEO

    yeah, there is nothing in my error log either. I personally prefer the manual SQL installs rather than running an auto-install script, but I understand the need for it. I'll try and see if I can add these SQL commands manually. Jack, do you have a notepad version of this SQL install?
  9. Demitry

    Google XML Sitemap SEO

    @Jack_mcs Jack, I just checked out the latest version and I think you missed adding the new changes to ../googlesitemap/index.php and ../googlesitemap/sitemap.class.php. Those files are dated to the prior version and have no changes in them. Also, the ../googlesitemap/index.php version I sent you had the error_reporting and ini_set display_errors set to 1. I forgot to switch them back to 0.
  10. Demitry

    Sitemap SEO

    @Jack_mcs hi Jack, I tried to install this addon and am not able to get the database tables set up. I've installed and uninstalled via sitemap_seo_install.php and sitemap_seo_uninstall.php with no luck. I initially replaced all the deprecated <font> tags from the install file with <span> tags and thought that I may have made an error, so I uninstalled and installed the original file from your package (the one with the <font> tags). That did not work either. I looked at my database and there are no sitemap tables installed. Could you take a look at that install file and see if anything sticks out? sitemap_seo_install.php
  11. Demitry

    Google XML Sitemap SEO

    ok, got it!, ..then all is good, because mine is in the root dir.
  12. Demitry

    Google XML Sitemap SEO

    one thing though, when running this in diagnostic mode, WS_CAT is only displaying a forward slash for each generated sitemap. Is that supposed to be like that? Also, are these sitemaps not supposed to have links like the older version of this addon?
  13. Demitry

    Google XML Sitemap SEO

    lol, I think we submitted that post at the same time.
  14. Demitry

    Google XML Sitemap SEO

    ok, all fixed. I changed that function above to this and no more errors. function SelectDB(){ return mysqli_select_db($this->link_id, $this->db); } # end function
  15. Demitry

    Google XML Sitemap SEO

    @Jack_mcs ok, update, ..I actually got them all to generate. I just have to clear this php warning: Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in /home/ ... /public_html/dev2/googlesitemap/sitemap.class.php on line 97 and here is the function this warning is referring to: function SelectDB(){ return mysqli_select_db($this->db); } # end function
  16. Demitry

    Google XML Sitemap SEO

    I'm looking at it from the webpage, and on the older version this page had links to all the other xml sitemaps. And all the other xml pages had links to the individual pages listed,.. though this was not in xml format. This latest addon version is different in that it lists each of the pages in xml format but without links to anything. Is this how it is supposed to be? Here is the output I got when running that .../googlesitemap/index.php file. Let me know if anything sticks out that I may be able to change to get this working right. ERROR: Google Product Sitemap Generation FAILED! ERROR: Google Category Sitemap Generation FAILED! ERROR: Google Images Sitemap Generation FAILED! ERROR: Google Manufacturers Sitemap Generation FAILED! Opening /home/ ... /public_html/dev2/sitemappages.xml FS_CAT /home/ ... /public_html/dev2/ Server http://dev2.MyDomain.com Save Path /home/ ... /public_html/dev2/ WS_CAT / Write /home/ ... /public_html/dev2/sitemappages.xml Generated Google Pages Sitemap Successfully ERROR: Google Specials Sitemap Generation FAILED! Opening /home/ ... /public_html/dev2/sitemapindex.xml FS_CAT /home/ ... /public_html/dev2/ Server http://dev2.MyDomain.com Save Path /home/ ... /public_html/dev2/ WS_CAT / Write /home/ ... /public_html/dev2/sitemapindex.xml Generated Google Sitemap Index Successfully Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [STATUS] => false [NUM_ROWS] => 0 ) [CATEOGRY] => Array ( [STATUS] => false [NUM_ROWS] => 0 ) [IMAGES] => Array ( [STATUS] => false [NUM_ROWS] => 0 ) [MANUFACTURERS] => Array ( [STATUS] => false [NUM_ROWS] => 0 ) [SPECIALS] => Array ( [STATUS] => false [NUM_ROWS] => 0 ) ) [SAVE_FILE_XML] => Array ( [0] => Array ( [file] => /home/ ... /public_html/dev2/sitemappages.xml [status] => success [file_exists] => true ) [1] => Array ( [file] => /home/ ... /public_html/dev2/sitemapindex.xml [status] => success [file_exists] => true ) ) )
  17. Demitry

    Google XML Sitemap SEO

    Well, that did work partially. I can now view the diagnostic output and two of the sitemap files got filled in - the sitemappages.xml and the sitemapindex.xml However sitemapindex.xml does not have links to the other sitemap xml pages, it just came out like an xml page of its own. That's not how the older version I have works, so I'm not sure if this is an error or an intended change. I did add an older modification which seems to work well,.. It eliminates all pages that are disallowed in the robots.txt file. That prevents having to enter them twice, once into the robots.txt file, and again into the admin panel configuration page for this addon. Anyway, I have a few more things to test and see if I can get this addon to work.
  18. Demitry

    Google XML Sitemap SEO

    ok Jack, @Jack_mcs Thank you for the suggestion. I'll give it a try. I did not read through all the pages of this forum so I did not know about issues with PHP7. I'll let you know what I come up with. Thanks.
  19. Demitry

    Google XML Sitemap SEO

    ok, a bit of progress in my situation. I enabled errors in the index.php file and got this, which means there is some database connectivity issue with the ConnectDB() function. Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/ ... /public_html/dev2/googlesitemap/sitemap.class.php:83 I'm still not sure how to fix this...
  20. Demitry

    Google XML Sitemap SEO

    hi Jack, @Jack_mcs I installed this contribution on a subdomain with osC v2.3.4 BS Edge, PHP7.1.7 I set in the configuration to allow for the various sitemap generation, took out the days time limit on manual regeneration, added my ip for Manual IP and Secure IP, ..and enabled the Diagnostic Output. However, I get nothing, just a blank page when I go to ..../googlesitemap/index.php There is nothing in my error log either. Any thoughts? This is the only error I get on the actual sitemap page. See image below.
  21. Hey, just a couple of things to mention. Adding or eliminating that space in the css code makes no difference, it's just personal preference in coding. I always remove it because it adds characters to the file. Regardless, that css file should be minified when you are done with it. Minifying it will remove those spaces anyway, so like I said, they make no difference. Malcolm, a CRTL F5 is not a hard refresh, it is a just a refresh. A hard refresh that removes all page cache is CTRL SHIFT R. Though sometimes the page does clear some of the cache on F5.
  22. @graveyardrecords Jeff, I made a quick module for your index page (attached). It's only 3 files to upload and activate from your admin panel. The code for that image is in the template file and it will adjust to browser size. I assume that image is in the /images/ folder. If it's not, place it in that folder and it will display once the module is enabled. As for changing the site colors, that may take you some time. I suggest using a Theme Switcher addon. I think this one is the latest for BS. https://apps.oscommerce.com/xy9vz&theme-switcher index added content module.zip
  23. Demitry

    Modular Shopping Cart

    @Dan Cole Dan, thank you for the reply. I apologize, I missed it in that module. I thought I went through all of the modules thoroughly, but apparently not.
  24. Demitry

    Modular Shopping Cart

    @raiwa yep, you're right,.. I checked it myself last night after asking here. When comparing the module files and the shopping_cart.php file, I did notice that the following code was removed, and I could not locate it in any of the new module files. Is it not necessary for the shopping_cart.php file? if ($cart->count_contents() > 0) { include('includes/classes/payment.php'); $payment_modules = new payment; }
  25. Demitry

    Modular Shopping Cart

    @raiwa hey Rainer, I have not installed this addon yet, and wanted to know if it will work with the PWA addon? This one: https://apps.oscommerce.com/5f3nn&purchase-without-account-bs I assume it will, but have to ask. Thanks.
×