PDA

View Full Version : Weird Error Message Above Header


Hwona
07-20-2013, 07:52 AM
Sorry to bug again, but there's some strange error message above the header of my site:
Strict Standards: Declaration of File::getBasename() should be compatible with SplFileInfo::getBasename($suffix = NULL) in /home/wallie12/public_html/classes/class_file.php on line 19

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/wallie12/public_html/classes/class_file.php:19) in /home/wallie12/public_html/classes/class_session.php on line 13

And above the ACP:
Strict Standards: Declaration of File::getBasename() should be compatible with SplFileInfo::getBasename($suffix = NULL) in /home/wallie12/public_html/classes/class_file.php on line 19

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/wallie12/public_html/classes/class_file.php:19) in /home/wallie12/public_html/classes/class_session.php on line 13

Strict Standards: Declaration of AdminSidebar::setDivision() should be compatible with Sidebar::setDivision(GUIComponent $module) in /home/wallie12/public_html/classes/class_adminsidebar.php on line 16

The funny thing is, I never had this issue until this morning, and I don't remember editing any files after last night. Can someone help? I'm also noticing this on a LOT of other sites - particularly on x10.

Edit: And now, I can't log out. O.o

Infernette
07-20-2013, 09:41 AM
Uhm, yeah.... I got this this morning to. And everything was okay last night.

I didn't edit anything after checking everything was okay last night.

This is really odd.

Hwona
07-20-2013, 09:50 AM
It's not only on x10. I've been checking mysidia sites, and so far, only felkyo creatures seems to be alright. o.o

I hope you have back ups! D:

Hall of Famer
07-20-2013, 03:38 PM
Umm this is a warning message, does not really affect your site. To make it disappear for good, simply go to the script file class_file.php and add $suffix = NULL to the parameter list of overriden method getBasename().

Hwona
07-20-2013, 04:57 PM
Ah, thank you! I can actually log in and out! 8D Now I just need to figure out how to fix the ACP, market, search, and trade pages... :3 Still can't edit content.

Strict Standards: Declaration of AdminSidebar::setDivision() should be compatible with Sidebar::setDivision(GUIComponent $module) in /home/wallie12/public_html/classes/class_adminsidebar.php on line 16

Strict Standards: Declaration of DropdownList::add() should be compatible with GUIContainer::add(GUIComponent $component, $index = -1) in /home/wallie12/public_html/classes/class_dropdownlist.php on line 145

Strict Standards: Declaration of RadioList::add() should be compatible with GUIContainer::add(GUIComponent $component, $index = -1) in /home/wallie12/public_html/classes/class_radiolist.php on line 65

Hall of Famer
07-21-2013, 11:51 PM
umm did these messages just appear recently? Can you ask your host to disable strict standards warning message? These really aint fatal errors that terminate script execution, but I agree seeing them on your site header is a bit annoying.

Hwona
07-22-2013, 08:22 AM
Um, I can try. It's getting really annoying because I can't edit things through the acp now. :(

Yeah, I just asked.

Hall of Famer
07-22-2013, 04:45 PM
I see, good luck with this, sometimes it happens to have users getting errors/warnings I normally do not get myself. I am interested in a permanent solution though, so I will see if the script needs some modification.

Hwona
07-22-2013, 04:51 PM
Thanks! I've tried plugging (GUIComponent $module) into add:SetDivision, but apparently, that doesn't work. xP

Infernette
07-22-2013, 08:06 PM
I'm getting the error too with drop down lists- but they still work I think. I'll see what I need to work with. (x10 hosting)