Arrow

Warning issues | Peter's Sports League Standings | Forum

Back to the sports standings script page
 
Current User: Guest
Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Warning issues

Reply to Post Add a New Topic
UserPost

10:58 am
April 24, 2009


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!

5:13 pm
April 24, 2009


Peter

Admin

posts 732

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!

2:17 pm
April 30, 2009


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.

3:29 pm
April 30, 2009


Peter

Admin

posts 732

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';
}
Reply to Post

Reply to Topic:
Warning issues

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
4 + 1