forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Understudy on January 07, 2013, 04:18:53 am
-
Hi,
I realize this has been talked about before. So far I am not getting a solution that is working for me.
Here are the errors:
Strict Standards: Non-static method Inspekt_Supercage::Factory() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt.php on line 282
Strict Standards: Non-static method Inspekt::makeGetCage() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt/supercage.php on line 124
Strict Standards: Non-static method Inspekt_Cage::Factory() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt.php on line 147
Strict Standards: Non-static method Inspekt::makePostCage() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt/supercage.php on line 125
Strict Standards: Non-static method Inspekt_Cage::Factory() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt.php on line 170
Strict Standards: Non-static method Inspekt::makeCookieCage() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt/supercage.php on line 126
Strict Standards: Non-static method Inspekt_Cage::Factory() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt.php on line 192
Strict Standards: Non-static method Inspekt::makeEnvCage() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt/supercage.php on line 127
Strict Standards: Non-static method Inspekt_Cage::Factory() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt.php on line 215
Strict Standards: Non-static method Inspekt::makeFilesCage() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt/supercage.php on line 128
Strict Standards: Non-static method Inspekt_Cage::Factory() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt.php on line 238
Strict Standards: Non-static method Inspekt::makeServerCage() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt/supercage.php on line 134
Strict Standards: Non-static method Inspekt_Cage::Factory() should not be called statically,
assuming $this from incompatible context in /usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt.php on line 124
This is talked about in several other threads even one that says solved.
http://forum.coppermine-gallery.net/index.php?topic=72712.0 (http://forum.coppermine-gallery.net/index.php?topic=72712.0)
http://forum.coppermine-gallery.net/index.php/topic,69667.0.html (http://forum.coppermine-gallery.net/index.php/topic,69667.0.html)
My stats.
FreeBSD 9.0
apache22-2.2.23_4
php5-5.4.10
mysql-server-5.5.29
gd-2.0.35_8,1
I edited the php.ini as mentioned in the other thread. I did apachectl restart.
php.ini
; http://php.net/error-reporting
;error_reporting = E_ALL
error_reporting = E_ALL & ~E_NOTICE
When I tried to do this to the inspekt.php
if (!isset($_scinstance)) {
/**$_scinstance = Inspekt_Supercage::Factory($strict);**/
$inspekt = new Inspekt();
$superCage = $inspekt->makeSuperCage($strict);
}
I got this error
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20 bytes) in
/usr/home/www/vhosts/brendhanhorne.com/public_html/coppermine_dir/include/inspekt.php on line 282
So where do I go from here. If the line I need to modify is different. I am uncertain as to what it should be or be replaced with.
Sincerely,
Brendhan
-
Try
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
as
5.4.0 E_STRICT became part of E_ALL.
-
Try
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
as
That did it.
I had to make sure I changed inspekt.php back to
if (!isset($_scinstance)) {
$_scinstance = Inspekt_Supercage::Factory($strict);
}
# apachectl restart
Sincerely,
Brendhan
-
Please
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.
-
Already did. :)
-
Can someone please tell me some file is: php.ini
I can only find init.inc.php
have no idea where , so i can try edit with the error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT Code: as listed in some messages ?
thanks
-
Can someone please tell me some file is: php.ini
I can only find init.inc.php
have no idea where , so i can try edit with the error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT Code: as listed in some messages ?
thanks
Double post. For answer, see http://forum.coppermine-gallery.net/index.php/topic,69667.msg370999.html#msg370999