Elxis CMS Forum
Support => General => Topic started by: ahmet on June 06, 2011, 14:30:49
-
hello all,
my host started to use suphp...
and says tehere no 777???? is it true??
what should be the chmod for tmpr , cache and others,
any help appreciated..
thnaks..
-
Recursively in all folders 755 and 644 in all files... absolutely this and nothing else
even cache and tmp should follow this rule..
Additionally
the php environment configuration is now more flexible.. i suggest you to read here:
http://wiki.elxis.org/wiki/PHP_settings
-
thanks..
i still get this error.. i thought it was because permissions??
PHP Hata [Warning]
URI: index.php
Path:
Line: 0
Unknown: open(/public_html/session/sess_b8f6fc52090a26c60e6744b84502c53b, O_RDWR) failed: No such file or directory (2)
-
thanks..
i still get this error.. i thought it was because permissions?? www.globalpanorama.net/404404
PHP Hata [Warning]
URI: index.php
Path:
Line: 0
Unknown: open(/public_html/session/sess_b8f6fc52090a26c60e6744b84502c53b, O_RDWR) failed: No such file or directory (2)
-
1st make sure that you have
session.save_path = "/absolute/path/to/folder/one_level_up_of/public_html"
directions here => http://wiki.elxis.org/wiki/PHP_settings
make sure that folder exists
-
thanks , ichecked
i made a new file named session put in php ini
but still get
URI: index.php
Path:
Line: 0
Unknown: open(/session/public_html/sess_7b4b525cdc832d907d10642b74fdbcf7, O_RDWR) failed: No such file or directory (2)
PHP Hata [Warning]
URI: index.php
Path:
Line: 0
Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/session/public_html)
-
check your phpinfo and see what the session.save_path values are... both local and default
look at pic below
[attachment deleted by admin]
-
session.save_path /public_html/session /public_html/session
-
session.save_path = "/absolute/path/to/folder/one_level_up_of/public_html"
-
i have tried this also.. i have already one ready..
-
seems that you don't understand
/public_html/session <= looks like a relative path
an absolute path in most cases will look like => eg. /var/www/httpdocs/public_html
make a folder tmp one dir up from pubic_html ... do not store sensitive data like sessions in public accessible dirs
then your session.save_path will look like this :
session.save_path = "/var/www/httpdocs/tmp"
if still get errors about sessions then chmod tmp folder to 666 or 777
-
thanks a lot... i really appreciate..... if u want u can use my photos and virtual tours.. u r welcome..
absolute path is the key...