Getting this error on each page (once for each piece of content).
Undefined variable: base_path in rel_to_abs_filter_html() (line 26 of /var/www/sites/all/modules/rel_to_abs/rel_to_abs.module
Getting this error on each page (once for each piece of content).
Undefined variable: base_path in rel_to_abs_filter_html() (line 26 of /var/www/sites/all/modules/rel_to_abs/rel_to_abs.module
Comments
Comment #1
Draedalus commentedI have the same error. It started occurring after I edited the text format "filtered html" to filter relative paths to absolute urls.
Comment #2
Draedalus commentedI was just reading the issue queue and came upon (because there are soooo many issues (I think thats a complement)): http://drupal.org/node/1335734
So when I turn on the filter, I get the error, and it breaks my pictures because of that issue ^^ except slightly modified:
<img alt="" src="https://www.mysite.com/somethingdev//somethingdev/sites/default/files/field/image/CampusEvents.jpg" style="width: 292px; height: 196px; ">So I am getting /somethingdev//somethingdev/ which is the name of my subdir twice with // in the middle. So don't these two issues intertwine a little? The solution to the issue mention in the other thread added
$base_pathand this is saying its undefined. I don't know the solution but I would be willing to help if it is needed.Comment #3
podarokhttp://drupal.org/node/1785704
try this build
Comment #4
podarokfix
Comment #5
Draedalus commentedIt works, so...awesome. Thanks for the quick update.
Comment #6
podarokYou are welcome!
thanks for report