ipanel.scout - Image path dirict to web.scout instead for ipanel.scout (Bug #3445)


Added by Shlomi Lanton almost 2 years ago. Updated almost 2 years ago.


Status:Closed Start date:
Priority:Low Due Date::
Assignee:Idan Geva % Done:

0%

Category:- Spent time: -
Target version:-

Description

When I get to an image question, the image does not displayed.

When I look at the path of the image I saw that it’s
http://web.scout.co.il/files/survey/media/%D7%9E%D7%A1%D7%9A_%D7%94%D7%95%D7%93%D7%A2%D7%94700-900.jpg

obviously that this is incorrect because this is ipanel.scout and because of it the link should be
http://ipanel.scout.co.il/files/survey/media/%D7%9E%D7%A1%D7%9A_%D7%94%D7%95%D7%93%D7%A2%D7%94700-900.jpg

When I use this path (ipanel.scout) with I can see the image.

you can use this link to see this issue:
http://mobile.ipanel.co.il/index.php?web&db=rafi_test_mobile_demo&lng=1

Eugene I think that this is your issue, but if not please respond and redirect it to Nadav


History

Updated by Idan Geva almost 2 years ago

I fixed it. it was 2 values that referred to web.scout instead of ipanel.scout in
var/www/mobile.ipanel.co.il/htdocs/templates/Questions/10_Video.php, in lines 15 and 28.

NADAV - please insert this modification to your uploading mechanism so it won’t override this value in every update.

you may close this issue upon execution of the new modification script in respective values.

  • Assignee changed from Eugene Nechaev to Nadav Avidan
  • Status changed from Assigned to Feedback

Updated by Eugene Nechaev almost 2 years ago

2012-09-24 10:39:40 cjm98v923ml72pb9u6jkriej14 {"id":"2","result":{"cnt":"10","wellcome":"","thanks":"\u05d4\u05e9\u05d0\u05dc\u05d5\u05df \u05d4\u05e1\u05ea\u05d9\u05d9\u05dd","exit":"\u05dc\u05d0 \u05e1\u05d9\u05d9\u05de\u05ea \u05d0\u05ea \u05d4\u05e1\u05e7\u05e8","lng":"he","cover":"http:\/\/ipanel.scout.co.il\/files\/survey\/templates\/768x1024_n-5.jpg","lastpage":"http:\/\/ipanel.scout.co.il\/files\/survey\/templates\/768x1024_close.jpg","bgcolor":"#22252A","bgqcolor":"#22252A","selcolor":"#6AA028"}}

This is part of my log file. You can see that I returned path from http://ipanel.scout.co.il

Updated by Nadav Avidan almost 2 years ago

That’s resolved no?

  • Assignee changed from Nadav Avidan to Idan Geva
  • Status changed from Feedback to Resolved

Updated by Shlomi Lanton almost 2 years ago

For now it’s fixed, but you need to make sure to not create this issue again when updating ipanel.scout

After reading this you can close this issue

  • Priority changed from High to Low
  • Status changed from Resolved to Feedback

Updated by Nadav Avidan almost 2 years ago

I’ve added the root paths to be dynamic. no need to be worried about overwriting. each server will get its own root path.

Updated by Idan Geva almost 2 years ago

OK.

  • Status changed from Feedback to Closed

Also available in: Atom PDF