RadarURL

웹 프로그래밍
2015.12.02 18:37

Strict standards and C5 support errors

조회 수 4661 추천 수 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/

?

공부 게시판

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

  1. [공지] 공부 게시판 입니다.

    Date2003.08.18 By처누 Views2010050
    read more
  2. 청담동셔츠룸 010 2817 0845 일정과 인원에 맞춘 셔츠룸 문의

    Date2026.10.05 Category블로그 By정열적인퀘이사14 Views0
    Read More
  3. 최근 테헤란로 벤처 밸리의 핵심 리더들 사이에서 ‘클래스가 다른 정통 수질과 프라이빗 무드’로 소문 자자한 '선릉 룸싸롱' 기습 방문, 인공미를 거부하는 무결점 뉴페이스들과 심장을 마비시킨 사심 플러팅에 제대로 저격당하고 온 솔직 후기

    Date2026.10.05 Category카메라 By희미한홍학99 Views0
    Read More
  4. 본식DVD, 웨딩영상 색감이 중요한 이유새 창 열림

    Date2026.10.05 Categoryu-E(활성화) By힘겨운귤35 Views1
    Read More
  5. 대전, 인천, 세종 하수구 막힘 문제 해결 방법

    Date2026.10.05 Category공지 By정열적인코요테90 Views4
    Read More
  6. <문경맥주> 구입 할 수 있는 곳은 새 창 열림

    Date2026.10.05 Category취미 By타오르는드래곤61 Views1
    Read More
  7. 강남건전지❤️OlO-8655-OO53❤️친절문의환영 #강남건전지 #강남유니콘 #선릉유니콘 #강남건전지위치 #선릉역건전지#대치동유니콘 #강남바커스 #선릉바커스 #선릉역바커스 #강남룸클럽 #선릉룸클럽 #강남베터리 #강남바데리

    Date2026.10.05 Category데이터베이스 By괴랄한재규어89 Views1
    Read More
  8. 용인두피문신 고민? 만족 후기 보려면

    Date2026.10.05 Category사무 소프트웨어 By날카로운꿩11 Views8
    Read More
  9. 카­톡 gusim8003 급전/내구제 (24시문의) 폰테크 소액대출 선불폰 가개통

    Date2026.10.05 Category논문 By타오르는켄타우로스86 Views1
    Read More
  10. 웨딩누브라, 완벽한 드레스 핏을 위한 선택

    Date2026.10.05 Category윈도우즈 By날카로운감시자22 Views4
    Read More
  11. 성공적인 중고화물차 선택, 현명한 가이드

    Date2026.10.05 Category인터넷 By붉은드래곤50 Views2
    Read More
  12. 인천맛집 순위

    Date2026.10.05 Category가상화 By차가운파편97 Views2
    Read More
  13. 완벽한 웨딩드레스 핏의 비밀, 웨딩누브라

    Date2026.10.05 Category응용 프로그래밍 By힘겨운암석76 Views2
    Read More
  14. 파주누수업체, 신속 해결 전문가의 비결

    Date2026.10.05 Category카메라 By차가운에메랄드79 Views1
    Read More
  15. 올해의 핫플 선정 간석동 마블! 010&&8923&&0291

    Date2026.10.05 Categoryu-E(통합센터) By교활한감시자99 Views1
    Read More
  16. 손목터널증후군 치료, 현명한 선택 기준은?

    Date2026.10.05 Category웹서버,WAS By괴상한두루미52 Views1
    Read More
  17. 손목터널증후군, 두팔로정형외과에서 해답을 찾다

    Date2026.10.05 Categoryu-E(통합센터) By눈부신백마법사86 Views2
    Read More
  18. 골든타워 010 2817 0845 골타문의 편하게 알아보는 셔츠룸

    Date2026.10.05 Category응용 프로그래밍 By속삭이는미노타우르93 Views2
    Read More
  19. 특별한 기념품제작, 판촉물365

    Date2026.10.05 Categoryu-E(TestBed) By광기의태풍18 Views1
    Read More
  20. 대전누수 문제, 청년연합누수가 답이다

    Date2026.10.05 Category건강 By몽환적인삵34 Views2
    Read More
  21. 양산싱크대막힘, 뚫자하수구에서 한 번에 해결

    Date2026.10.05 Categoryu-E(법,정책) By낙관적인유니콘42 Views1
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 131 Next
/ 131


즐겨찾기 (가족)

JAESOO's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

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

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

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

JServer.kr

제이서버 메타블로그

재수 티스토리


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

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너