Jump to content

keat

Member
  • Posts

    1,537
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by keat

  1. @wkd Just bear in mind what I mentioned 6 posts up. If a customer had his caps lock on, and his first and second name ended in the same letter, then he's going to get caught by BSmithers trap. From my point of view It's not often that a customer will leave his caps lock on, and what's the odds that if he did, that he might just have the same end letter in both his first and second name? However, if we lost a customer, and he was about to spend £500 (or above), then this would be more annoying than the bot. Maybe we should collectively try to find another pattern ?
  2. I may have found it. allow_url_fopen was disabled in php.ini Now something in the back of my mind tells me that I've seen this before.
  3. I disabled OWASP mod security and it's the same, so I've ruled that out. I've deleted and recreated a re-captur key incase it was IP or hostname specific. Still the same.
  4. I've recently moved a number of my sites to another server and discovered an issue when trying to run Re-CaptureV2. I get an error reporting that the validation code is incorrect. I'm pretty much convinced that it's either Owasp or a PHP module, but I'm stumped, as my current PHP and ModSec config appears to be the same config as my other server. Any ideas ?? [Thu Jan 16 10:31:19.423076 2020] [cgi:error] [pid 21100] [client xx.xx.xx.xx:51486] AH01215: PHP Warning: file_put_contents(e331d.sql.ada5551fd984837d35a554bce7ca270f.cache) [<a href='http://docs.php.net/manual/en/function.file-put-contents.php'>function.file-put-contents.php</a>]: failed to open stream: Permission denied in /home/mysite/public_html/classes/cache/file.class.php on line 230: /usr/local/cpanel/cgi-sys/ea-php71, referer: https://www.mysite.co.uk/register.html [Thu Jan 16 10:31:19.423141 2020] [cgi:error] [pid 21100] [client xx.xx.xx.xx:51486] AH01215: PHP Warning: Cache data not written. in /home/mysite/public_html/classes/cache/file.class.php on line 233: /usr/local/cpanel/cgi-sys/ea-php71, referer: https://www.mysite.co.uk/register.html In the meantime, ive disabled Recapture.
  5. Is this the same bot which registers a name similar to this ? RafaelVahHC, RafaelVahHC This has been bugging me for a few years.
  6. keat

    php version

    I applied the code changes on one site and changed php to use 7.3 on just that site. I don't see the error any more. I'll compare the two files on monday when I'm back in the office. Thanks for this yet again.
  7. keat

    php version

    Sorry. I've been extremely busy on my server migration. I'll try to take a look at these some time over the weekend.
  8. keat

    php version

    Disregard my two previous posts, as these came about after my ham fisted attempt to try and fix this in my own clumsy manner. They only probably confuse matters. I don't see any errors on the 6.1.5 sites when running PHP7.0 On the 6.1.5 site i see the following error when running on PHP 7.3 Deprecated: Function create_function() is deprecated in /home/cabletie/public_html/classes/config.class.php on line 266 I understand that ' create_function ' was depreciated in PHP 7.2, but as I don't profess to understand PHP, I don't know how to fix it.
  9. The GitHub post mirrors my experience. I guess the customer choosing the checkout button writes the order to the database and allocates an order ID. If a price changes after this, those database entries are not over written. Not quite sure why the subtotal gets recalculated though.
  10. keat

    php version

    Fatal error: Uncaught Error: Call to undefined method Config::_stripslashes() in /home/zzzzzzzzzzzzz/public_html/classes/config.class.php:268 Stack trace: #0 [internal function]: Config->{closure}('xxxxxxxxxx', 'store_name') #1 /home/zzzzzzzzz/public_html/classes/config.class.php(269): array_walk_recursive(Array, Object(Closure)) #2 /home/zzzzzz/public_html/classes/config.class.php(69): Config->_clean(Array) #3 /home/zzzzzzzzzzzzz/public_html/classes/config.class.php(110): Config->__construct(Array) #4 /home/zzzzzzzzzz/public_html/controllers/controller.index.inc.php(22): Config::getInstance(Array) #5 /home/zzzzzzzz/public_html/index.php(20): include('/home/zzzzzzz...') #6 {main} thrown in /home/zzzzzz/public_html/classes/config.class.php on line 268 Also may I add. If I copy config.class.php from my 6.2.6 site to this 6.1.5 site, the site appears to function correctly. However, I don't know what the implications of leaving it are, so I rolled back.
  11. keat

    php version

    I tried to be clever thinking I could copy the script from: private function _clean($array) { array_walk_recursive($array, create_function('&$s,$k', '$s=stripslashes($s);')); return $array; to: private function _clean($array) { array_walk_recursive($array, function (&$s, $k) { return $this->_stripslashes($s); }); return $array; But this just chucks up another error. Could anyone suggest a simple fix ?
  12. keat

    php version

    I think I may have narrowed this down to a missing PHP module. I messed about with a few modules, but suspect it was php73-php-mysqlnd Now the site loads with PHP 7.3, but I've uncovered another issue on some of the older V6 sites. Deprecated: Function create_function() is deprecated in /home/cabletie/public_html/classes/config.class.php on line 266
  13. keat

    php version

    I tried it briefly this evening and got the following error. Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/user-acc/public_html/classes/db/mysql.class.php:40 Stack trace: #0 /home/user-acc/public_html/classes/db/mysql.class.php(68): Database->__construct(Array) #1 /home/user-acc/public_html/controllers/controller.index.inc.php(22): Database::getInstance(Array) #2 /home/user-acc/public_html/index.php(20): include('/home/user-acc...') #3 {main} thrown in /home/user-acc/public_html/classes/db/mysql.class.php on line 40 Line 40 shows: if (($this->_db_connect_id = mysql_connect($config['dbhost'].$dbport, $config['dbusername'], $config['dbpassword'], false, MYSQL_CLIENT_COMPRESS)) === false) { Any ideas ?
  14. keat

    php version

    My server is currently on 7.0.33 ( I think). Im considering a server migration and wondered if I just stick with V7.0 or upgrade to 7.3. Maybe I'll stick with 7.0 in the short term and consider 7.3 when I know the migration is stable. makes sense I guess to get it working first I guess.
  15. does CC V6 work with PHP 7.3 ?
  16. Sorry, I ought to have mentioned. It was global percentage discount. I'm are not arguing with the customer, as technically it makes little difference whether he ordered on the 25th or 26th, we still obtained his business. Just wondered why the cart somehow changed the subtotal, but not the individual item prices.
  17. We ran a promo on boxing day 15% off. Customer filled his cart the day before, all items in his cart show the full price. He must have clicked the continue button to take him to the payment gateway, as the order number shows the 25th. And he must have completed the payment on boxing day, as the email time stamp says 08:30 on the 26th. Whilst his inventory shows the full price of all items, his payment total is that of the 15% discount. Basically what was in his basket doesn't tally with what he paid. Any thoughts ?
  18. This works for me. if you have photoshop, (or similar) take a screen shot of your mobile site. Zoom in on the current colour and use the colour picker tool to identify the hex code of the colour. You could then use something like notepad+ to scour all the skin files for that hex code. It's then just a simple process of changing the hex code to suit your requirements. Its amateurish, and clumsy, but works well if you're a novice coder.
  19. i've a customer base of around 35,000. I'd prefer not to load our server, or risk landing us on an RBL. Although I did briefly consider a seperate VPS just for this process.
  20. My email campaign went out this morning. I'm not seeing any problems.
  21. If anyone uses these kind of things, then I found one named 'moosend' A hell of a lot cheaper than Mailchimp. I had a few issues with my data having a few discrepancies, which I had to resolve first but didn't take long and needed doing anyway. I'll update again next week when my email campaign goes out, as to how it performed.
  22. can anyone recommend an alternative to mailchimp. It needs to be simple, intuitive and not have to jump through a thousand hoops to send a simple mailing campaign.
  23. Isn't magic slideshow a plugin which displays images on the home page ? Might be worth re-installing that plugin, although I'm not sure why it would cause errors when adding options. Are you logged in via https ? and have you tried clearing your browser cache ?
×
×
  • Create New...