Jump to content

erikvanberkum

Members
  • Posts

    29
  • Joined

  • Last visited

  • Days Won

    1

erikvanberkum last won the day on August 11 2017

erikvanberkum had the most liked content!

Profile Information

  • Gender
    Not Telling
  • Location
    Osaka Japan

Recent Profile Visitors

1,323 profile views

erikvanberkum's Achievements

Jr. Member

Jr. Member (3/6)

34

Reputation

  1. Similar problem here: Fatal Error: Uncaught Error: Class 'Pagefiles' not found in site/modules/FieldtypePDF/FieldtypePDF/PagePDFs.php:37 Using PW ProcessWire 3.0.165
  2. I have figured it out, I was missing some required PHP packages: installed additionally: php7.2- bcmath,bz2,intl,gd,mbstring,mysql,zip,fpm
  3. I have an issue with my sitemap.xml on my new development server: Ubuntu 20 with PHP 7.2 and processwire 3.0.165 XML Parsing Error: syntax error Location: http://localhost/pw/sitemap.xml Line Number 1, Column 1: I get the following notice printed at the top of my sitemap: Notice: Undefined index: in /var/www/html/pw/wire/core/Punycode.php on line 201 this template is set to content-type application/xml The issue started after enabling in the config: $config->pageNameCharset = 'UTF8'; $config->pageNameWhitelist = '-_.abcdefghijklmnopqrstuvwxyz0123456789æåäßöüđжхцчшщюяàáâèéëêěìíïîõòóôøùúûůñçčćďĺľńňŕřšťýžабвгдеёзийклмнопрстуфыэęąśłżź仕様土陸上が北市向技術協地ぁピあぃガ消毒気泡サミキ排イズと性質ウル超微細おび制御装置トラファインバブル生成器藻類ファインバブルスタンダド高濃度ウルラファインマイクロバブルステンレス塩化ビニールレイクユッインレッフィルタ製品テクノジーホムシングルデュプレック農業スリプレクスセルフクリングインレッフィルタ 実演セルフクリング インレットフィルタ解説ュスレタオゾン気泡による水質改善アダアンレク高性能カメで見るウルラプスファンバブルの革新スマな人は語る気泡とウォタノベョンについてプバポ検索コ支払店バイオティスアグテッバイオティクス農業ン水処理汚水処理米水産養殖業種子発芽効果モ中研究室ェ池ナ酸素結合大麻幅増加葉先焼け魅力的を栽培す違何衣洗浄利用した長距離鮮魚輸送縮医療用大麻鶏場へ果'; i also enabled this in the .htaccess file. I have copied all the settings from my production server Any ideas how to troubleshoot this?
  4. hello @Richard Jedlička, i found the issue. It was not an issue with the module but a problem with an ImageMagick-6 policy update on my Ubuntu machine, which seems to have happen around the same time as i updated my Processwire version: The solution to my problem was to edit /etc/ImageMagick-6/policy.xml than change the following line from: <policy domain="coder" rights="none" pattern="PDF" /> to <policy domain="coder" rights="read|write" pattern="PDF" /> and added the following line <policy domain="coder" rights="read|write" pattern="LABEL" /> By changing the policy you have to make sure that you can trust the users that upload the pdf files.
  5. I am still having issues with this module. this is what the error log shows running 3.0.148: Fatal Error: Uncaught TypeError: Argument 1 passed to InputfieldPDF::getAdminThumb() must be an instance of FieldtypePDF\PagePDF, instance of Pagefile given, called in /site/assets/cache/FileCompiler/site/modules/FieldtypePDF/InputfieldPDF.module on line 111 and defined in /site/assets/cache/FileCompiler/site/modules/FieldtypePDF/InputfieldPDF.module:57 Stack trace: 1. /site/assets/cache/FileCompiler/site/modules/FieldtypePDF/InputfieldPDF.module(111): InputfieldPDF->getAdminThumb(Object(Pagefile)) 2. /wire/core/Wire.php(389): InputfieldPDF->___renderItem(Object(Pagefile), 'pdf_manual_6feb...', 0) 3. /wire/core/WireHooks.php(823): Wire->_callMethod('___renderItem', Array) 4. /wire/core/Wire.php(450): WireHooks->runHooks(Object(InputfieldPDF), 'renderItem', Array) 5. /wire/modules/Inputfield/InputfieldFile/InputfieldFile.module(562): Wire->__ Line 57 of /site/assets/cache/FileCompiler/site/modules/FieldtypePDF/InputfieldPDF.module Anyone experience or suggestions how to get around this?
  6. David i like your module it works nicely. I have an issue using it in combination with amp pages. With amp pages we are not allowed to inject any java script code. So I want to exclude my amp pages from getting the pagehitcounter.min.js injected. Is their a way to block this? For the pages were I want to have the java script I can load it manually. I know you can set templates from getting tracked and not tracked but my issue is that i don't have separate template for an amp page and the normal page
  7. Sorry yes my mistake its an auto-appended file not a template.
  8. Robin Great module works great in my phpStorm environment. One thing i have some templates files named _main.php, it seems that templates that start with and underscore are not generated in the AutoTemplateStubs directory. Thanks
  9. After upgrading to the latest master 3.0.148 coming from the 3.0.123 version, this module stopped working in the sense that i am no longer able to upload files. I get the following error message: NOT AUTHORISED /files/assets/8888/filename.pdf @ error/constitute.c/ReadImage/412
  10. I had the same issue after an upgrade from php 7.0 to 7.2, its a matter of php missing a library: sudo apt-get install php7.x-zip apache2ctl restart
  11. @adrian @ipa, installed version TD 4.8.18 on PW 3.0.62 and works with out the nasty bug. Thank you for the good work.
  12. @adrian, thanks issue solved have to consider upgrading to 3.0.84.
  13. @adrian Replacing this code makes it work again. Now I am able to enable and disable Tracey. if($languageID) { echo 'test' . $language->name; //$languages->setLanguage($language); } I cant find the output from the echo test, language name. The default language in my installation is English. I only have the error when i enable or disable the Tracey. When its enabled and I remove the above code it keep working properly.
  14. Adrian Upgraded from to 4.8.11 today but problem stays i am running PW 3.0.62 on PHP 7.0.22-0 on an ubuntu0.16.04.1 echo $languageID before line 813 returns a 0 i have a total of 4 languages installed on this instance. Any ideas for further investigation?
×
×
  • Create New...