-
Posts
36 -
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
2,548 profile views
erikvanberkum's Achievements
Jr. Member (3/6)
37
Reputation
-
The site uses the Codyhouse CodyFrame CSS framework. They also have a version of Tailwind CSS. The megamenu component can be found here https://codyhouse.co/ds/components/app/mega-site-navigation
-
Keep getting logged out, regardless of settings
erikvanberkum replied to Goca's topic in General Support
Thanks for the feedback sofar Unfortunatly not getting any success by applying page rules in Cloudflare with bypassing the cache levels. I went a step further and also applied a cache rule to disable caching https://www.domain.com/processwire/* this also didnt improve anything. The culprit is that exactly after 60 seconds we are logged out. For now as a temporary solution, we adjusted our office dns to bypass cloudflare and go direct to the AWS EC2 instance. This does the trick but is not a long term solution. As for the future we like to disable any http or https traffic that is not coming via Cloudflare. -
Keep getting logged out, regardless of settings
erikvanberkum replied to Goca's topic in General Support
Having same issue with cloudflare as soon as i enable a "proxied" connection, I continously get logged out. When using the cloudflare setting "DNS only" the issue gone. Need to further investigate processwire .htaccess settings as their are options how for running behind a proxy. -
I am calling the following on a multilanguage field. $all_options = $field->type->getOptions($field); I am able to get the default language, but how do I access the other languages? I.e. my default is English and one of the other languages is Dutch. When I call this field, on a dutch page it shows up in default English. Anyone able to point me in the right direction? Links below didnt help me. https://processwire.com/docs/fields/select-options-fieldtype/ https://processwire.com/api/ref/fieldtype-options/get-options/
-
this did the trick: "id>=1, include=all"
-
Just an odd thing someone runs into every 6 years it looks like but today was my turn. Doing a makeover of our website and try to reuse a field. Went into the database table fields, and set the parent_id back to 0. I couldn't find how to reset this on the page itself. {"derefAsPage":0,"inputfield":"InputfieldPageListSelectMultiple","parent_id":0,"labelFieldName":"title","collapsed":0,"operator":"*=","searchFields":"title","description":"A maximum of up to 8 promo blocks can be selected a larger number will not be displayed","findPagesSelector":"parent=\/","usePageEdit":0}
-
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
-
I have figured it out, I was missing some required PHP packages: installed additionally: php7.2- bcmath,bz2,intl,gd,mbstring,mysql,zip,fpm
- 1 reply
-
- 1
-
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?
-
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.
-
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?
-
Page Hit Counter – Simple Page View Tracking
erikvanberkum replied to David Karich's topic in Modules/Plugins
David, thanks i have it implemented, it was easy.- 111 replies
-
- hitcounter
- tracking
- (and 4 more)
-
Page Hit Counter – Simple Page View Tracking
erikvanberkum replied to David Karich's topic in Modules/Plugins
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- 111 replies
-
- hitcounter
- tracking
- (and 4 more)
-
Sorry yes my mistake its an auto-appended file not a template.