Error message

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Jan 21, 2013 3:54 pm
Reply with quote
Report this post
Hello

I have this error message on my articles.

Notice: Undefined variable: current_url in /var/www/web41/web/templates/gk_publisher/html/com_content/article/default.php on line 25

Any one help.

Jesper
User avatar
Fresh Boarder

GK User
Mon Jan 21, 2013 4:16 pm
Reply with quote
Report this post
rosenlyparken wrote:Hello

I have this error message on my articles.

Notice: Undefined variable: current_url in /var/www/web41/web/templates/gk_publisher/html/com_content/article/default.php on line 25

Any one help.

Jesper

Hi,

I had this same problem few ago, it was reported to gavick so I guess they're fixing it for the future releases.

I believe the problem comes from the variable $current_url used in this line :

Code: Select all
$cur_url = preg_replace('@%[0-9A-Fa-f]{1,2}@mi', '', htmlspecialchars($current_url, ENT_QUOTES, 'UTF-8'));


Try editing default.php on line 25 change $current_url by $cur_url and try again.

Something tells me after fixing that part of the problem you're gonna have another one, related to the Facebook like button in your articles, let's just don't anticipate and do the fix, if no other problem pops up that's fine :)
User avatar
Senior Boarder


cron