The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
image not displayed
#2
jeel2008 Wrote:Why is that? Why cant I put a relative path?
You can use a relative path, no problem, but ../data/uploads/041.jpg is not the correct relative path. “../” points to a step higher in the hierarchy of the file structure. So if you use that path on http://www.jeelsites.nl/GetSimple_2.01/ it will work like this:
Code:
http://www.jeelsites.nl/GetSimple_2.01/../data/uploads/041.jpg => http://www.jeelsites.nl/data/uploads/041.jpg
The reason it works in the page editor is because you’re at a different location then and the browser will do this:
Code:
http://www.jeelsites.nl/GetSimple_2.01/admin/../data/uploads/041.jpg => http://www.jeelsites.nl/GetSimple_2.01/data/uploads/041.jpg
Hope this explained your problem.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
image not displayed - by jeel2008 - 2010-09-05, 20:33:55
image not displayed - by Zegnåt - 2010-09-05, 20:57:09
image not displayed - by jeel2008 - 2010-09-05, 21:09:10
image not displayed - by Zegnåt - 2010-09-05, 21:22:14
image not displayed - by jeel2008 - 2010-09-05, 21:31:45
image not displayed - by eric@rosewood - 2010-09-08, 00:19:07
image not displayed - by Zegnåt - 2010-09-08, 05:36:04
image not displayed - by Carlos - 2010-09-08, 08:07:55



Users browsing this thread: 2 Guest(s)