Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#11
|
||||
|
||||
Yes, it can be, if you have access to your php.ini file. Most hosts don't allow that, they control the entire server's php.ini file. I think you can also put error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE); at the top of each page the error reports, but I haven't fully tried it yet -- because doing that on the adminCP gave me an error, too. Maybe if I'd done that to begin with everywhere, things would be fine, so I might go and try that. =|
(And err, your file just gave me: Code:
Parse error: syntax error, unexpected '$component' (T_VARIABLE) in /srv/disk3/1793798/www/novul/classes/class_adminsidebar.php on line 37
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 01-29-2015 at 04:33 PM. |
#12
|
||||
|
||||
Yep, that was with the addition that HOF had suggested I am guessing .. the site itself will come up, ACP wont .... the change had gotten rid of most of the SS errors, but breeding still had it come up ---and then I checked ACP and -- no go !
http://pet-sim.com/Canidae/ if you want to see what's happening there ? Thanks for trying to help guys! |
#13
|
||||
|
||||
Well, another one to fix would be around line 43 in classes/class_radiolist.php, changing this:
PHP Code:
PHP Code:
But I digress - I could fix all the errors on the front end, but never the AdminCP one. Not without getting a new error to take its place. And I really feel this comes down on the hosting provider, because I couldn't get inline modifications of the error_reporting to work either. Not in the file, not in the htaccess, and I don't have control over my php.ini. *sigh*
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. |
#14
|
||||
|
||||
well rats .. so to get rid of all the SS errors showing, we sacrifice our ACP? :(
I cant get into mine at all now ... |
#15
|
||||
|
||||
Yes, and I never could -- but! We got a different error after making changes there, so many HOF can still help!
I made this change in the AdminCP - PHP Code:
Code:
Catchable fatal error: Argument 1 passed to AdminSidebar::setDivision() must be an instance of GUIComponent, instance of Resource\Collection\ArrayList given, called in /srv/disk3/1793798/www/novul/classes/class_adminsidebar.php on line 187 and defined in /srv/disk3/1793798/www/novul/classes/class_adminsidebar.php on line 36
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. |
#16
|
||||
|
||||
I think we desperately need help! :)
I really cant launch and have members see all those errors pop up, and I need access to the ACP, that's too important .. |
#17
|
||||
|
||||
Parse error: syntax error, unexpected '$component' (T_VARIABLE) in /home/petsim/public_html/Canidae/classes/class_adminsidebar.php on line 37
This is my current error, for trying to access ACP .. I'm using the fix from HOF for the coding. Also, getting this for Breeding: Strict Standards : Declaration of DropdownList::add() should be compatible with GUIContainer::add(GUIComponent $component /home/petsim/public_html/Canidae/classes/class_dropdownlist.php</b> $index = -1) in on line 189 |
#18
|
||||
|
||||
Try what I did, not what you did (in the AdminCP).
This: Code:
$this->division = new Division($component); Code:
$this->division = new Division(GUIComponent $component); And here is my entire class_dropdownlist.php: Let me know how that goes.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. |
#19
|
||||
|
||||
Okay I now have this:
protected function setDivision(GUIComponent $component){ $this->division = new Division($component); $this->division->setClass("sidebar"); } and I get this in ACP: Catchable fatal error: Argument 1 passed to AdminSidebar::setDivision() must be an instance of GUIComponent, instance of Resource\Collection\ArrayList given, called in /home/petsim/public_html/Canidae/classes/class_adminsidebar.php on line 195 and defined in /home/petsim/public_html/Canidae/classes/class_adminsidebar.php on line 36 |
#20
|
||||
|
||||
Yup, this is what I have, too. From what I can tell it's not sure what to do with the ArrayList and the addClass function at the bottom of that file - I already pinged HoF over aim, so hopefully he'll return to the thread tonight. ovo
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Standards for PHP programmers, which category are you in? | Hall of Famer | Webmasters Area | 4 | 10-05-2014 12:40 AM |
Strict Standards on Friend Privacy Page? | parayna | Questions and Supports | 2 | 09-27-2014 09:59 AM |
Strict Standards Error? | LucasA33 | Questions and Supports | 4 | 01-09-2014 11:26 AM |
What's New? |
What's Hot? |
What's Popular? |