Jump to content

Pablos

Members
  • Posts

    34
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Pablos's Achievements

Jr. Member

Jr. Member (3/6)

4

Reputation

1

Community Answers

  1. 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.
  2. 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!
  3. Sorry about that - I've now opened an issue on the current repo. https://github.com/processwire/processwire-issues/issues/625
  4. 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.
  5. 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!
  6. 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
  7. 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!
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
×
×
  • Create New...