Arrow

Warning issues | Peter's Sports League Standings | Forum

Back to the sports standings script page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Warning issues
April 24, 2009
10:58 am
webby
Guest

Hi!

I've installed your script, which looks great! I'm using it for a clients' ball hockey association.

I've got everything up and running, but at the top of the screen it says this;

Warning: session_start() [function.session-start]: open(/tmp/sess_9ac2e75e00b27b62c5affd73d48b58ef, O_RDWR) failed: Permission denied (13) in /home/powerpla/public_html/secure.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/powerpla/public_html/secure.php:2) in /home/powerpla/public_html/secure.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at /home/powerpla/public_html/secure.php:2) in /home/powerpla/public_html/secure.php on line 3

and at the bottom, it says this;

Warning: Unknown: open(/tmp/sess_9ac2e75e00b27b62c5affd73d48b58ef, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

What do I need to change and how?

Thanks!

April 24, 2009
5:13 pm
Peter
Admin
Forum Posts: 841
Offline

You should definitely talk to your web host about that one. PHP uses a particular setting to see where to store information about logged in users. That setting is either incorrect, or the place that it points to does not have the proper permissions.

Good luck!

April 30, 2009
2:17 pm
Greg
Guest

Hey Peter,

Just gotta say fabulous job you have done here. I’m havin’ a bit of trouble getting something to work and im not sure why. Here is one example, lots of undefined index’ (like 6 or 7 in total i’ve found)

Notice: Undefined index: action in O:\\standings\\update.php on line 147

Does this have to do with my host? Is there a way to prevent this.

Thanks a lot dude,
Greg

edit: if anyone else has the problem you need to edit your php.ini file for the error reporting level
if this doesn't work just add
$ebits = ini_get('error_reporting');
error_reporting($ebits ^ E_NOTICE);
to the top of the code.

April 30, 2009
3:29 pm
Peter
Admin
Forum Posts: 841
Offline

Hi Greg,

My code needs to be a bit stricter. That error might appear on some installs on the login page only. You should be able to make it go away by replacing line 146 in update.php with:

if( isset($_GET['action']) ) {
$action = $_GET['action'];
}
else {
$action = 'default';
}