-
Posts
94 -
Joined
-
Last visited
Everything posted by Claus
-
Migrating to ProcessWire Commerce from Padloper
Claus replied to kongondo's topic in ProcessWire Commerce (Padloper) Support
What do I need to delete and remove if I want to remove Padloper and its data entirely? I’m thinking the module and the fields? The templates I suppose I can update? With the help of Claude I managed to get Padloper 1.3.1 uninstalled. It was a bit involved, but I got there in the end. I’ll try my luck in installing PWC now. -
Migrating to ProcessWire Commerce from Padloper
Claus replied to kongondo's topic in ProcessWire Commerce (Padloper) Support
Oh it’s mega old – 2017. The site was never deployed, but I’m back to working on it and saw that you open sourced PWC and I thought I might give that a go. Can I instead manually remove Padloper and start from scratch with PWC? That would make me feel better knowing that I don’t have some old Padloper stuff laying around. These are the PayPal files I have in the `includes` dir. -
Migrating to ProcessWire Commerce from Padloper
Claus replied to kongondo's topic in ProcessWire Commerce (Padloper) Support
Just tried to upgrade my very old Padloper installation. I get this error when the `ProcessWireCommerce` folder i in the `modules` folder and I hit Modules > Refresh. Warning: require(ProcessWire/PaymentPaypal.php): Failed to open stream: No such file or directory in /yadayada/site/modules/ProcessWireCommerce/vendor/autoload.php on line 49 Well well… Fatal Error: Uncaught Error: Failed opening required 'ProcessWire/PaymentPaypal.php' (include_path='.:/Applications/MAMP/bin/php/php8.3.14/lib/php') in site/modules/ProcessWireCommerce/vendor/autoload.php:49 #0 [internal function]: ProcessWireCommerce\autoload_paypal_stripe('\Pay...') #1 wire/core/ModulesFiles.php (271): ReflectionClass->__construct('\\\Pa...') #2 wire/core/Modules.php (2276): ModulesFiles->getModuleFile('PaymentPaypal', Array) #3 wire/core/ModulesInfo.php (1128): Modules->getModuleFile('PaymentPaypal', Array) #4 wire/core/Modules.php (1953): ModulesInfo->clearModuleInfoCache(true) #5 wire/core/Wire.php (416): Modules->___refresh(true) #6 wire/core/WireHooks.php (998): Wire->_callMethod('___refresh', Array) #7 wire/core/Wire.php (484): WireHooks->runHooks(Object(Modules), 'refresh', Array) #8 wire/modules/Process/ProcessModule/ProcessModule.module (389): Wire->__call('refresh', Array) #9 wire/core/Wire.php (413): ProcessModule->___execute() #10 wire/core/WireHooks.php (998): Wire->_callMethod('___execute', Array) #11 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessModule), 'execute', Array) #12 wire/core/ProcessController.php (361): Wire->__call('execute', Array) #13 wire/core/Wire.php (413): ProcessController->___execute() #14 wire/core/WireHooks.php (998): Wire->_callMethod('___execute', Array) #15 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessController), 'execute', Array) #16 wire/core/admin.php (174): Wire->__call('execute', Array) #17 wire/modules/AdminTheme/AdminThemeUikit/controller.php (15): require('/Users/claus/Gi...') #18 site/templates/admin.php (15): require('/Users/claus/Gi...') #19 wire/core/TemplateFile.php (328): require('/Users/claus/Gi...') #20 wire/core/Wire.php (413): TemplateFile->___render() #21 wire/core/WireHooks.php (998): Wire->_callMethod('___render', Array) #22 wire/core/Wire.php (484): WireHooks->runHooks(Object(TemplateFile), 'render', Array) #23 wire/modules/PageRender.module (581): Wire->__call('render', Array) #24 wire/core/Wire.php (416): PageRender->___renderPage(Object(HookEvent)) #25 wire/core/WireHooks.php (998): Wire->_callMethod('___renderPage', Array) #26 wire/core/Wire.php (484): WireHooks->runHooks(Object(PageRender), 'renderPage', Array) #27 wire/core/WireHooks.php (1099): Wire->__call('renderPage', Array) #28 wire/core/Wire.php (484): WireHooks->runHooks(Object(Page), 'render', Array) #29 wire/modules/Process/ProcessPageView.module (193): Wire->__call('render', Array) #30 wire/modules/Process/ProcessPageView.module (114): ProcessPageView->renderPage(Object(Page), Object(PagesRequest)) #31 wire/core/Wire.php (416): ProcessPageView->___execute(true) #32 wire/core/WireHooks.php (998): Wire->_callMethod('___execute', Array) #33 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessPageView), 'execute', Array) #34 index.php (55): Wire->__call('execute', Array) #35 {main} thrown (line 49 of site/modules/ProcessWireCommerce/vendor/autoload.php) This error message was shown because: you are logged in as a Superuser. Error has been logged. -
Newest version: Version 18.5 (20621.2.5.11.8)
-
Here is another little issue. When you show the images then the `Description…` text is dark blue on the black background. When you place the cursor in the field the text turn white.
-
I just tried to login using Chrome and Firefox and these works as expected. The issue is with Safari. I also tried to login using Safari in a Private session to avoid caching issues but got the same result. Safari again, urg.
-
-
I have the TinyMCE editor text area in black text on white background despite having set dark mode. I see from the blog announcement that the screenshot there is correctly white text on black background in dark mode. Do I have to set a dark-mode specifically for TinyMCE somewhere? (Also I had to remove my old customised CKEditor so *perhaps* that has left some crud causing this… perhaps…)
-
Hi Jürgen! Thank you for fixing this so quickly. Indeed I was logged in while testing, and this caused the email field to be populated with the email address that happens to also be the recipient address. In the logged out state it is not populated as expected 😉 Now I can test with eg. a Gmail address (as sender address), but then I get this error message Email is not a valid email address, because an active DNS record could not be found. Any idea what that is about? I’m running in on a local machine using WireMailSmtp, and I can successfully send test mails from the config page of WireMailSmtp using the same email addresses.
-
When I entered an email in the config I got this: Aw shucks… Fatal Error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, null given in site/modules/FrontendContact/FrontendContact.module:345 #0 site/modules/FrontendContact/FrontendContact.module (345): explode('_', NULL) #1 wire/core/Wire.php (416): FrontendContact->checkForFrontendContactEmailField(Object(HookEvent)) #2 wire/core/WireHooks.php (1102): Wire->_callMethod('checkForFronten...', Array) #3 wire/core/Wire.php (484): WireHooks->runHooks(Object(InputfieldEmail), 'processInput', Array) #4 wire/modules/Inputfield/InputfieldForm.module (385): Wire->__call('processInput', Array) #5 wire/modules/Inputfield/InputfieldForm.module (244): InputfieldForm->processInputShowIf(Object(WireInputData), Array) #6 wire/core/Wire.php (416): InputfieldForm->___processInput(Object(WireInputData)) #7 wire/core/WireHooks.php (998): Wire->_callMethod('___processInput', Array) #8 wire/core/Wire.php (484): WireHooks->runHooks(Object(InputfieldForm), 'processInput', Array) #9 wire/modules/Process/ProcessModule/ProcessModule.module (1809): Wire->__call('processInput', Array) #10 wire/modules/Process/ProcessModule/ProcessModule.module (1435): ProcessModule->renderEdit('FrontendContact', Array) #11 wire/core/Wire.php (413): ProcessModule->___executeEdit() #12 wire/core/WireHooks.php (998): Wire->_callMethod('___executeEdit', Array) #13 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessModule), 'executeEdit', Array) #14 wire/core/ProcessController.php (361): Wire->__call('executeEdit', Array) #15 wire/core/Wire.php (413): ProcessController->___execute() #16 wire/core/WireHooks.php (998): Wire->_callMethod('___execute', Array) #17 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessController), 'execute', Array) #18 wire/core/admin.php (174): Wire->__call('execute', Array) #19 wire/modules/AdminTheme/AdminThemeDefault/controller.php (13): require('/Users/claus/Gi...') #20 site/templates/admin.php (15): require('/Users/claus/Gi...') #21 wire/core/TemplateFile.php (328): require('/Users/claus/Gi...') #22 wire/core/Wire.php (413): TemplateFile->___render() #23 wire/core/WireHooks.php (998): Wire->_callMethod('___render', Array) #24 wire/core/Wire.php (484): WireHooks->runHooks(Object(TemplateFile), 'render', Array) #25 wire/modules/PageRender.module (581): Wire->__call('render', Array) #26 wire/core/Wire.php (416): PageRender->___renderPage(Object(HookEvent)) #27 wire/core/WireHooks.php (998): Wire->_callMethod('___renderPage', Array) #28 wire/core/Wire.php (484): WireHooks->runHooks(Object(PageRender), 'renderPage', Array) #29 wire/core/WireHooks.php (1099): Wire->__call('renderPage', Array) #30 wire/core/Wire.php (484): WireHooks->runHooks(Object(Page), 'render', Array) #31 wire/modules/Process/ProcessPageView.module (193): Wire->__call('render', Array) #32 wire/modules/Process/ProcessPageView.module (114): ProcessPageView->renderPage(Object(Page), Object(PagesRequest)) #33 wire/core/Wire.php (416): ProcessPageView->___execute(true) #34 wire/core/WireHooks.php (998): Wire->_callMethod('___execute', Array) #35 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessPageView), 'execute', Array) #36 index.php (55): Wire->__call('execute', Array) #37 {main} thrown (line 345 of site/modules/FrontendContact/FrontendContact.module) This error message was shown because: you are logged in as a Superuser. Error has been logged. If I load the site, the email is show, but as the posters email which is not right. The poster/user should enter their own email and the recipient email address I enter in the config should remain hidden from the poster/user. What am I doing wrong?
-
Okay, automatic option 2 sounds good (I have the whole show on Github so I’m good to go). Just ran it – and was careful to fill in the database information from `config-dev.php` and it worked perfectly! Very nice!
-
Before I do something wrong, let me just check. If I make a backup from my live site, can I then put that file in my local machine development site (that is identical to the live site but outdated) and have Duplicator update everything automatically?
-
How can I easiest have a `subdomain.domain.com ` with some static HTML in it, without ProcessWire on `domain.com` knowing about it or interfering with it? It worked out of the box, I was just not careful enough with my files.
-
Thank you for the hotfix @flydev It’s working!
-
I’m getting this when I try to go to the Duplicator module: Fatal Error: Uncaught Error: Call to undefined function shell_exec() in site/modules/Duplicator/Duplicator.module:1439 #0 [internal function]: Duplicator::getModuleConfigInputfields(Array) #1 wire/core/Modules.php (4130): call_user_func(Array, Array) #2 wire/core/Wire.php (419): Modules->___getModuleConfigInputfields('Duplicator', Object(InputfieldForm)) #3 wire/core/WireHooks.php (952): Wire->_callMethod('___getModuleCon...', Array) #4 wire/core/Wire.php (484): WireHooks->runHooks(Object(Modules), 'getModuleConfig...', Array) #5 wire/modules/Process/ProcessModule/ProcessModule.module (1680): Wire->__call('getModuleConfig...', Array) #6 wire/modules/Process/ProcessModule/ProcessModule.module (1415): ProcessModule->renderEdit('Duplicator', Array) #7 wire/core/Wire.php (413): ProcessModule->___executeEdit() #8 wire/core/WireHooks.php (952): Wire->_callMethod('___executeEdit', Array) #9 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessModule), 'executeEdit', Array) #10 wire/core/ProcessController.php (350): Wire->__call('executeEdit', Array) #11 wire/core/Wire.php (413): ProcessController->___execute() #12 wire/core/WireHooks.php (952): Wire->_callMethod('___execute', Array) #13 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessController), 'execute', Array) #14 wire/core/admin.php (160): Wire->__call('execute', Array) #15 wire/modules/AdminTheme/AdminThemeDefault/controller.php (13): require('/customers/a/0/...') #16 site/templates/admin.php (15): require('/customers/a/0/...') #17 wire/core/TemplateFile.php (328): require('/customers/a/0/...') #18 wire/core/Wire.php (413): TemplateFile->___render() #19 wire/core/WireHooks.php (952): Wire->_callMethod('___render', Array) #20 wire/core/Wire.php (484): WireHooks->runHooks(Object(TemplateFile), 'render', Array) #21 wire/modules/PageRender.module (575): Wire->__call('render', Array) #22 wire/core/Wire.php (416): PageRender->___renderPage(Object(HookEvent)) #23 wire/core/WireHooks.php (952): Wire->_callMethod('___renderPage', Array) #24 wire/core/Wire.php (484): WireHooks->runHooks(Object(PageRender), 'renderPage', Array) #25 wire/core/WireHooks.php (1060): Wire->__call('renderPage', Array) #26 wire/core/Wire.php (484): WireHooks->runHooks(Object(Page), 'render', Array) #27 wire/modules/Process/ProcessPageView.module (184): Wire->__call('render', Array) #28 wire/modules/Process/ProcessPageView.module (114): ProcessPageView->renderPage(Object(Page), Object(PagesRequest)) #29 wire/core/Wire.php (416): ProcessPageView->___execute(true) #30 wire/core/WireHooks.php (952): Wire->_callMethod('___execute', Array) #31 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessPageView), 'execute', Array) #32 index.php (55): Wire->__call('execute', Array) #33 {main} thrown (line 1439 of site/modules/Duplicator/Duplicator.module) This error message was shown because: you are logged in as a Superuser. Error has been logged.
-
Hi Jürgen I was configuring the module, and after turning asterisks off, I got this: Fatal Error: Uncaught TypeError: Cannot assign string to property FrontendForms\Label::$enableAsterisk of type int in site/modules/FrontendForms/Formelements/Textelements/Label.php:30 #0 site/modules/FrontendForms/Formelements/Inputelements/Inputfields.php (53): FrontendForms\Label->__construct() #1 site/modules/FrontendForms/Formelements/Inputelements/Inputs/Input.php (26): FrontendForms\Inputfields->__construct('captcha') #2 site/modules/FrontendForms/Formelements/Inputelements/Inputs/InputRadioMultiple.php (34): FrontendForms\Input->__construct('captcha') #3 site/modules/FrontendForms/Formelements/Captcha/AbstractImageCaptcha.php (32): FrontendForms\InputRadioMultiple->__construct('captcha') #4 site/modules/FrontendForms/Formelements/Captcha/variants/DefaultImageCaptcha.php (27): FrontendForms\AbstractImageCaptcha->__construct() #5 site/modules/FrontendForms/FrontendForms.module (1686): FrontendForms\DefaultImageCaptcha->__construct() #6 wire/core/Modules.php (4112): FrontendForms->getModuleConfigInputfields(Object(InputfieldWrapper)) #7 wire/core/Wire.php (419): Modules->___getModuleConfigInputfields('FrontendForms', Object(InputfieldForm)) #8 wire/core/WireHooks.php (952): Wire->_callMethod('___getModuleCon...', Array) #9 wire/core/Wire.php (484): WireHooks->runHooks(Object(Modules), 'getModuleConfig...', Array) #10 wire/modules/Process/ProcessModule/ProcessModule.module (1680): Wire->__call('getModuleConfig...', Array) #11 wire/modules/Process/ProcessModule/ProcessModule.module (1415): ProcessModule->renderEdit('FrontendForms', Array) #12 wire/core/Wire.php (413): ProcessModule->___executeEdit() #13 wire/core/WireHooks.php (952): Wire->_callMethod('___executeEdit', Array) #14 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessModule), 'executeEdit', Array) #15 wire/core/ProcessController.php (350): Wire->__call('executeEdit', Array) #16 wire/core/Wire.php (413): ProcessController->___execute() #17 wire/core/WireHooks.php (952): Wire->_callMethod('___execute', Array) #18 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessController), 'execute', Array) #19 wire/core/admin.php (160): Wire->__call('execute', Array) #20 wire/modules/AdminTheme/AdminThemeDefault/controller.php (13): require('/customers/a/0/...') #21 site/templates/admin.php (15): require('/customers/a/0/...') #22 wire/core/TemplateFile.php (328): require('/customers/a/0/...') #23 wire/core/Wire.php (413): TemplateFile->___render() #24 wire/core/WireHooks.php (952): Wire->_callMethod('___render', Array) #25 wire/core/Wire.php (484): WireHooks->runHooks(Object(TemplateFile), 'render', Array) #26 wire/modules/PageRender.module (575): Wire->__call('render', Array) #27 wire/core/Wire.php (416): PageRender->___renderPage(Object(HookEvent)) #28 wire/core/WireHooks.php (952): Wire->_callMethod('___renderPage', Array) #29 wire/core/Wire.php (484): WireHooks->runHooks(Object(PageRender), 'renderPage', Array) #30 wire/core/WireHooks.php (1060): Wire->__call('renderPage', Array) #31 wire/core/Wire.php (484): WireHooks->runHooks(Object(Page), 'render', Array) #32 wire/modules/Process/ProcessPageView.module (184): Wire->__call('render', Array) #33 wire/modules/Process/ProcessPageView.module (114): ProcessPageView->renderPage(Object(Page), Object(PagesRequest)) #34 wire/core/Wire.php (416): ProcessPageView->___execute(true) #35 wire/core/WireHooks.php (952): Wire->_callMethod('___execute', Array) #36 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessPageView), 'execute', Array) #37 index.php (55): Wire->__call('execute', Array) #38 {main} thrown (line 30 of site/modules/FrontendForms/Formelements/Textelements/Label.php) This error message was shown because: you are logged in as a Superuser. Error has been logged. … and I can no longer edit the module settings. What do I do?
-
Allow me to answer myself. Very sneakily the hidden `Advanced SMTP` had the `Authentication Mechanism` set to `password`. Removing this solved the issue.
-
I just upgraded from 0.60 to 0.63, and now I’m getting the following error: ["ERRORS"] array(1) { [0] string(126) "authenticated mechanism password may not be used: it was not requested any of the authentication mechanisms that are supported" } } array(1) { ["DEBUGLOG"] string(811) " Resolving SMTP server domain "mailout.one.com"... Connecting to SMTP server "mailout.one.com" port 587... Connected to SMTP server "mailout.one.com". S 220 mailout2 ESMTP C EHLO mysite.local S 250-mailout2 S 250-PIPELINING S 250-CHUNKING S 250-SIZE 104857600 S 250-STARTTLS S 250-AUTH LOGIN PLAIN S 250-ENHANCEDSTATUSCODES S 250 8BITMIME C STARTTLS S 220 2.0.0 Ready to start TLS Starting TLS cryptographic protocol TLS started: STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT C EHLO forthehearts.local S 250-mailout2 S 250-PIPELINING S 250-CHUNKING S 250-SIZE 104857600 S 250-AUTH LOGIN PLAIN S 250-ENHANCEDSTATUSCODES S 250 8BITMIME " } And this is what my provider lists as the settings it likes Outgoing server: mailout.one.com Port and encryption: - 587 with STARTTLS (recommended) - 465 with TLS - 25 with STARTTLS or none Authentication: your email address and password I have it set up using 587, START-TLS and STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT Any ideas? Fixed – see below.
-
Awesome, thank you! I am getting ‘Error reported by web service: That module is not currently tracked by the modules directory’ when I try to update the status in ‘processwire/module/edit?name=ProcessDuplicator’ I was not in the correct module… sorry.
-
Aha / bingo from running <?php phpinfo(); ?> on PHP 8.0.16: disable_functions disk_total_space, diskfreespace, exec, system, popen, proc_open, proc_nice, shell_exec, passthru, dl
-
I have changed my PHP version from 7.x to 8.1. The changeover will take 10 mins, and I’ll report back if the output changes. (Please see my above post – I edited it.)
-
Alright, it worked, and it returns nothing. The hosting provider is One.com I found a way to enable PHP debug in the One.com interface, and now I get: Fatal error: Uncaught Error: Call to undefined function disk_total_space() in /customers/a/0/5/website.com/httpd.www/test_disk.php:1 Stack trace: #0 {main} thrown in /customers/a/0/5/website.com/httpd.www/test_disk.php on line 1
-
I don’t think I can(?) The server is my ‘production’ server, and is using the PW .htaccess to deny such things. If you have an idea on how to do it please let me know!