You are here: session_start problem in php5 « PHP SQL « IT news, forums, messages
session_start problem in php5

Posted by Jannis on 09/16/07 07:55

Some of my php files start with <?php session_start(); ?>
Up to recently this was no problem. Recently my provider upgraded from
php4 to php5. From then I get this message:

Warning: session_start() [function.session-start]: SAFE MODE
Restriction in effect. The script whose uid is 522 is not allowed to
access owned by uid 0 in (...path..)/starttest.php on line 1

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

It doesn't matter whether I use notepad or some editor, or copy a file
from php.net . Actually the example here mentioned was written in
notepad.

Is this a bug? Do I overlook something? What can be wrong?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация