托管网络解决方案数据和cgi-bin文件夹丢失

时间:2020-11-27 23:09:07

Strange problem .. I am getting the following error on my site

奇怪的问题..我在我的网站上收到以下错误

Fatal error: Unknown: Failed opening required '/data/9/1/106/108/1758271/user/1900303/cgi-bin/.php/sessions/sess_80f9a008cf3e9dee12465fb7dd902c48' (include_path='.:/usr/services/vux/lib/php') in Unknown on line 0

and I am unable to find the data or cgi-bin folder.. Will appreciate any help in this regard.

我无法找到数据或cgi-bin文件夹..将在这方面感谢任何帮助。

1 个解决方案

#1


0  

Looks like a session saving problem...

看起来像会话保存问题......

If you're waiting on the support for your hosting company to reply you could use the following PHP function to set the session save path for you.

如果您正在等待托管公司的支持回复,您可以使用以下PHP函数为您设置会话保存路径。

http://www.php.net/manual/en/function.session-save-path.php

http://www.php.net/manual/en/function.session-save-path.php

Or, you can set it in a .htaccess file:

或者,您可以在.htaccess文件中设置它:

php_value session.save_path "<path here>"

Or, you can set it in PHP with the ini_set function.

或者,您可以使用ini_set函数在PHP中进行设置。

As for the cgi-bin, can't you make those folders via FTP, or does your hosting provider not let you see above the document root?

至于cgi-bin,您不能通过FTP制作这些文件夹,或者您的托管服务提供商是否让您看不到文档根目录?

#1


0  

Looks like a session saving problem...

看起来像会话保存问题......

If you're waiting on the support for your hosting company to reply you could use the following PHP function to set the session save path for you.

如果您正在等待托管公司的支持回复,您可以使用以下PHP函数为您设置会话保存路径。

http://www.php.net/manual/en/function.session-save-path.php

http://www.php.net/manual/en/function.session-save-path.php

Or, you can set it in a .htaccess file:

或者,您可以在.htaccess文件中设置它:

php_value session.save_path "<path here>"

Or, you can set it in PHP with the ini_set function.

或者,您可以使用ini_set函数在PHP中进行设置。

As for the cgi-bin, can't you make those folders via FTP, or does your hosting provider not let you see above the document root?

至于cgi-bin,您不能通过FTP制作这些文件夹,或者您的托管服务提供商是否让您看不到文档根目录?