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-22-2013, 04:10 PM
Aasixx's Avatar
Aasixx Aasixx is offline
.. your friendly geek. c:
 
Join Date: Nov 2011
Location: somewhere ur not.
Posts: 191
Gender: Female
Credits: 32,274
Aasixx is on a distinguished road
Default Admin CP Problem..

Alright, I decided to install 1.3.2 (love it so far), but when I tried to access (login to) the admin cp, it lets me login and says "Login Successful, you are being redictred to the index page." and it never redirects me.

I have the feeling it's doing that because of this:
"Warning: Cannot modify header information - headers already sent by (output started at /home/albisian/public_html/classes/class_cookies.php:112) in /home/albisian/public_html/admincp/index.php on line 40"

How can I fix it?
__________________
Reply With Quote
  #2  
Old 01-23-2013, 01:58 AM
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: 493,616
Hall of Famer is on a distinguished road
Default

umm so you are able to login, just get this weird cookie warning? If so, find these lines:

PHP Code:
    public function setAdminCookies(){
        global 
$mysidia;
        
ob_start();
        
$Month 2592000 time();
        
$session $mysidia->session->getid();
        
$this->mysadmsession sha1($this->mysuid.$session);     
        
setcookie("mysadmsession",$this->mysadmsession,$Month);    
        
$this->mysadmloginattempt 0;
        
setcookie("mysadmloginattempt"$this->mysadmloginattempt,$Month);
        
ob_flush();
        return 
TRUE;
    } 
Replace by:

PHP Code:
    public function setAdminCookies(){
        global 
$mysidia;
        
ob_start();
        
$Month 2592000 time();
        
$session $mysidia->session->getid();
        
$this->mysadmsession sha1($this->mysuid.$session);     
        @
setcookie("mysadmsession",$this->mysadmsession,$Month);    
        
$this->mysadmloginattempt 0;
        @
setcookie("mysadmloginattempt"$this->mysadmloginattempt,$Month);
        
ob_flush();
        return 
TRUE;
    } 
See if the warning goes away.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 01-23-2013, 04:43 PM
Aasixx's Avatar
Aasixx Aasixx is offline
.. your friendly geek. c:
 
Join Date: Nov 2011
Location: somewhere ur not.
Posts: 191
Gender: Female
Credits: 32,274
Aasixx is on a distinguished road
Default

What file is that located at?
__________________
Reply With Quote
  #4  
Old 01-23-2013, 04:46 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: 493,616
Hall of Famer is on a distinguished road
Default

classes/class_cookies.php.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 01-23-2013, 05:45 PM
Aasixx's Avatar
Aasixx Aasixx is offline
.. your friendly geek. c:
 
Join Date: Nov 2011
Location: somewhere ur not.
Posts: 191
Gender: Female
Credits: 32,274
Aasixx is on a distinguished road
Default

It still pops up when I log in. :/
__________________
Reply With Quote
Reply


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
Problem with Online page and Admin Profiles? parayna Questions and Supports 5 11-03-2013 08:47 PM
Admin CP won't open( demoness Questions and Supports 7 03-14-2013 03:31 AM
Newly installed site and problem with Admin Control Panel 5404 Questions and Supports 5 01-23-2013 03:26 PM
Admin CP? booksbooks098 Questions and Supports 2 12-06-2012 05:37 PM
Can't get into the Admin Panel? densaugeo Questions and Supports 16 03-28-2009 07:08 PM


All times are GMT -5. The time now is 02:14 AM.

Currently Active Users: 1135 (0 members and 1135 guests)
Threads: 4,081, Posts: 32,032, 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