Warning: File_exists(): Open_basedir Restriction In Effect. - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Warning: File_exists(): Open_basedir Restriction In Effect.

M

Mark

SP Page Builder 2 years ago

Hello,

I get this warning :

Warning: file_exists(): open_basedir restriction in effect. File(/site.php) is not within the allowed path(s): (..........) in ........../components/com_sppagebuilder/parser/addon-parser.php on line 355 (full warning with paths is hidden)

i think there is a bug in the code, because we did not have this problem before the update to SP Page Builder 3.8.10 and Joomla 4.

The AI-chat said: This error occurs when the open_basedir restriction is enabled in the server. To fix this, you need to add the path of the file to the open_basedir restriction. Please follow the steps below to accomplish this task:

1.Locate the file addon-parser.php in the server. 2.Check the path of the file. 3.Add the path of the file to the open_basedir restriction. 4.Save the changes. 5.If you need further assistance, please contact your hosting provider.

Q: the path of the file says: if(file_exists($addon_path . '/site.php')) What is the value of $addon_path ? A: The value of $addon_path is the path of the addon directory. It is usually located in the components/com_sppagebuilder/addons directory.

I think there is a bug in the code, because we did not have this problem before the update to SP Page Builder 3.8.10. And the path tothe domain is included in the open_basedir settings

Any ideas what wrong?

Thanks ahead for your help. Mark

0
4 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #126498

Hi there,

I appreciate you reaching out. I sincerely apologize for this oversight. Will you please provide me the Joomla administrator access & FTP access to check the issue? I will check & get back to you soon. 

-Thanks

0
M
Mark
Accepted Answer
2 years ago #126682

Hi Toufiq, Sorry, can't give you FTP access but see hidden content for other details

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #126819

You are using free version of Page Builder. Tried to install the pro version. But, upload issue on your server.

https://prnt.sc/sOCyWES7q4Qw

Please contact your server provider to increase file upload size. Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #127120

Update: No problem displayed now. Maybe caching issue. Thanks

0