kaine- Posted December 7, 2009 Posted December 7, 2009 tell me how to sort this Warning: session_start() [function.session-start]: open(/tmp/sess_2e9c7bb55ba18a28a33aee2fd711bb06, O_RDWR) failed: Permission denied (13) in /home/tnr/public_html/globals.php on line 6 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/tnr/public_html/globals.php:6) in /home/tnr/public_html/globals.php on line 6 Warning: Cannot modify header information - headers already sent by (output started at /home/tnr/public_html/globals.php:6) in /home/tnr/public_html/globals.php on line 21 Warning: Unknown: open(/tmp/sess_2e9c7bb55ba18a28a33aee2fd711bb06, 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 () in Unknown on line 0 Quote
jon182 Posted December 7, 2009 Posted December 7, 2009 im not positive but it's possible that you didn't cmod your public_html to the right number Quote
kaine- Posted December 7, 2009 Author Posted December 7, 2009 ah ok lol it says this now... Warning: session_start() [function.session-start]: open(/tmp/sess_2e9c7bb55ba18a28a33aee2fd711bb06, O_RDWR) failed: Permission denied (13) in /home/tnr/public_html/globals.php on line 6 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/tnr/public_html/globals.php:6) in /home/tnr/public_html/globals.php on line 6 QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Query was SELECT u.*,us.*,h.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN houses h ON h.hWILL=u.maxwill WHERE u.userid= Warning: Unknown: open(/tmp/sess_2e9c7bb55ba18a28a33aee2fd711bb06, 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 () in Unknown on line 0 just need fix that lmao cause its annoying m e lol Quote
Dayo Posted December 7, 2009 Posted December 7, 2009 i think session_start(); has to be above <!DOCTYPE html PUBLIC tag so this is correct <?php session_start(); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> </body> </html> this is wrong <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head><?php session_start(); ?> <body> </body> </html> Quote
kaine- Posted December 7, 2009 Author Posted December 7, 2009 ah ok thanks but which .php file do i put this in/?? Quote
Dayo Posted December 7, 2009 Posted December 7, 2009 send me the script your having problems with (if all pages send me header.php) Quote
Joshua Posted December 7, 2009 Posted December 7, 2009 I already asked you in the other thread... Is your game Version 1 or Version 2. If it's Version 1 the mod i posted won't work on your game. Quote
thedestroyer Posted December 7, 2009 Posted December 7, 2009 I already asked you in the other thread... Is your game Version 1 or Version 2. If it's Version 1 the mod i posted won't work on your game. Yes the error looks like he is using the wrong version for the mod. You need to convert. Quote
Dayo Posted December 7, 2009 Posted December 7, 2009 the header.php he sent me looked like V2 using $db Quote
Joshua Posted December 8, 2009 Posted December 8, 2009 I dno, the only problem anyone is having with the mod so far is the cron isnt updating properly and i cant for the life of me figure out why >,< gonna hit it in the A.M But the session failed to connect is a new error to me.....that's the strangest thing. Quote
Joshua Posted December 8, 2009 Posted December 8, 2009 Hm... Is there a space above <?php sometimes it does that to some people make sure the VERY first space on the script is < not a blank space so it should look like ___ <?php also make sure it <?php and not <<?php That might be the prob. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.