Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-01-2013, 03:10 PM
Zayin Zayin is offline
Member
 
Join Date: Dec 2012
Location: South Carolina
Posts: 8
Gender: Male
Credits: 1,466
Zayin is on a distinguished road
Default Warning function.session-start Error - Can't Log In

Hi,
I installed Mysidia ver 1.3.2, and have had errors every, single, possible step of the way. Right now I have this:
Code:
Warning: session_start() [function.session-start]: open(/var/chroot/home/content/86/10005386/tmp/sess_t32nvobci8bt4o571g187101g3, O_RDWR) failed: No such file or directory (2) in /home/content/86/10005386/html/classes/class_session.php on line 13

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/86/10005386/html/classes/class_session.php:13) in /home/content/86/10005386/html/classes/class_session.php on line 13

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/86/10005386/html/classes/class_session.php:13) in /home/content/86/10005386/html/classes/class_session.php on line 13
It pops up over my home page. I can't log in, because the session can't get off the ground. I've tried reinstalling it multiple times, reencoding files with UTF-8 (No BOM), checking for spaces, updating php, searching forums...

So please help me out. What's going on here?
Reply With Quote
  #2  
Old 01-03-2013, 02:15 PM
Zayin Zayin is offline
Member
 
Join Date: Dec 2012
Location: South Carolina
Posts: 8
Gender: Male
Credits: 1,466
Zayin is on a distinguished road
Lightbulb

Well, I figured out the problem. As it turns out, since I'm hosted with GoDaddy, there was a problem with writing session data to a directory that either didn't exist, or was denied permission to write. So for anyone else with this horribly misleading error, here was the solution:
PHP Code:
session_save_path('/home/content/blah/blah/html/temp'); 
I inserted this line into class_session.php, just before session_start(), replacing that path with the absolute file path for my host. I then made a file called "temp" and made it writable, so bazinga. It works now, I can log in to mysidia.
Reply With Quote
  #3  
Old 01-03-2013, 02:37 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 481,447
Hall of Famer is on a distinguished road
Default

Oh interesting, never thought there were hosting companies with this kind of issue. Nice discovery.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #4  
Old 01-04-2013, 06:17 PM
Zayin Zayin is offline
Member
 
Join Date: Dec 2012
Location: South Carolina
Posts: 8
Gender: Male
Credits: 1,466
Zayin is on a distinguished road
Default

Yeah, it took a long time to come to that conclusion. I kept looking through the code for a space, or reencoding the files, uploading them in binary, the kinds of things you'd expect from a header exception.

Another thing specific to my hosting is that they had the php set to version 5.2 by default, which caused the scripts not to work at all. I eventually found one of the topics here about there being a php bug, so I had to go into my control panel and find the switch to turn in to 5.3. Lol, don't know why they had it set to 5.2
Reply With Quote
  #5  
Old 01-05-2013, 09:33 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 481,447
Hall of Famer is on a distinguished road
Default

Well there are still about half of webhosts using PHP 5.2 right now, in future the situation will get better.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply

Tags
error, function.session-start, header, session, start


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling a function in a function from the same class page Hwona Questions and Supports 2 04-25-2015 08:41 AM
Start-Adoptable DaZeus Questions and Supports 0 03-14-2011 07:14 AM
Session Street: Sunset Tequila Templates and Themes 16 01-24-2011 12:03 AM
how to start trainerluke Questions and Supports 5 03-29-2009 04:52 PM
Just need to know how i can start this Killgore Questions and Supports 2 03-25-2009 02:27 PM


All times are GMT -5. The time now is 11:09 AM.

Currently Active Users: 813 (0 members and 813 guests)
Threads: 4,081, Posts: 32,029, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636