Creating external link gives null error
Permalink 1 user found helpful
After creating link to external site content and HTML editors goes crazy. When I clicked Update I getting error window where there are only title bar with unhelpful text Error, <hr> and Close button. I thought that is fault of Layout that I using, but outside it the issue still exists.
HTML code for that link is:
By the way, I recommend to visit that site and join beta program. Back to topic - I checked all possibilities - even removed everything except <a href ...> </a> tags, so it's definitely problem of external link. Internal (page) links work just fine, but problem is when I try to add external one.
Any help please?
Concrete5 version is 5.4.0.5
HTML code for that link is:
<p><span style="font-size: x-large;"><a href="http://www.stencyl.com/" target="_blank" title="">Stencyl.com</a></span></p>
By the way, I recommend to visit that site and join beta program. Back to topic - I checked all possibilities - even removed everything except <a href ...> </a> tags, so it's definitely problem of external link. Internal (page) links work just fine, but problem is when I try to add external one.
Any help please?
Concrete5 version is 5.4.0.5
Just tried with another text as addition to link and still the same. Please help me.
Hello?...
I know that you're busy, but this is important. See, my boss want this "by yesterday" and if I fail, I will have to find another job and you know what is the situation on job market during crisis.
I know that you're busy, but this is important. See, my boss want this "by yesterday" and if I fail, I will have to find another job and you know what is the situation on job market during crisis.
Well, can someone help me?
External links do not work?
Could be solved this way.
1. /concrete/models/page.php copy to /models/page.php
2. Replace this code to getCollectionPathFromID() in /models/page.php
3. Do cache clear;
Attention! This is a quick fix.
Could be solved this way.
1. /concrete/models/page.php copy to /models/page.php
2. Replace this code to getCollectionPathFromID() in /models/page.php
public static function getCollectionPathFromID($cID) { $path = Cache::get('page_path', $cID); if ($path != false) { return $path; } $db = Loader::db(); $path = $db->GetOne("select cPath from PagePaths inner join CollectionVersions on (PagePaths.cID = CollectionVersions.cID and CollectionVersions.cvIsApproved = 1) where PagePaths.cID = ?", array($cID)); if(!empty($path)){ $path .= '/'; }else{ $path = $db->GetOne("select cPointerExternalLink from Pages where cID = ?", array($cID)); if(empty($path)){ return false; } }
Viewing 15 lines of 18 lines. View entire code block.
3. Do cache clear;
Attention! This is a quick fix.
Nope, did as you said but null error is still here.
I error as in screenshot:
http://img72.imageshack.us/img72/5146/dupobeton.png...
I error as in screenshot:
http://img72.imageshack.us/img72/5146/dupobeton.png...