Reply To: Not picking picure

#15530
birdlg
Participant

I found the root cause.

From the Apache log, I can see that QFIP tries to fetch the image file and put it to the media library. However, the HTTP request URL is incorrect:

[26/Sep/2018:14:16:07 +0000] “GET /bird/bird/mt-image/img01532.jpg HTTP/1.1” 404 47868 “-” “WordPress/4.9.8; https://www.birdandgua.net/bird”

My site is under a subdirectory of the host name. The host name is http://www.birdandhgua.net, and my WP site is at http://www.birdandgua.net/bird. So the embedded image URL starts with /bird which is a correct relative URL form. However, QFIP treats the hostname as “www.birdandgua.net/bird” instead of “www.birdandgua.net”, so it puts “www.birdandgua.net/bird” in front of the image URL, and the “/bird” is doubled, hence it cannot fetch the image correctly.

I guess this is a bug in QFIP that it doesn’t consider the hostname may contain a subdirectory?

Choose your currency:

Close
Converted prices are for reference only - all orders are charged in € Euros (€) EUR.
  • USDUS Dollars ($)
  • EUREuros (€)
  • GBPPounds Sterling (£)
  • CADCanadian Dollars ($)
  • AUDAustralian Dollars ($)
  • BRLBrazilian Real (R$)
  • INRIndian Rupee (₹)
  • CZKCzech Koruna
  • DKKDanish Krone
  • HKDHong Kong Dollar ($)
  • HUFHungarian Forint
  • ILSIsraeli Shekel (₪)
  • JPYJapanese Yen (¥)
  • MYRMalaysian Ringgits
  • MXNMexican Peso ($)
  • NZDNew Zealand Dollar ($)
  • NOKNorwegian Krone
  • PHPPhilippine Pesos
  • PLNPolish Zloty
  • SGDSingapore Dollar ($)
  • SEKSwedish Krona
  • CHFSwiss Franc
  • TWDTaiwan New Dollars
  • THBThai Baht (฿)
  • TRYTurkish Lira (₺)
  • RUBRussian Rubles