When using ate + Resin + Opencart, the error "Can't accessprotectedfield" is reported. I don't know why, but the search function cannot be used anymore ~ I can only send the problem. I don't know if it is a problem that has been solved. I used ApacheTomcate7.0 and resin4.0.27. I ran OpenCart1.5.1 using ate + Resin + Opencart and reported the error "Can't access protected field ".
I don't know why, the search function cannot be used ~ I can only send the problem. I don't know if it is a problem that has been solved.
I used Apache pluate 7.0 and resin 4.0.27 to run OpenCart 1.5.1. The following error is reported when the upload2 page is opened.
Notice: Can't access protected field 'controllercommoncolumnleft: $ output' in D: \ working \ workspace \ OpenCart \ TestHelloWorld \ WebContent \ upload2 \ system \ engine \ controller. php on line 55
Notice: Can't access protected field 'controllercommoncolumnright: $ output' in D: \ working \ workspace \ OpenCart \ TestHelloWorld \ WebContent \ upload2 \ system \ engine \ controller. php on line 55
Notice: Can't access protected field 'controllermoduleslideshow: $ output' in D: \ working \ workspace \ OpenCart \ TestHelloWorld \ WebContent \ upload2 \ catalog \ controller \ common \ content_top.php on line 72
Notice: Can't access protected field 'controllercommoncontenttop: $ output' in D: \ working \ workspace \ OpenCart \ TestHelloWorld \ WebContent \ upload2 \ system \ engine \ controller. php on line 55
Notice: Can't access protected field 'controllermodulecarousel: $ output' in D: \ working \ workspace \ OpenCart \ TestHelloWorld \ WebContent \ upload2 \ catalog \ controller \ common \ content_bottom.php on line 72
Notice: Can't access protected field 'controllercommoncontentbottom: $ output' in D: \ working \ workspace \ OpenCart \ TestHelloWorld \ WebContent \ upload2 \ system \ engine \ controller. php on line 55
Notice: Can't access protected field 'controllercommonfooter ::: $ output' in D: \ working \ workspace \ OpenCart \ TestHelloWorld \ WebContent \ upload2 \ system \ engine \ controller. php on line 55
Notice: Can't access protected field 'controllercommonheader: $ output' in D: \ working \ workspace \ OpenCart \ TestHelloWorld \ WebContent \ upload2 \ system \ engine \ controller. php on line 55
------ Solution --------------------
Error_reporting (E_ALL &~ E_NOTICE); this sentence cannot be added to controller. php. Try it.
------ Solution --------------------
Discussion
At the beginning of PHP, controller. php reported 56 rows of errors instead of 55 rows.
I'm a PHP idiot. this Opencart program has been well deployed in easyphp and is now moved to resin. php is not configured in the root directory. ini information, web. xml does not reference php either. ini file. does this matter?
------ Solution --------------------
Set error level
------ Solution --------------------
Check whether it is illegal to access the class's protected (protected) class variables or class methods.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.