2013-01-08 2 views
0

방금 ​​아파치 업그레이드를했는데 PHP (그러나 100 %는 확실하지 않음)를 업데이트했습니다. 내 사이트 : http://www.villagedrinks.co.uk/이 오류를 받고 있습니다. 실제로는 WP를 사용하지도 않습니다. 사이트, 어떤 도움 정말 감사합니다. 내 일반적인 코딩 능력은 합리적으로 제한되어 있습니다. 감사합니다 그렉
다음 오류/경고입니다 : 프로덕션 서버에 대한 권장PHP 업그레이드가 내 Wordpress Blog 오류를 제공합니다

Deprecated: Assigning the return value of new by reference is deprecated in /home/village/public_html/blog/wp-includes/cache.php on line 36 

Deprecated: Assigning the return value of new by reference is deprecated in /home/village/public_html/blog/wp-includes/query.php on line 21 

Deprecated: Assigning the return value of new by reference is deprecated in /home/village/public_html/blog/wp-includes/theme.php on line 507 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/village/public_html/blog/wp-includes/cache.php:36) in /home/village/public_html/includes/inc_functions.php on line 22 
+0

사용중인 WP 버전은 몇 개입니까? (당신은 어딘가에 그것의 일부를 사용해야합니다.) –

+0

wp-config.php 파일에서 define ('WP_DEBUG', false)를 설정해야 할 수도 있습니다. –

+0

@KostiaShiian; 이 WP 설정이 시대에 뒤떨어 졌다는 사실은 변하지 않을 것입니다. – Daniel

답변

1
E_ALL & ~E_DEPRECATED에 php.ini 파일에 error_reporting PHP 변수를 변경

. 그런 다음 웹 서버를 다시 시작하십시오. 이렇게하면 사용 중단 알림이 표시되지 않고 session_start() 문제가 해결됩니다.

+0

또는 index.php에 'error_reporting (0);'을 추가하십시오. – Daniel

+0

@ 대니 엘 : 나이가 들어서 WP를 실행하지 않았기 때문에 모든 페이지에서 index.php를 사용합니까? 그렇지 않다면 너무 잘 작동하지 않을 것입니다. – Crontab

+0

예, index.php (AFAIK)는 프록시/캐치 올 포인트입니다. 편집 : 예 (http://davidwalsh.name/wordpress-htaccess에 따라) – Daniel

1

당신은 확실히 워드 프레스를 사용하고 있습니다 : http://www.villagedrinks.co.uk/blog/

당신의 워드 프레스 설치하기 때문에 당신은 경고를 얻고있는 것은 고대이다

<meta name="generator" content="WordPress 2.2.1" /> 

업그레이드 워드 프레스 (현재 버전은 3.5입니다)하거나 완전히 /blog/ 폴더를 삭제 .

이전 버전이 설치되어 있으면 안전하지 않으며 누군가가 numerous unpatched bugs 중 하나를 통해 사이트에 들어갈 수 있습니다.

+0

홈 페이지에서 오류를 수정 한/blog/폴더를 제거했지만 사용자가 greg.healey를 사용하여 로그인 할 때 다른 문제가 발생했습니다. @ btinternet.com과 암호 gjh999에 오류가 표시됩니다. 치명적 오류 : 정의되지 않은 함수를 호출합니다. login_village() in /home/village/public_html/includes/inc_functions.php 129 다른 오류도 시도하고 로그 아웃합니까? –

관련 문제