Jump to content

MyBookShop

Members
  • Content count

    34
  • Joined

  • Last visited

Profile Information

  • Real Name
    Mark

Recent Profile Visitors

1,719 profile views
  1. MyBookShop

    switching the site to https

    Don't forget to open the port 443 on your router or firewall.
  2. Thank-you, as embarrassing as this is to say the problem was with AddBlock+ the mozilla plugin was blocking the banner on my browser I use.
  3. Thanks Jc I understand that you can't support every variation in host platform. The issue is with the host and is a PHP restriction. I keep my eye out in case its ever revised. Ta Muchly
  4. Hello, I get an error in the log : PHP message: PHP Warning: is_dir(): open_basedir restriction in effect. https://www.php.net/manual/en/function.is-dir.php I understand that this restriction is so I cannot access other users files. https://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-paths#34980645 (the above discussion leaves me with no real acceptable answer) Is there other logic that could replace this function found in file cm_header_jcm_carouselbanner ? $file_extension = substr($PHP_SELF, strrpos($PHP_SELF, '.')); $files_array = array(); if ($dir = @dir(DIR_FS_CATALOG)) { while ($file = $dir->read()) { if (!is_dir(DIR_FS_CATALOG . $file)) { if (substr($file, strrpos($file, '.')) == $file_extension) { $files_array[] = $file; } } } sort($files_array); $dir->close(); } Mark.
  5. MyBookShop

    Product listing

    Thankyou. I am still clueless to the cut and paste error in Notepad++, I also used the compare in it and, sent to notepad for clear txt. Still the attachment has fixed this for me. And allowed me to move on with the site. So I did this, hope you do not mind I donated to Burt. Thankyou again Raiwa.
  6. MyBookShop

    Product listing

    Thank you for your response Raiwa. The cut and paste is fine, I have two Frozen sites perfect. And now a new site. Installation showed all green ticks for compatibility. As I said the original code installed with this module leaves me with a blank website. As stated this is a vanilla install with just this mod. The above prior changes gave me back my website with images but the images were stretched horizontally. -------------------------------------- I have now changed code to this, and it gives me my site with the images not stretched but also not centered on the main page only (index.php) the (product_info) pages appear to be centered. ... require_once 'includes/modules/kiss_image_thumbnailer/classes/Image_Helper.php'; $attributes = array( 'alt' => $alt, 'width' => $width, 'height' => $height ); $image = null; if (tep_not_null($width) && tep_not_null($height)) { $image .= ' width="' . tep_output_string($width) . '" height="' . tep_output_string($height) . '"'; } $bs_parameters = ' class=img-fluid"'; // if (tep_not_null($responsive) && ($responsive === true)) { // $bs_parameters .= 'img-fluid'; //not working // $bs_parameters .= 'img-responsive'; //works // } -------------------------------------- I'm no coder. Rawia I'm just trying to get this plugin to work on my config. I'm not saying this is a solution, just that it brings the site back for me. It appears to me that some parameters are not being added together or passed through to other functions or are the incorrect type, but the log shows no such error. As stated I'm trying to tell you what I'm doing to get my site up in case anybody else has this trouble and diagnose if there is a problem that only manifests on some configs. I really would appreciate any help, can provide you (Raiwa) with site access if you like, Thankyou. Mark http://www.143books.com.au/index.php
  7. MyBookShop

    Product listing

    I had some trouble installing this, its a vanilla CE-Phoenix-1.0.3.0 new install with just this to reduce any conflict. I run 3 sites from the same hosting platform, I guess its the PHP version or a host issue the two existing Frozen CE sites had no issue in install. In Phoenix : After install the site is blank. Admin side works (I did not install on admin side) the KissIt gallery module was installed, the gallery removed. No Kissit options appeared in Admin :- Images settings. The DataBase appears not installed. Apache Log shows errors : [Sun Nov 17 15:56:05.715202 2019] [proxy_fcgi:error] [pid 24890] [client 204.12.###.###:58108] AH01071: Got error 'PHP message: PHP Parse error: syntax error, unexpected '\xef\xbb\xbf' (T_STRING) in /web/includes/functions/html_output.php on line 139\n' [Sun Nov 17 15:56:10.267878 2019] [proxy_fcgi:error] [pid 24884] [client 204.12.###.###:36812] AH01071: Got error 'PHP message: PHP Warning: Use of undefined constant KISS_DISABLE_UPSIZE - assumed 'KISS_DISABLE_UPSIZE' (this will throw an Error in a future version of PHP) in /web/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 273\nPHP message: PHP Warning: Use of undefined constant KISSIT_MAIN_PRODUCT_WATERMARK_PLACEMENT - assumed 'KISSIT_MAIN_PRODUCT_WATERMARK_PLACEMENT' (this will throw an Error in a future version of PHP) in web/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 402\nPHP message: PHP Warning: Use of undefined constant KISSIT_SHARPEN_THUMBNAIL - assumed 'KISSIT_SHARPEN_THUMBNAIL' (this will throw an Error in a future version of PHP) in /web/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 290\nPHP message: PHP Warning: Use of undefined constant KISSIT_SHARPEN_THUMBNAIL - assumed 'KISSIT_SHARPEN_THUMBNAIL' (this will throw an Error in a future version of PHP) in /web/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 443\nPHP message: PHP Warning: Use of undefined constant KISSIT_APPLY_BACKGROUND - assumed 'KISSIT_APPLY_BACKGROUND' (this will throw an Error in a future version of PHP) in /web/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 300\n' Comparing html_output.php to the working CE install I changed the line Approx 139 back to : if (tep_not_null($responsive) && ($responsive === true)) { $bs_parameters .= 'img-responsive'; } This brought the site back to life and KissIt installed in the Admin :- Image options. I also have this error showing regularly in the Apache log and may be related. [Sun Nov 17 13:58:30.084360 2019] [proxy_fcgi:error] [pid 17091] [client 207.180.###.###:44052] AH01071: Got error 'Primary script unknown\n' I provide this post as a solution if anyone else has a similar issue to try. Mark
  8. MyBookShop

    Customer Birthday Discount

    Does the discount apply immediately? or can you make the customer wait about a month. I can see some people just create a fake date or account just to get discount at the expense of loyal client following and shop.
  9. MyBookShop

    All Products SEO

    Gidday, I need to list all my products on one page (hidden or not) for a web crawler that can't follow folders. This was most likely a good solution but is not updated for CEfrozenBS4. I suggest an alternative to this module which is complicated to install, is to just duplicate the existing [Whats New Box] module. But how to make it list all products with out page breaks [1] [2] [3] ... etc and also default to Grid view? Mark.
  10. Could you implement this Addon in your BS version. It orders the Admin items into Alphabetical order, I cant live without it. https://apps.oscommerce.com/1HEkU&module-display-order-matches-sort-order or a sort order at the top bar so can sort by [Modules Group SortOrder Action] I will donate again:)
  11. MyBookShop

    Optional Related Products, Version 4.0

    I think he means that in the related products are no longer in Grid mode but as a long vertical list as would be displayed on a phone. Some how this is broken for PC browsers as it used to work like this (I am now using Frozen BS4 CE downloaded from Chilled Displays). Also the version number still shows as 6.40 not 6.60 The admin sidet might not be compatible with the new BS4 admin, but i'm still testing that out as it might be my setup. Mark
  12. Hi! Shetch, just installed this, its just beautiful. And works. But is there another BS theme that could be used that does not fetch the external font from googlefonts Api. I like to host all the scripts etc, locally. I know you would have other priorities than this request. Thank-you. Mark.
  13. MyBookShop

    Google XML Sitemap SEO

    I tried this on a new blank website with only one product and no category, it threw an error about arrays. I created a new category (so I had one) and the errors when away. Maybe state that in the installation manual. Working now Thankyou.
  14. Burt, will you be accepting donations?
  15. MyBookShop

    Warn on Duplicate UPC

    Burt, I will donate another $80USD for this and add the ability to search on UPC in the customer shop. Its a good change (benefits every store) and it should go into the core but a plugin would be fine i guess..
×