Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

ukclearance

Members
  • Content Count

    36
  • Joined

  • Last visited

Community Reputation

7 Neutral
  1. ukclearance

    GitUpdater preview

    Apologies if I said that 30bees didn't support PHP 7.2 and it does, I assumed it was a PHP issue FYI I tried the core updater module as well and this also threw the same error: [PrestaShop] Fatal error in module file :/home/30bees/vendor/pear/archive_tar/Archive/Tar.php: Cannot use result of built-in function in write context I am no coder so don't know what caused the error, but I know it would not install either the git updater or core updater modules until I made the change in the Tar.php file
  2. ukclearance

    GitUpdater preview

    I tried to install this module but I get this error message when I do so: [PrestaShop] Fatal error in module file :/home/30bees/vendor/pear/archive_tar/Archive/Tar.php: Cannot use result of built-in function in write context My server is ubuntu 18.0.4 and the shop is running 30bees 1.0.7 upgraded from Prestashop 1.6 everything appears to be working ok but this module shows the error when trying to install and no menu entry is put into the preferences menu so unable to access it. Solution update After doing some googling it looks as though this is caused because of a PHP issue rather than a 30bees one. Ubuntu 18.04 uses PHP 7.2 but i noticed that 30bees only says it supports upto PHP 7.1. I found a solution on the prestashop forums which worked for me. So thought I would update it incase others are having the same issue Edit the file on your server /vendor/pear/archive_tar/Archive/Tar.php And replace this code $v_att_list = & func_get_args(); with $v_att_list = func_get_args(); Then save the file. This fixed it fixed the problem for me.
  3. ukclearance

    UK Counties XML list for TB

    I noticed that the TB localization for UK doesn't include any of the UK counties which might be useful to some people. Below is a list of counties for England, Wales, Scotland and Northern Island that you can add to the gb.xml file on your server and then import into TB so you can offer it as a drop down list on your checkout for UK customers. I don't think it matters where in the xml file you add it, i just put it at the end and it seems to import fine. To import the counties you go to Localization > Localization and then pick United Kingdom (local) and make sure you set download pack data to No, So that it updates from your server and not from the TB site. ``` ``` After you have imported the counties you will need to change the UK country setting in Localizations > countries to 'contains states' and might need to add the states option to the address format for it to show for your customers.
  4. ukclearance

    PHP 7.2 is it compatible yet?

    @angstony_2 said in [PHP 7\.2 is it compatible yet?](/post/23181): > @lesley said in [PHP 7\.2 is it compatible yet?](/post/23104): > > Yes, things should work with 7.2 > > I recently copied our shop to a testing sub-domain on an old personal domain and switched it to 7.2. Everything seemed to be fine until I went to Preferences | CMS in the back office and got a blank page. Running TB 1.07 on top of Ubunu 18.04 with PHP 7.2 and I didn't get the problem with black page on Preferences > CMS in the back office. What is the exact problems with the Paypal module and PHP 7.2? I just went through the shopping cart process and it appears to be working ok and have been getting orders so it is obviously not bothering my customers either. Please advise if there is anything i need to be worrying about running the Paypal module with PHP7.2
  5. Ubuntu 18.04 installs PHP 7.2 as the default version so I would have to downgrade to use 7.1, For now it is only warning messages I will check if there are any actual errors before downgrading as that would involve further downtime on my site.
  6. I looked in the log files of my server and noticed that there are the following warnings: ``` PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/30b/classes/Blowfish.php on line 80] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/30b/classes/controller/AdminController.php on line 4098 PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/30b/classes/controller/AdminController.php on line 3245 PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/30b/classes/Cart.php on line 1718 ``` Are these errors going to cause problems with my store and how to I fix them. My server is Ubuntu 18, with apache 2 and PHP 7.2, and Thirtybees 1.0.3 I have recently moved to a new host but don't recall seeing these errors on my old server which was Centos 7, Apache 2 and PHP 7.0
  7. ukclearance

    Recaptcha module - Confirmation Unknown message

    No, i never changed anything. At first it was not showing the captcha at all when i installed the module, so i reset the module and put the same keys back in and the captcha box then showed up but i was still getting 'unknown' when i tried it. Did a test from the contact form and it was working with no error, and did block sending if you did not tick the box. I tried again in the back office a couple of times and always got the confirmation 'unknown' message then suddenly it showed 'captcha accepted' The only thing i think it could be is that i use cloudflare on my server and perhaps it had cached this error message and was showing me the cached version of the page rather than the live version
  8. ukclearance

    Recaptcha module - Confirmation Unknown message

    Update. I just tried it again and now the message shows as captcha accepted. So look like it is working ok now. Strange that it took several attempts to get the confirmation.
  9. Thanks to the TB team for releasing the No Captcha recaptcha module as i was suffering from the Russian spam over the last few days and hopefully it will solve the issue. It took me a couple of attempts to get the module working on my site though, had to reset the module and try again before the recaptcha example would show in the back office. It appears to be working but i still get an error message in the confirmation section shows 'unknown' and don't know what that means? ![0_1519561852137_Screenshot at 2018-02-25 12-25-04.png](/assets/uploads/files/394/1519561852954screenshot-at-2018-02-25-12-25-04.png) I can send a test message from the contact form and it arrives ok, and won't send them without ticking the 'im not a robot' box so it all appears to be working ok
  10. ukclearance

    An error occurred while sending the e-mail to the customer

    My server is centos 7 and i have looked in mail and messages logs and don't see any error message relating to this problem. I am stumped, it hard to understand why the test email works but order messages don't only when SMTP is enabled.
  11. ukclearance

    An error occurred while sending the e-mail to the customer

    Ok an update to this problem, if i set email to use the php mail function the order status emails go through, but yet it i enable SMTP they don't get sent and i get the error, But the test email does work on SMTP. I really want to be able to use SMTP emails though as emails sent through php mail get marked as SPAM so my customers won't be able to see them.
  12. Whenever I update the order status and TB should send a email i get an error message " An error occurred while sending the e-mail to the customer" If i go into the test your email configuration and send a test email the email is sent and arrives at the test account ok, but no emails are being sent from the order statuses. I know it is not a problem with the email addresses as i created a test order and it still did not work sending the order statuses or when i click resend email. Nothing shows in the TB log so i don't know what is causing the error. Help please
  13. ukclearance

    Getting a TB module created advise needed

    @lesley It is banggood.com
  14. I was looking for a free module to export the products from TB into an compatible XML file for Google shopping feed and found this one. https://github.com/dim00z/gshoppingflux From testing it appears to work ok, although I needed to unzip the download on my PC and navigate down one directory level and re-zip it back up to be able to install it from the TB admin interface.
  15. ukclearance

    Getting a TB module created advise needed

    The module is going to integrate with an API offered by the drop shipper i use, so that it can automatically keep track of stock levels and pass on customers details when a new order is made.
×