View more context

 

null

Example:

  1. ID | FooID | BarID | SomeName
  2. =============================
  3. 1 | 1 | 1 | XXX
  4. -----------------------------
  5. 2 | 1 | 1 | XXX
  6. -----------------------------
  7. 3 | 1 | 1 | XXX
  8. -----------------------------
  9. 4 | 1 | 1 | XXX
  10. -----------------------------

If I search for XXX in the autolookup field, I want to find the "XXX" record and add it four times.

null

The current behaviour is that XXXX is added once, and excluded from future searches. Is there a config setting that can override this?

nightjarnz

You'd have to drop the auto DISTINCT out of queries.

null

sweet, was just wondering if there's anything stopping a duplicate insert, or if the exclude is happening on the lookup query

🤷 (1)
Hels

I have a very strange problem. I have a domain name with several sub-domains all on cloudflare. 5 of the subdomains have .conf files on digital ocean. 2 of them (A and B) point the document root to their own silverstripe projects and work fine. 2 of them (C and D) point their document root to the same silverstripe project, and the fifth (E) points to a non-existent folder (was a silverstripe project before but was deleted). Visiting any of C,D, or E in Safari browser makes them all go to the silverstripe project belonging to B (chrome browser can’t find the DNS). I have also made another new subdomain on cloudflare but not made a .conf file for it and that also goes to the silverstripe project belonging to B. This never used to happen (site C used to work fine), plus previously I couldn’t have a sub-domain on cloudflare working without a .conf file or vice-versa

Anyone got any clues???

Hels

for the benefit of the archive: the issue was in the apache configuration. It automatically uses the .conf file in sites-enabled which is first in the alphabet as a “default” for any subdomain it doesn’t find a seperate .conf file for. Adding a aaa-default.conf file (aaa to be sure it will always be first in the alphabet) which just contains

  1. <VirtualHost _default_:80>
  2. Redirect 404 /
  3. </VirtualHost>

means that any unrecognised subdomains will just see a page saying error 404 page not found

mark.b

Doe’s anyone know what this error means??

null

You're missing a PHP extension. I've never heard of mysqlnd before

null

assuming you have mysqli extension installed?

mark.b

Thanks @null., the error is on a live site not testing environment

manueltomasir

Hey friends...So i'm trying to prevent SS4 from downsampling the crap out of my images, and am having no luck, images keep coming out blurry when I use the image sizing functions such as Image.ScaleMaxWidth() or Image.Fit()