-
Posts
253 -
Joined
-
Last visited
Everything posted by prestoav
-
Thanks BitPoet, i'll check that now!
-
Hello all!!! An odd problem has just occurred on an existing site. I have a a repeater field with a file upload within it. There are a couple of text fields too for descriptions etc. Uploads haver been working fine and uploaded files displaying on the front-end fine too. However, yesterday the file uploads stoped working. Here's what happens: 1) In a page admin open one of the repeater items by clicking on the green bar 2) Click the 'Choose File' button and select the file you want 3) The file upload progress bar goes to 100% then the field reports the correct file name and size 4) Click to save the page 5) Page reloads, the repeated item remains but the file is missing This has been working fine for months but now fails. Images upload OK to the server on other repeaters on the same template just not regular file uploads. I've checked permissions for the assets file on the server and they remain at 755. This happens for even the Superuser account so I don't think it's a permissions issue. Any ideas? This has me stumped!
-
Thanks dragan, the "%" cures this issue but introduces another. Using "%" stops searches working where there are more than word in the search term and they are not connected. Example: There is a manufacturer called 'Bowers & Wilkins'. Some people search for 'Bowers and Wilkins'. To make this manufacturer show up no matter if the user uses the "and" or or the "&" I do a str_replace on trhe search term to remove both the "&" and "and" so there are just the two words 'Bowers' and 'Wilkins. Then the search works as the two words are present even thought they are not one after the other. (I hope that makes sense)! Can you tell me more about your 'backticks' suggestion as I'm not sure what you mean? Thanks.
-
Hi all, I'm having an odd issue that I think is down to the selector I'm using but I can't track down the cause! I'm using front-end AJAX search form on a list of product adverts (pages) where the product is made by a certain manufacturer (vendor). The manufacturer is chosen buy the person listing the adverts from a page field list of manufacturers who's parent is id=1034. Most manufacturers are being found without an issue. The only one that's causing a problem is called 'Proj-ect" (the "-" being part of their brand name. Here's my selector code: $thisBrandProducts = $pages->find("template=advert,vendor.title~=$q,has_parent=1034,limit=20,created_users_id!=$susDealerList"); $susDealerList is a list of advertisers that are not currently live so pages should be excluded. Could the "-" in the name be the issue with those pages not being returned? If so does anyone have any ideas of how I can get around this? Thanks in advance!
-
Thanks psy, will take a look!
-
Hi noelboss. Thanks for the Snipcart recomendation. This looks very good. I'm investigating...
- 5 replies
-
- 1
-
- ecommerce
- subscription
-
(and 2 more)
Tagged with:
-
Hi folks, I have a marketplace site built on PW which I'd like to tie to a subscription payment system for those selling. The user accounts currently use specific PW user accounts. I'm looking closely at PayWhirl to manage payments and subscriptions as it looks ideal for subscriptions. Their API seems to work well too from initial testing. I wondered if anyone else in this super forum had used PayWhirl and had any advice or tips & tricks? Thanks. https://app.paywhirl.com/
- 5 replies
-
- ecommerce
- subscription
-
(and 2 more)
Tagged with:
-
I'm really interested to see v3 compatibility for Fredi too!
-
Hi Dragan, Thanks for the link. I did look through that and I don't see an selectors with spaces :-( Line 64 of index.php is the bit of code that makes the error output to screen by the looks of it so I assume something else is originating the error for this to fire.
-
Thanks for your help Macrua. I'm running this update on localhost first so the main site is safe! Sadly still fighting this. I've removed the modules that don't specifically report 3.0 compatibility but am still getting the error. Each time I've regressed to 2.7.2 all is well again. After re-reading the upgrade troubleshooting guide I've also tried the last 2.8.62 legacy version and thats' throwing the same errors as V3. Am really struggling with this one!
-
Hi Dragan, Many thanks for the suggestions. I've just been through and tried all your suggestions and am still getting the same result. Just for clarification, I'm getting the same error report for the frontend and backend of the site :-(
-
Hi all and happy Christmas! I have an odd problem upgrading a site from 2.7.2 to 3.0.62. I've never had an issues upgrading PW versions before! Here's the error report: Fatal error: Exception: Unknown Selector operator: '' -- was your selector value properly escaped? field='1', value='', selector: '1' (in /Applications/MAMP/htdocs/idreamav/wire/core/Selectors.php line 396) #0 /Applications/MAMP/htdocs/idreamav/wire/core/Selectors.php(439): ProcessWire\Selectors->create('1', '', '') #1 /Applications/MAMP/htdocs/idreamav/wire/core/Selectors.php(159): ProcessWire\Selectors->extractString('1') #2 /Applications/MAMP/htdocs/idreamav/wire/core/Selectors.php(145): ProcessWire\Selectors->setSelectorString(Object(ProcessWire\Page)) #3 /Applications/MAMP/htdocs/idreamav/wire/core/PagesLoader.php(217): ProcessWire\Selectors->init(Object(ProcessWire\Page)) #4 /Applications/MAMP/htdocs/idreamav/wire/core/Pages.php(232): ProcessWire\PagesLoader->find(Object(ProcessWire\Page), Array) #5 /Applications/MAMP/htdocs/idreamav/wire/core/Wire.php(386): ProcessWire\Pages->___find(Object(ProcessWire\Page), Array) #6 /Applications/MAMP/htdocs/idreamav/wire/core/WireHooks.php(698): ProcessWire\Wire->_callMethod(' in /Applications/MAMP/htdocs/idreamav/index.php on line 64 For my eyes it looks like a selector format somewhere. I've been through all of the site templates and can; see anything wrong and they were all working under 2.7.2. Anyone have any ideas?
-
The new Monitor Audio website is a ground up build featuring a completely custom front end design and back end Processwire build. Modules in use include Multi Language, ProCache, Blog, FormBuilder, Instagram and ProFields. The site has a large product catalogue, dealer finder and is in multiple languages. However, one of the main objectives for the project was to deliver a platform that could be easily edited and expanded as needs grow. The client team were involved at every stage. As developers we went a long way to make sure everything was editable. Other features include: IP controlled contact form with multiple email destinations based on enquiry type Product registration form with multi-product registration from a select group of products Company timeline with year filter all based on the blog platform Dealer finder with three dealer types and in multiple countries Newsletter signup with multiple signup opportunities (sign up box and other forms) FAQ section File downloads for products from internally (CMS) uploaded files or external file links There are also several other expansions and features planned. As always we'd love to hear your feedback on the site https://www.monitoraudio.com/
-
Thanks for that Dragan, I'm not sure that's the issue here though. After following the thread(s) you linked I've checked: 1) PHP => 5.3.8 in fact it's running on 5.5.38. I'm tying to get a higher version of php running but the host's (1and1) PHP switching page is giving a 404 at the moment :-( 2) The Passwords we're attempting to create are all on the same server so the 'created on one php version and using on another' issue isn't it. Any other thoughts folks?
-
I have a site built with a user role 'member' that can view some extra 'member area' pages. I have a user with the role 'editor' that has been given 'user-admin' permission who can successfully generate new users. However, when they try to add / change a 'member' role password to a 'member' role they get the error: Unable to generate password hash Does anyone know how to assign the 'editor' role the permission to generate a password for other user types? Thanks!
-
'Skip width attributes on image tags' not working?
prestoav replied to prestoav's topic in General Support
Thanks abdus! -
'Skip width attributes on image tags' not working?
prestoav replied to prestoav's topic in General Support
Hi Abdus, Actually I assumed that so, when testing, I removed the image from the page completely and added an all new one. Same result, the width attribute still keeps being added. -
Hi all, PW: 3.0.42 I'm trying to have responsive images in the body field. First I need to stop the image tag generated by CKEditor adding the width attribute to the image tag on insertion. I found the 'Skip width attributes on image tags?' in the settings of ProcessPageEditImage and that suggests it does exactly what I'm after. Sadly, even when this checkbox is checked and a new image is inserted the width attribute is still added. Am I missing something? TIA.
-
[Solved] Pages Don't Exist in Two Of Four Languages
prestoav replied to prestoav's topic in General Support
Thanks Abdus, that did the trick perfectly! -
Hi all, A very odd issue this one! I'm working on a site with 5 languages - English (default), French, German, Spanish and Polish. I have a set of pages set up as a country list (templae='country') which contain various country info like two-letter country code etc and where the page title is the Country name. This is so that I can use the country list in various parts of the site. When the site is showing in English, Spanish and Polish I can display the country list without an issue. However, when the page is displaying in French or German the country pages seem not to exist. So, this code... $countries = $pages->find("template=country"); foreach ($countries as $country) { if ($country) { echo $country->title . "<br />"; } } ...displays the country list just fine in English, Spanish and Polish but displays nothing in French and German. Just for extra info, the Title field is set up as PageTitleLanguage and all languages are setup the same. Any ideas? TIA.
-
[SOLVED] Extremely slow to open / save one template type in admin
prestoav replied to prestoav's topic in General Support
Now solved!!! The issue turned out to be one page field within a repeater. I'd set 'Template of selectable page(s)' to 'blog-post' and then set 'sort=-blog_date' in the 'Custom Selector to find selectable pages' field thinking the two selectors would combine. Turns out they don't, at least not in this way. All pages, repeaters and other admin sub pages were selectable within this field. The site has hundreds of pages, many with a large number of repeaters in so every time the page admin was loaded / saved it read all of them. Combining the required filters with only the statement 'page-template=blog_post,sort-=blog_date' for this page field did the trick and the admin for this template (and saving pages with this template) now works really quickly. Phew! -
[SOLVED] Extremely slow to open / save one template type in admin
prestoav replied to prestoav's topic in General Support
Ah, sorry missed that!!! No hooks and no modules (other than core and ProFields repeater matrix) related to that template. Repeater Matrix is working on other templates OK and is only used once in the offending template. I've not come across Tracey debugger before. Do you mean this: https://modules.processwire.com/modules/tracy-debugger/ ? Thanks again. -
[SOLVED] Extremely slow to open / save one template type in admin
prestoav replied to prestoav's topic in General Support
Thanks berhard for the FieldSetTab option. Another very cool PW feature I didn't know about. That will come in useful! Sadly though in this case it's not made any difference to the load and save page of the pages with that template, despite moving some of the 'big hitters' from the page into tabs :-(