Forum > Software

BBCode PDF Flash-Viewer Einbindung

<< < (2/3) > >>

Kirk:
Ne ich habe ja nen WBB 3.1.8

knie:
Dieser Fehler?

--- Code: ---Fatal error: Unable to find template 'PDFBBCode'
You get more information about the problem in our knowledge base: http://www.woltlab.com/help/?code=12005
Information:
error message: Unable to find template 'PDFBBCode'
error code: 12005
file: C:\xampp\htdocs\desbl\wcf\lib\system\template\Template.class.php (321)
php version: 5.3.5
wcf version: 1.1.6 pl 3 (Tempest)
date: Sun, 29 May 2011 08:01:39 +0000
request: /desbl/acp/index.php?action=UpdateMessagePreviews&limit=100&loop=2&packageID=48&
referer: http://localhost/desbl/acp/index.php?action=UpdateMessagePreviews&limit=100&loop=1&packageID=48&
Stacktrace:
#0 C:\xampp\htdocs\desbl\wcf\lib\system\template\Template.class.php(259): Template->getSourceFilename('PDFBBCode')
#1 C:\xampp\htdocs\desbl\wcf\lib\system\template\Template.class.php(397): Template->display('PDFBBCode', false)
#2 C:\xampp\htdocs\desbl\wcf\lib\data\message\bbcode\PDFBBCode.class.php(37): Template->fetch('PDFBBCode')
#3 C:\xampp\htdocs\desbl\wcf\lib\data\message\bbcode\BBCodeParser.class.php(351): PDFBBCode->getParsedTag(Array, 'http://www.desb...', Array, Object(MessageParser))
#4 C:\xampp\htdocs\desbl\wcf\lib\data\message\bbcode\BBCodeParser.class.php(66): BBCodeParser->buildParsedString()
#5 C:\xampp\htdocs\desbl\wcf\lib\data\message\bbcode\MessageParser.class.php(87): BBCodeParser->parse('Das Regelwerk s...')
#6 C:\xampp\htdocs\desbl\lib\data\post\PostEditor.class.php(143): MessageParser->parse('Das Regelwerk s...', '1', '0', '1', false)
#7 C:\xampp\htdocs\desbl\lib\acp\action\UpdateMessagePreviewsAction.class.php(60): PostEditor::updateFirstPostPreview('446', '2639', 'Das Regelwerk s...', Array)
#8 C:\xampp\htdocs\desbl\wcf\lib\action\AbstractAction.class.php(25): UpdateMessagePreviewsAction->execute()
#9 C:\xampp\htdocs\desbl\wcf\lib\acp\action\WorkerAction.class.php(26): AbstractAction->__construct()
#10 C:\xampp\htdocs\desbl\lib\acp\action\UpdateCounterAction.class.php(23): WorkerAction->__construct()
#11 C:\xampp\htdocs\desbl\wcf\lib\util\RequestHandler.class.php(64): UpdateCounterAction->__construct()
#12 C:\xampp\htdocs\desbl\wcf\lib\util\RequestHandler.class.php(98): RequestHandler->__construct('UpdateMessagePr...', Array, 'action')
#13 C:\xampp\htdocs\desbl\acp\index.php(8): RequestHandler::handle(Array)
#14 {main}

--- Ende Code ---

Alternativ kannst du ja einfach mal für das WBB4 das PlugIn nutzen, HIER zu finden.

Kirk:
Bei mir kommt folgende Fehlermeldung:


--- Code: ---Fatal error: PHP notice in file /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/data/message/bbcode/BBCodeParser.class.php (173): Undefined index: pdf
Information:
error message: PHP notice in file /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/data/message/bbcode/BBCodeParser.class.php (173): Undefined index: pdf
error code: 0
file: /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/system/WCF.class.php (281)
php version: 5.3.21
wcf version: 1.1.10 pl 2 (Tempest)
date: Wed, 25 Jun 2014 10:37:23 +0000
request: /reichsbund/index.php?form=ThreadAdd&boardID=135
referer: http://seyffenstein.mikronation.de/reichsbund/index.php?form=ThreadAdd&boardID=135&s=ffebf32afd15985c9a2c5c2ea6ccbe804764fe69
Stacktrace:
#0 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/data/message/bbcode/BBCodeParser.class.php(173): WCF::handleError(8, 'Undefined index...', '/pages/96/f2/d0...', 173, Array)
#1 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/data/message/bbcode/BBCodeParser.class.php(127): BBCodeParser->isValidTag(Array)
#2 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/data/message/bbcode/BBCodeParser.class.php(65): BBCodeParser->buildXMLStructure()
#3 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/data/message/bbcode/MessageParser.class.php(87): BBCodeParser->parse('[PDF]http://www...')
#4 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/lib/data/post/ViewablePost.class.php(62): MessageParser->parse('[PDF]http://www...', 1, 0, 1, false)
#5 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/lib/data/post/PostEditor.class.php(440): ViewablePost->getFormattedMessage()
#6 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/lib/form/ThreadAddForm.class.php(172): PostEditor::createPreview('', '[PDF]http://www...', 1, 0, 1)
#7 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/form/AbstractForm.class.php(90): ThreadAddForm->submit()
#8 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/form/CaptchaForm.class.php(104): AbstractForm->readData()
#9 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/form/MessageForm.class.php(193): CaptchaForm->readData()
#10 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/lib/form/ThreadAddForm.class.php(369): MessageForm->readData()
#11 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/page/AbstractPage.class.php(90): ThreadAddForm->readData()
#12 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/form/MessageForm.class.php(237): AbstractPage->show()
#13 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/lib/form/ThreadAddForm.class.php(434): MessageForm->show()
#14 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/page/AbstractPage.class.php(46): ThreadAddForm->show()
#15 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/util/RequestHandler.class.php(64): AbstractPage->__construct()
#16 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/util/RequestHandler.class.php(95): RequestHandler->__construct('ThreadAdd', Array, 'form')
#17 /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/index.php(8): RequestHandler::handle(Array)
#18 {main}
--- Ende Code ---

Und für den Code für das WBB 4 fehlen die Abhängigkeiten (WCF 2.0.0)
___________________________________________________________________
Ich habe ne Alternative Lösung gefunden ist zwar nicht optimal geht aber auch erstmal, ich speichere die Dokumente Seite für Seite als .jpg und Binde die Bilder ein.

knie:
Hmmm...

--- Code: ---Fatal error: PHP notice in file /pages/96/f2/d0009810/home/htdocs/mn-welt/seyffenstein/reichsbund/wcf/lib/data/message/bbcode/BBCodeParser.class.php (173): Undefined index: pdf

--- Ende Code ---

Hier steht was vom Paket BBCodeParser, der wandelt doch entsprechend BBCodes in PHP/HTML um?
Kannst du im Admincenter das Plugin abschalten und dann mal den Cache leeren, ggf. dann nochmal das PDF probieren.

Wäre jetzt meine Vermutung das hier die Pakete ggf. nicht zusammen funktionieren.

Kirk:
Werde ich mal probieren.

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln