RadarURL

웹 프로그래밍
2015.12.02 18:37

Strict standards and C5 support errors

조회 수 561 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

Strict standards and C5 support errors

Permalink 1 user found helpful

Hi everybody! I'm trying to install concrete5 using xampp but when I try to go tohttp://localhost/concrete I have a red circle beside the "Support for C5 request URLs" voice: what should I do to repair this? Moreover above the "install concrete5" screen I have a huge amount of errors:
 
Strict Standards: Non-static method Loader::database() should not be called statically in /opt/lampp/htdocs/concrete/concrete/dispatcher.php on line 23
Strict Standards: Non-static method Loader::library() should not be called statically in /opt/lampp/htdocs/concrete/concrete/libraries/loader.php on line 177
Strict Standards: Non-static method Loader::library() should not be called statically in /opt/lampp/htdocs/concrete/concrete/libraries/loader.php on line 178
Strict Standards: Non-static method Loader::library() should not be called statically in /opt/lampp/htdocs/concrete/concrete/libraries/loader.php on line 179
Strict Standards: Non-static method Loader::library() should not be called statically in /opt/lampp/htdocs/concrete/concrete/libraries/loader.php on line 180
Strict Standards: Declaration of dbTable::create() should be compatible with that of dbObject::create() in /opt/lampp/htdocs/concrete/concrete/libraries/3rdparty/adodb/adodb-xmlschema03.inc.php on line 642
Strict Standards: Declaration of dbIndex::create() should be compatible with that of dbObject::create() in /opt/lampp/htdocs/concrete/concrete/libraries/3rdparty/adodb/adodb-xmlschema03.inc.php on line 806
Strict Standards: Declaration of dbData::create() should be compatible with that of dbObject::create() in /opt/lampp/htdocs/concrete/concrete/libraries/3rdparty/adodb/adodb-xmlschema03.inc.php on line 1051
Strict Standards: Declaration of dbQuerySet::create() should be compatible with that of dbObject::create() in /opt/lampp/htdocs/concrete/concrete/libraries/3rdparty/adodb/adodb-xmlschema03.inc.php on line 1302
Strict Standards: Non-static method Loader::library() should not be called statically in /opt/lampp/htdocs/concrete/concrete/libraries/loader.php on line 181
Strict Standards: Non-static method Loader::library() should not be called statically in /opt/lampp/htdocs/concrete/concrete/dispatcher.php on line 26
Strict Standards: Non-static method Cache::startup() should not be called statically in /opt/lampp/htdocs/concrete/concrete/dispatcher.php on line 27
Strict Standards: Non-static method Cache::getLibrary() should not be called statically in /opt/lampp/htdocs/concrete/concrete/libraries/cache.php on line 64
Strict Standards: Non-static method Loader::library() should not be called statically in /opt/lampp/htdocs/concrete/concrete/libraries/cache.php on line 28
Strict Standards: Non-static method Loader::library() should not be called statically in /opt/lampp/htdocs/concrete/concrete/dispatcher.php on line 30


what can I do?

 

-------------------------------------------------------------------------------------------------------------------------------------

 

mkly replied on at Permalink Best Answer Reply

mkly
This was discussed in this post
http://www.concrete5.org/community/forums/installation/concrete5-in...

The tl;dr version
====================
You need to replace a line in your file C:\xampp\php\php.ini
error_reporting = E_ALL | E_STRICT

to
error_reporting = E_ALL & ~(E_NOTICE | E_STRICT | E_DEPRECATED)
illukino90 replied on at Permalink Reply
Thank you so much, it works!!
siteadvice replied on at Permalink Reply
siteadvice
I've just had to move a couple of Concrete5 sites running v5.4.X and I had a lot of trouble with this.

The supposed fix reported by several people on the forums (adding the error_reporting setting to a php.ini file in the site root) does not solve the problem because error_reporting is reset numerous times in the core Concrete5 code itself.

The solution for me was to search through the \concrete\ folder and find instances of

error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED)

or

error_reporting(E_ALL ^ E_NOTICE)

(for example in concrete\startup\debug_logging.php and concrete\controllers\upgrade.php)

and change them to the following:

error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE)

This got my sites running again.
Tromholt replied on at Permalink Reply
Hey Jon Ewing
I got the same problem / challenge with this "Strict standards . . . " and reporting errors.

You wrote that you searched through the folder Concrete folder for instancex of "error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED)" or "error_reporting(E_ALL ^ E_NOTICE)" and replaced them with "error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE)".
How did you do that search ?
I have dreamweaver 6 (the newest before CC) and I can't figure out how I can search all the files automatic, - like in Windows 7 explorer.
I want to use a function like "search and replace".
Otherwise I have to go through every single file, as far as I understand - or is it only a couple of files?
Should I open them step by step and use "search and replace ?
I hope you can help me - I got "only" two sites running with that problem.

Hey Jon
Once again.
I have to tell you how I use Concrete5:
I don't use Xampp - as I said - I use Dreamweaver 6, but use the web for changing design and text, does normaly NOT use Dreamweaver for editing the site.
So PHP is installed on the server, - and my problem started when they updated PHP to version 5.6. - It works with version 5.3
The concrete5 version i 5.5.1
In my directory i don't have a php.ini - i think its only on the webhotels server because it belongs to PHP system.

So - is your solution still to change these instances ?

Thanks for your writing in the Concrete Forum
Ib Tromholt
AndyJ replied on at Permalink Reply
I wouldn't normally suggest this but won't changing the error reporting in just dispatcher.php work?

 

 

출처 : https://www.concrete5.org/community/forums/installation/strict-standards-and-c5-support-errors/

?

공부 게시판

공부에 도움되는 글을 올려주세요.

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 [공지] 공부 게시판 입니다. 처누 2003.08.18 931236
2503 유닉스/리눅스 리눅스 서버 설치 중 에러 "Failed to find a suitable stage1 device" JaeSoo 2025.10.03 37
2502 유닉스/리눅스 Linux 11 . Linux 설치 시 lvm 수동설정 JaeSoo 2025.10.03 28
2501 유닉스/리눅스 [Rocky Linux] 누구나 쉽게 따라하는 Rocky Linux 9.0 OS 다운로드 및 설치 방법~!! JaeSoo 2025.10.03 42
2500 유닉스/리눅스 Linux/Rocky Linux Rocky Linux : Composer 설치 JaeSoo 2025.09.29 43
2499 유닉스/리눅스 [Rocky Linux] 록키 리눅스 최신 업데이트 적용 방법 JaeSoo 2025.09.29 44
2498 유닉스/리눅스 rocky linux 커널 업데이트 JaeSoo 2025.09.29 36
2497 웹서버,WAS [Windows] OWASP ZAP 사용법 JaeSoo 2025.09.29 50
2496 웹서버,WAS [웹 취약점] 웹서버 디렉토리 리스팅 방지 JaeSoo 2025.09.29 52
2495 유닉스/리눅스 Clonezilla(클론질라) 백업파일 하드디스크로 복구 방법 JaeSoo 2025.09.28 44
2494 유닉스/리눅스 클론질라 사용 방법 - OS 이미지 백업 CloneZilla JaeSoo 2025.09.28 57
2493 유닉스/리눅스 [Linux / Rocky] FTP 접속 관련 설정 실습 예제 JaeSoo 2025.09.23 73
2492 유닉스/리눅스 Could not reliably determine the server's fully qualified domain name JaeSoo 2025.09.23 72
2491 유닉스/리눅스 [아파치] 아파치 웹서버에 .htaccess 파일 설정하는 방법 JaeSoo 2025.09.23 65
2490 유닉스/리눅스 [Linux] Apache web server의 rewrite module 사용하기 [출처] [Linux] Apache web server의 rewrite module 사용하기|작성자 g00dmoney JaeSoo 2025.09.23 61
2489 유닉스/리눅스 록키 리눅스 9.1에서 apache, mysql, PHP 설치 JaeSoo 2025.09.23 68
2488 유닉스/리눅스 [권한문제] 라이믹스 Fatal error: Uncaught Rhymix\Framework\Exception: Cannot write template cache file JaeSoo 2025.09.23 57
2487 유닉스/리눅스 라이믹스 php 에러 표시 JaeSoo 2025.09.23 53
2486 유닉스/리눅스 Rocky Linux - 라이믹스(Rhymix) 설치하기 JaeSoo 2025.09.23 50
2485 유닉스/리눅스 라이믹스(Rhymix) 매뉴얼 JaeSoo 2025.09.23 46
2484 유닉스/리눅스 [ Apache ] 아파치 start/stop/restart 명령어 JaeSoo 2025.09.23 37
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 126 Next
/ 126


즐겨찾기 (가족)

JAESOO's HOMEPAGE


YOUNGAE's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

숭실대 컴퓨터 통신연구실 (서창진)

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

아스가르드 좋은사람/나쁜사람

JServer.kr

제이서버 메타블로그

재수 티스토리


즐겨찾기 (강의, 커뮤니티)

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너