Pablos
Members-
Posts
34 -
Joined
-
Last visited
Everything posted by Pablos
-
OK sorted now - I'd added the following to /site/config.php on the development server $config->defaultAdminTheme = 'Default'; Not sure why that would cause a problem, but I removed it and everything works fine now.
- 1 reply
-
- 1
-
When I log into the backend as any role other than superuser, I get the following Console error "SCRIPT5009: 'ProcessWire' is undefined. File: ProcessPageList.min.js, Line 1, Column: 32". I'm using ProcessWire version 3.0.98 with the default theme and PHP 7.1.17. The server is a Windows Server 2012 R2 STandard virtual machine running on a VMware Virtual Platform. I also have a development version of the site running on a subdomain on my regular webhosting environment and it performs perfectly there. Thanks for any suggestions!
-
Images from nested repeaters don't load with pagefileSecure turned on
Pablos replied to Pablos's topic in General Support
Sorry about that - I've now opened an issue on the current repo. https://github.com/processwire/processwire-issues/issues/625 -
Images from nested repeaters don't load with pagefileSecure turned on
Pablos replied to Pablos's topic in General Support
Thanks for that Robin. I left a comment on an existing issue. https://github.com/ryancramerdesign/ProcessWire/issues/356#issuecomment-400594374 Looks like I'll have to approach my variation images another way. -
I'm developing a digital asset management system and using pagefileSecure to protect my assets folder. Thumbnail images are loaded on my main page via ajax. The source pages have repeaters for images each of which includes its own nested repeater for image variations (eg a version of the parent image with a bluer sky). If I log in as any role other than superuser, the nested images fail to load with a 404 error. If I turn off pagefileSecure, the images load for all users. I'm using Processwire 3.0.98 and PHP 7.1.18 Does anyone know if there's a way to get nested repeater images to load with pagefileSecure on, or do I need to have a rethink? Thanks!
-
Searching repeaters only works in Chrome strangely
Pablos replied to Pablos's topic in General Support
Nice one Robin - that's it. It's late and I was starting to get superstitious about the browsers ganging up on me! Thanks a lot for that, Paul -
Searching repeaters only works in Chrome strangely
Pablos replied to Pablos's topic in General Support
I know - I feel like an idiot suggesting it... I'm logging the number of matches from the php file in the very line below the $matches assignment and it's 3 in chrome and 0 in all the others. The search term is coming from a search field via a jquery ajax call. It's definitely making reaching the php file and everything seems to be identical up to the point where the repeater search happens. I'm actually performing a regular page search on the same search term before the repeater search and that's fine in all cases, which does seem to suggest it's the selector that's the prob. Really weird! -
Hi all, I'm using the following selector to search the title and keywords fields of all instances of a repeater across my site: $matches = $pages->find("template=repeater_Images_With_Variations, title|keywords*=" . $search_term_string); I've been developing using Chrome and everything's been working fine, but I just tested in Safari, Firefox and IE and that same selector failed to find anything. I didn't know the browser could affect searches on the back end, but that seems to be what's happening. Does anyone have any idea what's going on? Thanks for any help, Paul
-
Hi, I've got a problem when text entered in the 'Other Information' text area field includes a single quote. Rather than just the quote being removed, the remainder of the text is removed with it. As a test, I tried commenting out the sanitzer line in validateInformation(), but the quote and all following text was still removed. It's pretty much guaranteed that users will frequently use apostrophes here, and vital delivery information could be lost if the text gets mangled. Thanks for any ideas, Paul
-
Hi, I've got Shop-for-processWire up and running on a site and everything's working beautifully. I now need to be able to send a confirmation email to the buyer from the 'Thank you' page. I'm trying to get the order info from the order page via $session->orderId, and although many of the entries (price, address, shipping method etc) are populated, sc_product and sc_qty are empty. Does anyone know how I'd go about including these? Thanks, Paul
-
All pages other than home return 404 Error. Tried all usual measures.
Pablos replied to Pablos's topic in General Support
Thanks Christophe. All the best, Paul -
All pages other than home return 404 Error. Tried all usual measures.
Pablos replied to Pablos's topic in General Support
Hi pwired, You got it - The address of the site is http://subdomain.hostpapa.com/subfolder/pwtest/ I tried setting the Rewrite base to "/" and "/pwtest/" when it actually needed "/subfolder/pwtest/" Thanks to everyone for the suggestions. Very much appreciated! All the best, Paul -
All pages other than home return 404 Error. Tried all usual measures.
Pablos replied to Pablos's topic in General Support
Hi Christophe, Typical url is subdomain.hostpapa.com/subfolder/pwtest/richard/portfolio/ I'm not using any redirection modules. $config->debug = true, but isn't providing any further info. The details of the two servers are as follows: hostpapa - where we have the problem: Apache Version 2.2.31 PHP Version 5.5.29 MySQL Version 5.5.45-cll Architecture x86_64 Operating System linux unlimited web hosting - working fine PHP 5.6 Apache Version: Apache/2.2.31 (Unix) MySQL Version: mysql Ver 14.14 Distrib 5.5.45 Architecture: Linux Operating System: CentOS All the best, Paul -
All pages other than home return 404 Error. Tried all usual measures.
Pablos replied to Pablos's topic in General Support
Hi cstevensjr, I already tried all the suggestions in that thread, so I'm assuming the problem is something a bit more unusual. Thanks for the input, though. All the best, Paul -
Hi, I've just installed a site in a test sub-directory on hostpapa and I'm getting 404s on all pages except the homepage. The .htaccess file is being read and mod_rewrite is on. I've been through the .htaccess and ultimately commented everything to the point where it generates a 505 error, but up to that point, I still get the 404. It might be worth mentioning that I've got short_open_tag set to off, as I was getting a "Parse Error: syntax error, unexpected 'version' (T_STRING)" error due to the line "<?xml version='1.2' encoding='UTF-8' ?>" at the top of my head.inc file. I developed the site on an Unlimited Web Hosting server and everything ran fine there. I transferred the site by exporting a Site Profile. Thanks for any ideas, Paul
-
I've just tried again using https, having set up ssl on my localhost as outlined here http://webdevstudios.com/2013/05/24/how-to-set-up-ssl-with-osx-mountain-lions-built-in-apache/ I no longer get the security message, but the return page still says 'error when validating your payment.' Edit: Paypal's IPN is returning 'INVALID' Is it possible that the problem comes from using a self-signed certificate?
-
Thanks Soma. I'll do that.
-
I'm just testing the PayPal payment method, and when I click to return to the site from PayPal, Firefox gives me the following security message: 'Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party. Are you sure you want to continue sending this information?' When the return page loads, it says 'error when validating your payment.' The payment was in fact successful. Just wondering if any kind person knows how I might avoid this.
-
OK, I've got it sorted now. I remade the template and repopulated it. No error messages and session variables are working perfectly. Thanks for the replies, Paul
- 8 replies
-
- session variables
- non-object
-
(and 2 more)
Tagged with:
-
Sorry, that should have been line 28, not line 2. Edit: It's actually on my local server, so I haven't moved it since starting the project. Can I simply download Processwire and replace the wire folder?
- 8 replies
-
- session variables
- non-object
-
(and 2 more)
Tagged with:
-
I'm using the 'true'/'false' string to track whether my shopping cart code should be displayed when the page is reloaded. I'm not setting the variable from within a function. In fact, even with the session variable assignment removed, I still get Notice: Trying to get property of non-object in /Users/Pablo/Sites/shoptest/wire/core/PageAccess.php on line 26 Notice: Trying to get property of non-object in /Users/Pablo/Sites/shoptest/wire/core/PageAccess.php on line 2
- 8 replies
-
- session variables
- non-object
-
(and 2 more)
Tagged with:
-
I've tried both these $session->$cartActive='true'; $session->set($cartActive, 'true');
- 8 replies
-
- session variables
- non-object
-
(and 2 more)
Tagged with:
-
My session variables are all taking the value of the last one set. $session->getAll() returns '0'. Seems like they're not being set at all. I've turned on debug in config and I'm getting the following errors: Notice: Trying to get property of non-object in /Users/Pablo/Sites/shoptest/wire/core/PageAccess.php on line 26 Notice: Trying to get property of non-object in /Users/Pablo/Sites/shoptest/wire/core/PageAccess.php on line 28 Notice: Undefined variable: cartActive in /Users/Pablo/Sites/shoptest/site/templates/shophead.inc on line 79 Notice: Undefined variable: itemRemoved in /Users/Pablo/Sites/shoptest/site/templates/shophead.inc on line 131 The last two are the session variables. Thanks for any advice, Paul
- 8 replies
-
- session variables
- non-object
-
(and 2 more)
Tagged with:
-
That did it! Thanks once again for your help Soma.
-
Thanks Soma, that's the ShoppingOrdersManagement module which I will be needing, but my current problem is with the Checkout module. I don't think you've changed that in your version - does that mean it should be working as is? Edit: Oh, just saw your edit.