Author Topic: Ice Product List down  (Read 1329 times)

0 Members and 1 Guest are viewing this topic.

Offline ob1knorrb

  • Revered Elder
  • ***
  • Posts: 1,253
  • OIC Points +150/-150
    • ICE Roleplaying WebRing
Ice Product List down
« on: April 08, 2017, 10:04:51 AM »
The plug-in that I use to drive the Product List on my Icewebring site caused the whole site to crash a few days ago.  It's now disabled it which means the site is back up but the Product List isn't working.  That plug-in has been unsupported for a few years but had continued to work.  It's time to finally hunt down a new one and and get it working.
Brent Knorr...
Ringmaster:ICE Roleplaying Webring - http://www.icewebring.com

Offline ob1knorrb

  • Revered Elder
  • ***
  • Posts: 1,253
  • OIC Points +150/-150
    • ICE Roleplaying WebRing
Re: Ice Product List down
« Reply #1 on: April 08, 2017, 08:43:06 PM »
After trying several new PHP plugins I still didn’t have any luck in getting the Product List and the Recent Releases list working. I had tracked things down to the point that it would hang up with it hit the
Code: [Select]
$connection = mysql_connect($host,$user,$password) or die ("couldn't connect to server"); portion of the script.
Eventually I went into the Dashboard for my website that my host provides and saw that my site was set to use PHP 7.0. It gave me the choice to use PHP 5.6 instead and once I switched to that, things started working again, even with the new plugin.
I’ll have to do some research on whether it is the plugins (I tried several) that can’t handle PHP 7.0 or if it is my underlying code that needs updating for PHP 7.0
Brent Knorr...
Ringmaster:ICE Roleplaying Webring - http://www.icewebring.com

Offline ob1knorrb

  • Revered Elder
  • ***
  • Posts: 1,253
  • OIC Points +150/-150
    • ICE Roleplaying WebRing
Re: Ice Product List down
« Reply #2 on: April 09, 2017, 10:12:53 PM »
It did turn out that mysql_connect and several other functions were deprecated between PHP 5.6 and PHP 7.0.  I've gone through my scripts and updated them to use the new APIs that are supported by PHP 7.0 and reset the default back to PHP 7.0.  Things seem to be working okay so far, and supposedly PHP 7.0 should give a significant speed improvement.  We'll see.
Brent Knorr...
Ringmaster:ICE Roleplaying Webring - http://www.icewebring.com

Offline ob1knorrb

  • Revered Elder
  • ***
  • Posts: 1,253
  • OIC Points +150/-150
    • ICE Roleplaying WebRing
Re: Ice Product List down
« Reply #3 on: April 12, 2017, 12:03:06 PM »
Things have continued to go well and it does seem that switching to PHP 7.0 has greatly increased the speed.
Has anyone that has used the site in the past tried it in the last week and noticed a difference?
Brent Knorr...
Ringmaster:ICE Roleplaying Webring - http://www.icewebring.com

Offline egdcltd

  • Revered Elder
  • ***
  • Posts: 1,302
  • OIC Points +70/-70
    • Azukail Games
Re: Ice Product List down
« Reply #4 on: April 12, 2017, 02:13:21 PM »
I tried it after it broke and again today - but I don't think that counts!
I made some things! Azukail Games