Debugging card generator

You hit this file from the front end
Listing ID is: 1945 - which is there(!), not empty and numerical
Setting security _GET whitelist: ('id','lang','header','size','sticker','extended','password','feature')
No lang is set so defaulting to _en_GB
Size is set to:
Feature is set to:
Eco-sold is set to:

Setting some basic variables

$siteurlhttps://www.sapphireproperties.co.uk
$basepath/var/www/vhosts/sapphireproperties.co.uk/httpdocs
$template_name (as constructed from db set name, plus any other parameters)sapphire
Because we have a lang set, I have reconstructed the siteurl (for the QR mostly) to: https://www.sapphireproperties.co.uk
Query to get class name succeeded - It's: For sale
Query to get property details succeeded

Starting descriptions

Let's have a closer look at the EN description BEFORE processing:

<p>Amazing apartments located just a five minute walk from the centre of Pilar de la Horadada where you can find all of your local amenities such as a selection of supermarkets, local butchers and bakers, many restaurants and bars, the schools and doctors. The nearest beach is a nice bike ride from the properties as it is all flat, it will take you around 12-15 minutes to the Higuerica beach or a short five minute drive. These apartments are built to an very high standard indeed with Porcelanosa finishes throughout and top quality white goods too. The rooms are all very spacious and the design is thought out well. Each property has private outdoor spaces, ground-floors have a garden and balcony to the rear and the first-floor apartments have a balcony and a huge solarium where you can add a further bedroom if you wish or use it as a great entertaining area for the summer holidays. The apartments are great value for money and the builders take very good care in how the properties are finished.</p>

...and AFTER processing:

Amazing apartments located just a five minute walk from the centre of Pilar de la Horadada where you can find all of your local amenities such as a selection of supermarkets, local butchers and bakers, many restaurants and bars, the schools and doctors. The nearest beach is a nice bike ride from the properties as it is all flat, it will take you around 12-15 minutes to the Higuerica beach or a short five minute drive. These apartments are built to an very high standard indeed with Porcelanosa finishes throughout and top quality white goods too. The rooms are all very spacious and the design is thought out well. Each property has private outdoor spaces, ground-floors have a garden and balcony to the rear and the first-floor apartments have a balcony and a huge solarium where you can add a further bedroom if you wish or use it as a great entertaining area for the summer holidays. The apartments are great value for money and the builders take very good care in how the properties are finished.
No ES desc detected
No FR desc detected
No NL desc detected
No RU desc detected
No SV desc detected

Checking for two types of special English print desc (print, or short)..., that would trump the desc above...

No special print_desc was found
No special print_desc_es description was found

Checking prices

We have the current price (163900) - Checking for old prices...

The highest retrieved by the $listing->get_highestPrice() function is:


Checking features

We don't have any features on this site, so skipping that whole section

Checking images

Running query to see if this listing has a pdf_images_order field

...which it does NOT, so we'll just use SQL to get the first six images like normal

  • [External listing so using medium]: https://s3.amazonaws.com/clients.sapphire.listingphotos/medium_1945_7574_frontalfinal.png
  • [External listing so using medium]: https://s3.amazonaws.com/clients.sapphire.listingphotos/medium_1945_7574_05018_10.jpg
  • [External listing so using medium]: https://s3.amazonaws.com/clients.sapphire.listingphotos/medium_1945_7574_05018_13.jpg
  • [External listing so using medium]: https://s3.amazonaws.com/clients.sapphire.listingphotos/medium_1945_7574_playamarv_zonacomun.jpg
  • [External listing so using medium]: https://s3.amazonaws.com/clients.sapphire.listingphotos/medium_1945_7574_lateralcorregido.png
  • [External listing so using medium]: https://s3.amazonaws.com/clients.sapphire.listingphotos/medium_1945_7574_05018_12.jpg

  • NOTE: images.upload.inc.php is set to use Amazon S3 in configuration
  • S3 class successfully included

  • Let's download: medium_1945_7574_frontalfinal.png - Local check says we HAVE that file already
  • Let's download: medium_1945_7574_05018_10.jpg - Local check says we HAVE that file already
  • Let's download: medium_1945_7574_05018_13.jpg - Local check says we HAVE that file already
  • Let's download: medium_1945_7574_playamarv_zonacomun.jpg - Local check says we HAVE that file already
  • Let's download: medium_1945_7574_lateralcorregido.png - Local check says we HAVE that file already
  • Let's download: medium_1945_7574_05018_12.jpg - Local check says we HAVE that file already

Grabbing the template at: templates/tpl.window_card_sapphire.php
Template included OK

Checking cache for filename: /var/www/vhosts/sapphireproperties.co.uk/httpdocs/pdf/pdf_cache/3967.pdf

File does not exist in cache

Checking SESSION for UserID - apparently not set?!


You did not arrive from admin so the final header would be: /pdf/pdf_cache/3967.pdf
Logging message to general log: "Printed window card for Ref: 3967 (ID 1945) and sending the $userID: "
Finished in 0.358 seconds
Exiting due to debug true (ie not returning the pdf!)