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 03-17-2011, 06:20 AM
Kyris Kyris is offline
Member
 
Join Date: Jan 2011
Posts: 34
Gender: Female
Credits: 5,098
Kyris is on a distinguished road
Default Strange code error

My site: iilura.com

It seems things are going ok, but there's this funny line at the top of my site;

PHP Code:
NoticeUndefined indexadmin in /home/iilura/public_html/inc/functions.php on line 812

Notice
Undefined indexnumberofqueries in /home/iilura/public_html/inc/functions.php on line 821

Notice
Undefined indexqueries in /home/iilura/public_html/inc/functions.php on line 821 
Help please? ^^
Reply With Quote
  #2  
Old 03-17-2011, 06:24 AM
Kyris Kyris is offline
Member
 
Join Date: Jan 2011
Posts: 34
Gender: Female
Credits: 5,098
Kyris is on a distinguished road
Default

ETA:

There's tons more error codes popping all over the place, and I can't seem to access the admin control panel. It also seems to log me in and out every now and then.

When I log in, this appears;

PHP Code:
NoticeUndefined indexusersettings in /home/iilura/public_html/inc/functions.php on line 133

Notice
Undefined variableusergroup in /home/iilura/public_html/inc/functions.php on line 134

Warning
session_start() [function.session-start]: Cannot send session cache limiter headers already sent (output started at /home/iilura/public_html/inc/functions.php:133in /home/iilura/public_html/inc/functions.php on line 21

Warning
Cannot modify header information headers already sent by (output started at /home/iilura/public_html/inc/functions.php:133in /home/iilura/public_html/login.php on line 79

Warning
Cannot modify header information headers already sent by (output started at /home/iilura/public_html/inc/functions.php:133in /home/iilura/public_html/login.php on line 80

Notice
Undefined variabledate in /home/iilura/public_html/login.php on line 100

Notice
Undefined indexusersettings in /home/iilura/public_html/inc/functions.php on line 805

Notice
Undefined indexadmin in /home/iilura/public_html/inc/functions.php on line 812

Notice
Undefined indexnumberofqueries in /home/iilura/public_html/inc/functions.php on line 821

Notice
Undefined indexqueries in /home/iilura/public_html/inc/functions.php on line 821 
Reply With Quote
  #3  
Old 03-17-2011, 07:45 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,842
fadillzzz is an unknown quantity at this point
Default

Instead of messing with the script, I suggest that you set the error reporting not to display the Notice messages through php.ini
However, if you don't have access to edit the PHP configuration, then you can put this line on top of the functions.php file
PHP Code:
error_reporting(E_ALL E_NOTICE); 
For the Warning messages that are showing up, it's probably because the path to the session folder is incorrect, or it's not writable.
Again, you'll need to edit the php.ini, but if you can't try to use this code.
PHP Code:
// dir could be /home/user/session
// keep it OUT of webroot
ini_set("session.save_path""/path/to/dir/with/chmod/777/perms"); 
Put the above code inside functions.php file before the session_start() is called.
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
Strange slashes appearing in site text? Hwona Questions and Supports 14 08-15-2014 10:34 AM
friendlist - strange problem draugluin Questions and Supports 2 12-15-2011 03:37 AM
Invite Code/Alpha Code Shex Questions and Supports 0 03-07-2011 04:08 AM
Strange error PokePets Questions and Supports 11 02-03-2011 04:43 PM
Parse error: syntax error, unexpected T_ELSE in /home/.nyles/ Saphira Questions and Supports 11 05-26-2009 11:45 AM


All times are GMT -5. The time now is 03:40 AM.

Currently Active Users: 9768 (0 members and 9768 guests)
Threads: 4,080, Posts: 32,024, 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