Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Posts posted by 14steve14

  1. Is there not a section in the language files where this can be changed. Near the top in the english one in both admin and store front.

    I altered mine to the following and it seems to all be working fine.

    // look in your $PATH_LOCALE/locale directory for available locales
    // or type locale -a on the server.
    // Array examples which should work on all servers:
    // 'en_US.UTF-8', 'en_US.UTF8', 'enu_usa'
    // 'en_GB.UTF-8', 'en_GB.UTF8', 'eng_gb'
    // 'en_AU.UTF-8', 'en_AU.UTF8', 'ena_au'
    @setlocale(LC_ALL, ['en_GB.UTF-8', 'en_GB.UTF8', 'enu_gb']);
    const DATE_FORMAT_SHORT = '%d/%m/%Y';  // this is used for strftime()
    const DATE_FORMAT_LONG = '%A %d %B, %Y'; // this is used for strftime()
    const DATE_FORMAT = 'd/m/Y'; // this is used for date()
    const JQUERY_DATEPICKER_FORMAT = 'dd/mm/yy'; // see http://docs.jquery.com/UI/Datepicker/formatDate


  2. Rainer. Just installed this latest version and have the following error on the recently_viewed.php page. I have tried using an older version of this page and the error is stil lthere for some reason.


    1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND p.products_status = '1' AND p.pr' at line 6

    SELECT COUNT(p.products_id) AS total FROM products_description pd, products p LEFT JOIN manufacturers m ON p.manufacturers_id = m.manufacturers_id LEFT JOIN specials s ON p.products_id = s.products_id WHERE p.products_id IN () AND p.products_status = '1' AND p.products_id = pd.products_id AND pd.language_id = '1'


  3. 3 hours ago, ecartz said:

    Note that in the short term, store owners can get rid of the notices by changing the configure.php files to add

    & ~E_NOTICE

    to the error_reporting line.  While I think it is better to run at E_ALL because occasionally notices warn of actual problems, if they are getting in your way, that option is always open to you.  That's why error_reporting is now set in the configure.php file and not in the code.  So you can choose the level that works with the Apps that you have installed.  In fact, the update instructions from to included setting these to the old values for compatibility reasons. 

    Cheers ecartz I realise that they are notices and that they can be turned off or reduced, but with the setting high it does show where problems are and as this is currently a development store I don't mind them showing, I just think its good to bring them to a developers attention so they can be removed if possible.

  4. Rainer I have downloaded the latest version and have added this to the latest I have added one featured product and have the following warning notices on the index pages which are


    Notice: Trying to access array offset on value of type null in /home/railway1/public_html/phoenix/includes/modules/content/index/cm_i_featured_products.php on line 45

    and one on the index nested page which is


    Notice: Trying to access array offset on value of type null in /home/railway1/public_html/phoenix/includes/modules/content/index_nested/cm_in_featured_products.php on line 44

    In both instances the line is

          $featured_products_content = NULL;

    Any ideas.

  5. @Jack_mcs That did cure the error, but has now added another one which may or may not be anything to do with your module, but with the module removed there is no error. This time the error/warning is Notice: Undefined index: sendto in /home/####/public_html/####/includes/system/versioned/ on line 176. 

    When I refresh the site and page cache the error seems to not appear now the module is reinstalled and I have logged back in again.

    I think your change may have sorted the error. I will keep my eyes open in case it returns.

    Cheers Jack.



  6. Jack I have just added this to a new Phoenix store and am getting the following error


    Notice: Undefined offset: 1 in /home/railway1/public_html/phoenix/includes/modules/content/shopping_cart/cm_sc_continue_shopping.php on line 68

    Only seems to be present when logged in.

    Before login the continue shopping button works as expected. As soon as logged in the error appears.

    Any ideas how to correct this.

  7. Sorry to be  a pain Rainer. I know you are busy, but when installing this on the a test version of Phoenix I get the following error when logged in as a customer. When logged out everything seems to be as it should but as soon as I am redirected to login using the login button this error appears. Log out and the error goes away.


    Notice: Undefined offset: 1 in /home/railway1/public_html/phoenix/includes/modules/content/shopping_cart/cm_sc_continue_shopping.php on line 68

    The line in question is

                  public function fetch_to_address($to = null) {

    Any ideas.

  8. I had a quick look at your site and I have to agree with most of the other comments.

    There is huge whitespace at the bottom of some pages.
    The seo needs to be sorted on nearly every page.
    For some reason the index page is narrower that the full width of the page in places. I would also make more of the free shipping box on the front page.
    There are lots of duplications of bits such as the boxes in the left column. get rid of one or the other of them. Personally I would get rid of the left column and keep everything in the header or footer.
    On the index page all the drop shadows distract from the products so either lighten them or remove them. Same as the image borders - remove them.
    On the product pages the model module looks a bit silly and out of place where it is by the buy button. Move it up to under the product title
    If you could get your Categories drop down listings in the header to look the same as the Brands one that would be even better.
    I am not too sure about the way the login/create account link works. That flyout thing does look a little weird and the page does look cramped.

    As Phoenix is modular make use of the easy to change sort order of those modules.

    My only other advice would be to look and see what your competitors are doing, and try to make your site stand out from those. Look at your site from your customers point of view and make sure it offers what they want. So if you have product data sheets, or supplier pdf data about the products add them to the product. All that is needed is a link or an image or something that is a clickable link. Once all that is done add in all your company legal stuff such as all the policies you must need, and good luck.

    Dont be disheartened by all the negative comments as most of them are an easy fix.

  9. Apart from the parse error in admin - modules once the module has been installed the next largest error is the following


    Fatal error: Uncaught Error: Call to undefined function tep_navbar_store_search() in /home/######/public_html/######/includes/modules/content/header/cm_header_store_search.php:24 Stack trace: #0 /home/######/public_html/######/includes/system/versioned/ cm_header_store_search->execute() #1 /home/######/public_html/######/templates/default/includes/components/header.php(15): oscTemplate->getContent('header') #2 /home/######/public_html/######/templates/default/includes/components/template_top.php(56): require('/home/######/...') #3 /home/######/public_html/######/templates/default/includes/pages/index.php(13): require('/home/######/...') #4 /home/######/public_html/######/index.php(35): require('/home/######/...') #5 {main} thrown in /home/######/public_html/######/includes/modules/content/header/cm_header_store_search.php on line 24

    I suppose lots of that is all about files in the new folder structure on but I may be wrong.

  10. @raiwa I can confirm that this was nothing to do with your app. Please accept my apologies for wasting your time. I found another thread on the forum about a similar error in the /home/#####/public_html/#####/includes/system/versioned/, made the recommended change and still no better. Then started turning off all sorts of modules and believe it or not it was related to an older bank transfer module that had been working with no errors, and for some reason when moving this code around using the sort orders brought the error to the surface. All sorted now.

  11. 3 minutes ago, raiwa said:

    I can't reproduce this error.

    If you are using PayPal Express, can you switch it off temporary and check again if the error persists.

    No additional shipping or payment modules are turned on.

    I am looking into this as I have the feeling that to get something else to work I was advised to change one of the files in the versioned folder and I need to see what one it was. I have lots of notes somewhere so will have to go through those.

  12. @raiwa  Many thanks for updating this module. Its really appreciated as its a great addon and saves many abandoned carts.

    Trying to install this on a store that was not updated from an earlier version

    I do have a bit of a problem though which has only come to light after installing this module. I am trying to get the shipping estimator module to show before the checkout button. When I adjust the sort order to allow this to happen I get the following error on the shopping cart page.


    1146 - Table 'railway1_phoe111.TABLE_ZONES_TO_GEO_ZONES' doesn't exist

    select zone_id from TABLE_ZONES_TO_GEO_ZONES where geo_zone_id = '3' and zone_country_id = '' order by zone_id

    When the module shows after the checkout button it all works fine. The settings in admin are set as they are installed with no changes.

    I did also notice another error when I removed the checkout button but could not replicate it again unfortunately.

    Is this something funny with my setup. I have tried removing and re adding the checkout button module and the error is still there. If the module is again moved to after the checkout button all works fine.

  13. @Zero222  Please read what ecartz posted. He said change all http entries to https in both of the configure files. You may also want to add something into your htaccess files so all customer and search engine links transfer across to SSL as well. Adding something like this should work, but replace the #### for your site url.

    # Rewrite code for non www to www and from HTTP to https
    RewriteCond  %{HTTPS} off   [OR]
    RewriteCond  %{HTTP_HOST}  !^www\.  [NC]
    RewriteRule  ^(.*)$  https://www.####.com/$1  [R=301,L]