-
Content count
160 -
Joined
-
Last visited
-
Days Won
8
Smoky Barnable last won the day on November 26 2021
Smoky Barnable had the most liked content!
Profile Information
-
Real Name
Eric
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
-
-
You wouldn't believe how many customers have asked me "What is stripe?". I guess I have to just call the payment method "credit card".
-
-
-
I've got view counter working on my local xampp server with PHP 8 and MySQL 5.5 however when I uploaded to my host I see the database query in view_counter.php returning an empty result set. This query returns data on my xampp server but is empty on my production site: select *, TIME_TO_SEC( UNIX_TIMESTAMP( now( ) ) - UNIX_TIMESTAMP( last_date ) ) as time, DATE_FORMAT(last_date, '%a, %D %T') as date_time from view_counter where ip_active=1 and language_id = 1 and isbot = 0 and ( (isadmin <> '/admin/')) order by last_date desc limit 20 offset 0 I should note that on my test server there is also some warnings "#1292 Incorrect time value". I'm wondering if this might be because my live site is using MySQL 5.7?
-
Smoky Barnable reacted to a post in a topic: [Addon] Twitter Typeahead Autocomplete Search for osC 2.3.4 (BS and nonBS)
-
-
-
-
Smoky Barnable reacted to a post in a topic: Uncaught Error: Call to undefined function mysql_connect()
-
Smoky Barnable reacted to a post in a topic: Uncaught Error: Call to undefined function mysql_connect()
-
Smoky Barnable started following jQuery/Ajax Advanced Statistics for osCommerce 2.3
-
jQuery/Ajax Advanced Statistics for osCommerce 2.3
Smoky Barnable replied to Dr. Rolex's topic in General Add-Ons Support
Anyone get this cool add-on to work in PHP8? I almost have it working but I get the following error upon initial page load. "DataTables warning: table id=dataTable - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1"- 56 replies
-
-
We finally got rid of PayPal today for reasons to numerous to mention. We are still using Stripe but can anyone suggest another popular payment method we could add?
-
I can capture customers ip address during the checkout process when customer pays with PayPal, but this fails when customer uses stripe. Is there a way to capture the ip during order creation? Trying to capture in web hook or checkout success has failed thus far. If not, I could just capture upon account creation.
-
It actually was getting most IPv4's ok but for IPv6 this code seems to get both when using CloudFlare. if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])){ $thisIP = $_SERVER['HTTP_CF_CONNECTING_IP']; }else{ $thisIP = $_SERVER['REMOTE_ADDR']; }
-
Does view counter work when using CloudFlare CDN? For example, I can only get customers ip using this code: $customers_ip = $_SERVER["HTTP_CF_CONNECTING_IP"];
-
A recent customer contacted me to make sure her payment went through. She was confused because in her account area the saved card page showed an old expiration date. Doesn't this expiration date get updated automatically when customers get a new card with the same account number? Perhaps she must delete this card and checkout with new card? Regardless, her payment was successful using her saved card which had the wrong expiration date.
-
I found this cool code if you would like to add falling snowflakes to your website for the holidays. Just add the code to the end of the header.php page. https://pajasevi.github.io/CSSnowflakes/
-
-
I'm liking the LiteSpeed Web Server.
-
-
Thanks. I just signed up for the three year HostArmada plan. They are doing a cpanel transfer now.
-
My hosting company was recently hit with a DDOS attack on the server that was hosting my website. Is there another hosting solution that mitigates these kind of attacks? I have read cloud hosting is good...any recommendations? Trying to avoid downtime.
-
-
osCommerce v4 Beta 1
Smoky Barnable replied to osCommerce-Official's topic in News and Announcements
I also requested to be a beta-tester from day one and never was contacted. Makes me wonder who these beta-testers are. I also wonder if these super secret beta-testers will share any information with the rest of this "open source" community.- 57 replies
-
- oscommerce
- v4
-
(and 2 more)
Tagged with:
-
-
-
For those of you who would like to use this addon with PHP 8 the following change cleared this fatal error. In the image.php file, change: $trnprt_color = @imagecolorsforindex ( $this->_image, $trnprt_indx ); to: if ($trnprt_indx < imagecolorstotal($this->_image)){ $trnprt_color = imagecolorsforindex ( $this->_image, $trnprt_indx ); }
-
-
What's the best way to deal with this error? Fatal error: Uncaught ValueError: imagecolorsforindex(): Argument #2 ($color) is out of range PHP 8 has changed the behavior of the shutup operator - it no longer silences fatal errors.