Jump to content

Jack_mcs

Members
  • Content count

    29,671
  • Joined

  • Last visited

  • Days Won

    128

Everything posted by Jack_mcs

  1. Jack_mcs

    Undefined index:

    @supercheaphobbGive this a try: tep_db_query("delete from stock_notification where snid = '" . (int)$_GET['delete'] . "' and sn_customer_id = '" . (int)$customer_id . "'");
  2. Jack_mcs

    Auto Update Currencies

    First, check the php version you are using in admin->tools->Server Info, It has to be 5.3 or above. If it is, edit the admin/auto_update_currencies.php file and change if (! isset($_SERVER['HTTP_USER_AGENT'])) { //ran by cron require('includes/application_top.php'); } to require('includes/application_top.php'); Does that make a difference?
  3. I doubt one of the latest versions of this addon will work for you. Try installing 2.2d-13 or earlier. You'll lose improvements and security fixes but that's the trade-off when running such an old shop.
  4. Jack_mcs

    Auto Update Currencies

    The code compares the current hour to what you have in the setting. If you have it set to 10 and you never login to your admin before 10, the script will never run. Also, it only runs when you are on the index,php page of admin. So sometime before 10 go to ...com/admin/index.php and it should run. You can run it manually by going to ...com/admin/auto_update_currencies.php If that works, then it is a time or page issue as described. If it doesn't, then it is probably due to the links for currencies. Try updating the currencies manually in the currencies section of admin to see if the code will do it.
  5. Jack_mcs

    Auto Update Currencies

    If you did that and it didn't fail, the setting has to be in your database. I've seen some templates that sort the configuration settings into different sections so that there is more than one configuration section in admin. Short of something like that, I can't even guess at what went wrong. You can search the database for AUTO_UPDATE_CURRENCY_BEFORE, which that sql change adds. It has to be there somewhere if there were not any failures.
  6. Jack_mcs

    Auto Update Currencies

    Step 3 is only for when cron won't work. If you use step 3, you have to apply the database change mentioned
  7. Jack_mcs

    Credit Class & Gift Vouchers (CCGV) for 2.3.1

    Your question is not clear to me but you can sell Gift Vouchers which can then be used for payment in that persons account or in another should they send the code to them. By the way, you should use Gift Vouchers Secure since this one is no longer supported.
  8. Is it always with the same payment module? Which payment module? If you enabled the COD or Check/Money Order module does it fail?
  9. Jack_mcs

    Jssor Slider

    I can't think of anything else that might cause it. I've installed it into a number of shops and never had any issues so I can only assume it is something in your shop. Doing an install into a fresh shop as you mentioned is the best thing to try.
  10. Jack_mcs

    Jssor Slider

    @freakystreakThe only other thing I can think of is that the javascript file wasn't uploaded in the ext directory. I don't use Chrome but it should show that the file wasn't loaded in the developer tools section if that is the case. Does the module settings in admin show the various effects? It loads them from a file in ext so if they are there, the javascript file probably is to but it would be worth checking.
  11. Jack_mcs

    Jssor Slider

    @freakystreakThe next version (not released yet) has a change for the images. That might fix it though it. In the modules, find $banner_query = tep_db_query("select banners_id, banners_url, banners_image, banners_html_text from banners where banners_group = '" . MODULE_CONTENT_INDEX_JSSOR_SLIDER_GROUP . "' and status = 1"); if (($cnt = tep_db_num_rows($banner_query)) > 0) { while ($banner = tep_db_fetch_array($banner_query)) { if (tep_not_null($banner['banners_html_text'])) { $imgArray[] = $banner['banners_html_text']; } else { $imgArray[] = tep_image('images/' . $banner['banners_image'], $banner['banners_html_text'], '','','u="image"'); } if (tep_not_null($banner['banners_url'])) { $urlArray[] = tep_href_link($banner['banners_url']); } else { $urlArray[] = '#'; } } } and replace it with $txtArray = array(); $banner_query = tep_db_query("select banners_id, banners_url, banners_image, banners_html_text from banners where banners_group = '" . MODULE_CONTENT_INDEX_JSSOR_SLIDER_GROUP . "' and status = 1"); if (($cnt = tep_db_num_rows($banner_query)) > 0) { while ($banner = tep_db_fetch_array($banner_query)) { if (tep_not_null($banner['banners_image'])) { $imgArray[] = tep_image('images/' . $banner['banners_image'], $banner['banners_html_text'], '','','u="image"'); $txtArray[] = $banner['banners_html_text']; } else { $imgArray[] = $banner['banners_html_text']; } if (tep_not_null($banner['banners_url'])) { $urlArray[] = tep_href_link($banner['banners_url']); } else { $urlArray[] = '#'; } } }
  12. Jack_mcs

    Jssor Slider

    @freakystreakWhich module are you using - header or index? Does it fail if you try the other (only one can be enabled)? Does the banner group in the module settings match the banner group in the Banner Manager?
  13. Jack_mcs

    Fake accounts

    Someone posted a thread to an article about why this is increasing. I don't know if it was in this thread or not but the article basically said companies were paying spammers to test how to get into sites. I suspect that is the case. Honey Pot can stop all accounts, as it is written, because a spammer account is not any different than a regular account. It is possible to code it to detect certain words and stop them. I do that in my View Counter (unreleased version) and it stops 100% of them. But for now, cutting down the number of them is the best it can do. There should be a sitting that requires the referral. I think it is in admin->Configuration->Customer Details but some versions of How Did You Hear might have it elsewhere, like in a module.
  14. Jack_mcs

    Fake accounts

    20-30 from different people or the same one? If the former, it depends on what page they are using. If the latter then your settings are probably not correct.
  15. Jack_mcs

    URL in attribute pricing

    Normally selling EBooks is handled on the site using the Downloads option. But I'm not sure how that will work with Amazon. You can edit the download module to add a link to Amazon. The existing link would have to be removed unless you also sold downloads on the site, in which case you would have to do some checking of the product.
  16. Without knowing what the error is it is difficult to say. But generally speaking, video files are usually large so they may be higher than the servers upload size (probably 2 MB). You might want to check with your host regarding that.
  17. Jack_mcs

    SSL and redirect setup - best way

    The above should be define('DIR_FS_DOCUMENT_ROOT', '/home/superche/public_html'); define('DIR_WS_ADMIN', '/store/admin/'); define('DIR_WS_HTTPS_ADMIN', '/store/admin/'); define('DIR_FS_ADMIN', '/home/superche/public_html/store/admin/'); define('DIR_WS_CATALOG', '/store/');
  18. Jack_mcs

    Categories different rows

    This is the wrong approach. Changing text and resizing images might fix the problem today. What happens a year from now when your client adds something larger? If you are happy with the result and don't mind the extra work then that is fine. But allowing the code to fix the issues on the fly is the way it should be handled, in my opinion.
  19. Jack_mcs

    SSL and redirect setup - best way

    Correct. Correct.
  20. Jack_mcs

    SSL and redirect setup - best way

    @supercheaphobbThere are many ways to accomplish this. This is my preferred method: #redirect index.php to root RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ https://www.YOUR DOMAIN.com/store/ [R=301,L] #redirect non-www to www RewriteCond %{HTTP_HOST} ^YOUR DOMAIN\.com RewriteRule ^(.*)$ https://www.YOUR DOMAIN.com/store/$1 [R=permanent,L] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.YOUR DOMAIN.com/store/$1 [R,L] For the shop, you should change the .htaccess file in the root of the store directory - no others . You should also change the one in the web root if you don't use it for any other purpose.
  21. Jack_mcs

    Categories different rows

    I've installed it into many shops and can assure you it does work. Please post a screenshot of your admin->Modules->Header Tags so I can see if there are any problems.
  22. Jack_mcs

    Categories different rows

    Did you install the module? Did you set the sort order as directed in the install instructions?
  23. Jack_mcs

    Google XML Sitemap SEO

    If you are asking if this addon is necessary, then yes, it is. All of the search engines look for sitemaps so having one will help your site.
  24. This isn't a new contribution and I don't claim the code in it. This is an update to the excellent work Chemo did on the Google XML Sitemap Feed located here: http://addons.oscommerce.com/info/3233 - version 1.3. It was added as a new contribution do prevent the corruption that exists in so many contributions lately. This version includes the following changes: - Manufacturers site map - Specials site map - Human readable output The feeds automatically adjust to match the urls if Ultimate SEO is installed, thus preventing some blocked url's by the search engines. If you have version 1.3 of the above contribution installed, you can just upload all of the files to update to this version. Be sure to run the sitemap afterwards though. Jack
  25. Jack_mcs

    Categories different rows

    Install the New Equal Heights addon to fix that.
×