Author Topic: Cannot access front page and admin page DEPRECATED error  (Read 1858 times)

Offline svt7000

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Cannot access front page and admin page DEPRECATED error
« on: March 13, 2023, 07:14:02 AM »
 Hi,

 I cannot access front and admin page. I'm receiving this error on web page:

 DEPRECATED: Required parameter $width follows optional parameter $rsrc_info in /home/tech/test_saas/core/engine/resources.php on line 308DEPRECATED: Required parameter $height follows optional parameter $rsrc_info in /home/tech/test_saas/core/engine/resources.php on line 308

 I put $width and $height in front  of $rsrc_info  on "resources.php" file, but the front and admin pages are completely blank.

 The site was working from about two years, then I have this error from about one week ago. I did not made any change on it.

 If I install a new session of AbanteCart,  ver 1.2.16, it's working perfectly.

 Since I don't have any backup, is there a way to copy just the content of the site to a new Abantecart instance?

 What can I do?

I have:

AbanteCart ver: 1.2.16
cpsrvd 11.108.0.14
Database client version: libmysql - mysqlnd 7.4.33
PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
PHP version: 7.4.33
phpMyAdmin
Version information: 4.9.11


 

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5776
  • Karma: +274/-2
    • View Profile
Re: Cannot access front page and admin page DEPRECATED error
« Reply #1 on: March 13, 2023, 10:29:44 AM »
Hello.
Ask your hosting support what they changed recently.
1.2.16 is very outdated so you can try to set older PHP version.

Offline svt7000

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Cannot access front page and admin page DEPRECATED error
« Reply #2 on: March 13, 2023, 01:17:52 PM »
Hi Basara,

 What PHP version is suitable for ver 1.2.16?
I can choose php ver from 4.4 to 8.2. The current one is 8.0.


 Regards

Offline svt7000

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Cannot access front page and admin page DEPRECATED error
« Reply #3 on: March 13, 2023, 01:25:44 PM »
Hi,

 For version Abantecart ver 1.2.16 I set PHP ver 7.0 and the site is working now.

 Solved!

 
Thank you!

 

Powered by SMFPacks Social Login Mod