Klenkes Posted 6 hours ago Share Posted 6 hours ago Hello @kongondo I purchased Padloper this afternoon and was eager to test it out. Unfortunately due to errors I am stuck. PW 2.0.242 on PHP 8.2.10 with only Language Support Module installed and one second language. This is what I get when installing Shop: As you can see, the SHOP menuitem in Admin is there. So I ignored the error and tried to install some of the shop options, and got: Out of clues I tried different PHP versions... but no success 😢 Due to sufficient database backups I always can go back to pre-installs. Any hint? Link to comment Share on other sites More sharing options...
kongondo Posted 3 hours ago Share Posted 3 hours ago (edited) Hi @Klenkes, Thanks for the purchase. Sorry about the issue! I got the same error (incorrect table name) on a fresh install in a multilingual site with PHP 8.2 and ProcessWire 2.0.241. I am not sure whether it is coming from Padloper or ProcessWire. I wasn't able to find the root cause. In the end, I just refreshed that module page and the error went away. After that, I was able to install Padloper (configure) as usual. I didn't see the second error in my case. Are you able to please try again, this time refreshing the modules pages first. Thanks. If you manage to get to the 2nd part of the installation you will hit an error when you try to access the Padloper payment gateways, Stripe or PayPal. I have a fix on my end but not pushed that yet. You can implement the fix manually in your install like so: <?php namespace ProcessWire; // /site/modules/Padloper/traits/loader/TraitPadloperLoader.php // in the method getPadloperClassByName() near line #39 // FIND if (!empty($options)) { // stuff } // REPLACE WITH THIS if (!is_null($options)) { // stuff } Thanks. Edited 3 hours ago by kongondo 1 Link to comment Share on other sites More sharing options...
Klenkes Posted 2 hours ago Author Share Posted 2 hours ago 56 minutes ago, kongondo said: I just refreshed that module page and the error went away. After that, I was able to install Padloper (configure) as usual. I didn't see the second error in my case. Are you able to please try again, this time refreshing the modules pages first. Thanks. Hi @kongondo Thanks for your reply. I tried refreshing and Clear Compiled Files, but no success. The Shop page however looks fine after refrehing. But then I am not able to install any options on the Shop admin page. Not one not more. It always results in the same error: Field may not be named 'padloper_tax_rates' because it is already used by another field (104: padloper_tax_rates) The Shop page works and shows me all the available option to install, but after the error noch option is checked. Tomorrow I will try to install it on a remote server where my other websites live. Maybe it is something with my local environment... I will report back! Link to comment Share on other sites More sharing options...
Klenkes Posted 2 hours ago Author Share Posted 2 hours ago Hi @kongondo I had to know... I tried to install the same installation on my remote server with exactly the same result. 😢 The install of Shop results in the first error, and after refreshing the page it goes away. The install of an option results the first time in: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'padloper.field_padloper_description' doesn't exist and any subsequent attempt always results in this one: (padloper_tax_rates) Field may not be named 'padloper_tax_rates' because it is already used by another field (104: padloper_tax_rates) The tables created look like this: (if it helps) Sorry for the trouble... Link to comment Share on other sites More sharing options...
kongondo Posted 1 hour ago Share Posted 1 hour ago (edited) Hi @Klenkes, This is all very strange. The only common thing with recent issues is you guys are on Multilingual sites. The table 'field_padloper_description_pwtmp' looks like ProcessWire did not finish installing the table for the field 'padloper_description', i.e. the suffix _pwtmp is coming from ProcessWire. Not sure about the error with the tax rates field. It could be as a result of previous failures with respect to the description field. What are the languages on your site? Which one is the default? Can I get access to your remote test server so I can debug directly there? If yes, please PM details. Thanks for reporting this. Edit The only thing I can think of now is that the description fields fails to be installed (do you have language text area module?). For multilingual sites Padloper will install the description field as a Language Textarea field instead of a Textarea field. Maybe I should have a check for this module first instead of assuming that a multilingual site has this core module installed. Edited 57 minutes ago by kongondo Add info Link to comment Share on other sites More sharing options...
Klenkes Posted 2 minutes ago Author Share Posted 2 minutes ago Hi @kongondo It's late, but a few facts. I don't have a multilanguage site. Just the Language Module installed for a second language in the backend. I like the backend in english(default), clients have the option for german. That means: the only installed language modules are LanguageSupport and Processlanguage. So no Language Textarea or other field that support another language. I will try to install Padloper without language support, and if it works, install it later. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now