Simfatic Forms > Help > Troubleshooting > session_start() failed: open_basedir restriction in effect

Simfatic Forms is being discontinued.

See the announcement →

session_start() failed: open_basedir restriction in effect

Error (2): session_start() [<a href='function.session-start'>function.session-start</a>]:
open_basedir restriction in effect. File(C:\WINDOWS\TEMP\) is not within the allowed path(s)

Sessions are used to keep track of the user accessing the form page.

While configuring PHP, the session needs to be configured on the web server.

On your web server, PHP session is not configured properly. So when the script tries to create a session, PHP throws this error.

Solution

Request your web hosting service provider/server admin to configure PHP session on your web server. Quote the error message you received.

If you run your own web server, then you have to update the php.ini under the [Session] section. Make sure that the session.save_path is configured to an existing folder and that the folder is writeable.
In addition, you have to update the open_basedir setting and add the session directory to the list of folders that PHP script can access.

Back to troubleshooting main page