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

Draedalus’s picture

I have the same error. It started occurring after I edited the text format "filtered html" to filter relative paths to absolute urls.

Draedalus’s picture

I 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_path and this is saying its undefined. I don't know the solution but I would be willing to help if it is needed.

podarok’s picture

Status: Active » Needs review
podarok’s picture

Version: 7.x-1.1 » 7.x-1.2
Assigned: Unassigned » podarok
Status: Needs review » Fixed

fix

Draedalus’s picture

Status: Closed (fixed) » Fixed

It works, so...awesome. Thanks for the quick update.

podarok’s picture

Status: Fixed » Closed (fixed)

You are welcome!

thanks for report

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.