Sie sind nicht angemeldet.

1

Montag, 14. März 2016, 21:30

Forum bug

Last days when I click on reply to PM I received:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Fatal error: PHP error in file /is/htdocs/wp1081400_US15ZRT0TS/www/forum/wbb/wcf/lib/form/PMNewForm.class.php (306): preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead

Information:
error message: PHP error in file /is/htdocs/wp1081400_US15ZRT0TS/www/forum/wbb/wcf/lib/form/PMNewForm.class.php (306): preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
error code: 0
file: /is/htdocs/wp1081400_US15ZRT0TS/www/forum/wbb/wcf/lib/system/WCF.class.php (281)
php version: 5.6.18-1~he.0
wcf version: 1.1.10 pl 2 (Tempest)
date: Mon, 14 Mar 2016 20:29:24 +0000
request: /forum/wbb/index.php?form=PMNew&pmID=7601&reply=1
referer: http://krpano.com/forum/wbb/index.php?page=PMView&pmID=7601&folderID=0&pageNo=1&sortField=time&sortOrder=DESC&filterBySender=0&
Stacktrace:
#0 [internal function]: WCF::handleError(8192, 'preg_replace():...', '/is/htdocs/wp10...', 306, Array)
#1 /is/htdocs/wp1081400_US15ZRT0TS/www/forum/wbb/wcf/lib/form/PMNewForm.class.php(306): preg_replace('/(^RE: RE\\[)(\\d...', '"RE[".(\\2+1)', 'RE: xxxxxxx...')
#2 /is/htdocs/wp1081400_US15ZRT0TS/www/forum/wbb/wcf/lib/page/AbstractPage.class.php(90): PMNewForm->readData()
#3 /is/htdocs/wp1081400_US15ZRT0TS/www/forum/wbb/wcf/lib/form/MessageForm.class.php(237): AbstractPage->show()
#4 /is/htdocs/wp1081400_US15ZRT0TS/www/forum/wbb/wcf/lib/form/PMNewForm.class.php(423): MessageForm->show()
#5 /is/htdocs/wp1081400_US15ZRT0TS/www/forum/wbb/wcf/lib/page/AbstractPage.class.php(46): PMNewForm->show()
#6 /is/htdocs/wp1081400_US15ZRT0TS/www/forum/wbb/wcf/lib/util/RequestHandler.class.php(64): AbstractPage->__construct()
#7 /is/htdocs/wp1081400_US15ZRT0TS/www/forum/wbb/wcf/lib/util/RequestHandler.class.php(95): RequestHandler->__construct('PMNew', Array, 'form')
#8 /is/htdocs/wp1081400_US15ZRT0TS/www/forum/wbb/index.php(8): RequestHandler::handle(Array)
#9 {main}


Is this only me or forum related?

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

2

Dienstag, 15. März 2016, 17:12

i have seen this once a couple of weeks ago.
Think it has to do with slow server response or slow internet connection or so.

Tuur *thumbsup*

3

Dienstag, 15. März 2016, 20:30

I am not php guru but simple google would say something like upgrade of php performed and non compatible parameteters in some code to be fixed:
http://php.net/manual/en/function.preg-replace.php
http://stackoverflow.com/questions/19245…eplace-callback
https://www.drupal.org/node/2103151

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

4

Dienstag, 15. März 2016, 22:01

Yeah, upgrading php sucks cause it's not backwards compatible completely with old code and you get that a lot.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

5

Donnerstag, 17. März 2016, 08:18

Hi,

right, the problem was a PHP update from the hoster and unfortunately there are no forum updates available yet.

I have fixed the problem in PMNewForm.class.php now manually for the meantime.

If there are any other similar PHP problems and error pages, please let me know and I will try to fix them as soon as possible.

Best regards,
Klaus

6

Donnerstag, 17. März 2016, 10:00

*thumbsup* thx

Ähnliche Themen