getimagesize function error basedir - Forum | JoomShaper
Staff replied SP Page Builder

getimagesize function error basedir

Asked by Miguel 4 years ago Last activity 4 years ago

Hi. Not sure if it's due to the last update of SP Page Builder Pro, but after last update (yesterday) I had to disable PHP warnings at my CPanel (hosting) because I was receiving errors at all pages "Warning: getimagesize(): open_basedir restriction in effect". I've been checking with my hosting provider and there aren't permission problems and they say it seems a Joomla component error. Current SP Page Builder version: Version: 3.8.1. Do you have any idea about this issue. Thank you.

17 replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

Miguel Asked this

Hi. I'm not authorized to send you the administrator credentials. Please, let me know the configuration data that you need to check at our Joomla installation and I'll send you screenshots or what you need. Thanks.

Paul Frankowski Senior Staff

If I may, I have extra questions:

  1. What PHP version do you have?
  2. Have you seen those error messages also on subpages where SP Page Builder wasn't used, and where only articles or views from diffrent component?
  3. DO you have enabled "Lazy Load" in SPPB Options?
  4. Do you use any extra compression plugin like JCH Optimze or similar that compress images?

It's important, becuase so far you are the only user with this error since many months.

Miguel Asked this

Hi.
PHP Version: 7.4
I haven't seen this error in other pages (99% of pages are made with SP Page Builder)
Lazy Load is enabled
I'm not using an extra compression plugin

Paul Frankowski Senior Staff

Are those other websites are on this same server?
Maybe there are small differences in PHP settings.

Miguel Asked this

We have other websites (in different folders) on same server but PHP version is the same for all.

Paul Frankowski Senior Staff

Can you disable Lazy Load and check again - only for testing purpose.

Miguel Asked this
4 years ago · edited

After disabling Lazy Load I don't receive the error (I have reactivated warnings display for PHP). It seems the problem might be connected with this option.

Paul Frankowski Senior Staff

Path looks OK, file as well. But, Can try to use png file instead of used .svg - it may be a reason somehow.

BTW

You can use Lazy Loading from JCH_Optimize plugin that have even more compression options.

Log in to reply.