Warning: session_start () [function. session-start]: open_base

Source: Internet
Author: User

Warning: session_start () [function. session-start]: open_basedir restriction in effect. File Solution

Warning: include () [function. include]: open_basedir restriction in effect. file (/www/webpublic_html/admin/inc. php tutorial) is not within the allowed path (s): (/www/webpublic_html/searchhight:/tmp) in/www/webpublic_html/searchhight/index. php on line 2

Warning: include (/www/webpublic_html/admin/inc. php) [function. include]: failed to open stream: Operation not permitted in/www/webpublic_html/searchhight/index. php on line 2

Warning: include () [function. include]: Failed opening '/www/webpublic_html/admin/inc. php 'for declaration (include_path = '. :/www/wdlinux/php-5.2.17/lib/php ') in/www/webpublic_html/searchhight/index. php on line 2

Fatal error: Class 'db' not found in/www/webpublic_html/searchhight/index. php on line 3


Fatal error: session_start () [<a href = 'function. session-start'> function. session-start </a>]: Failed to initialize storage module: files (path:) in E: footloginlogin. php on line 4

This problem occurs after session_start () is enabled.
C: WINDOWSTEMP is added to open_basedir of php. ini.

, Modifying the. ini file is prone to errors. Because this configuration file does not only serve one program, the consequences of modifying the configuration file

It may have a big impact. Pass

Ini_set ('session. save_path ', dirname (_ FILE _).'/../dirname /');

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.