<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="https://www.webmastersite.net/forums/templates/bootstrap/rss.css" ?>
<rss version="2.0"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 xmlns:media="http://search.yahoo.com/mrss/"
 xmlns:atom="http://www.w3.org/2005/Atom"
 xmlns:georss="http://www.georss.org/georss"> 
<channel>
<title>WebmasterSite.net</title>
<link>https://www.webmastersite.net/forums</link>
<description></description>
<language>en-us</language>
<atom:link href="https://www.webmastersite.net/forums/rssfeed.php?thecondition=ownerid%3D2683" rel="self" type="application/rss+xml" />

<item>
<title>Admin sees approved links after upgrade; public does not</title>
<description>I'm having an issue with pending links that seem to be acting odd after the latest upgrade(s) which I did between the submissions and the approvals.</description>
<link>https://www.webmastersite.net/forums/threads/admin-sees-approved-links-after-upgrade-public-does-not-9113.html</link>
<pubDate>Thu, 04 Nov 2010 19:59:18 GMT</pubDate>
<guid>https://www.webmastersite.net/forums/thread/9113/</guid>
<content:encoded><![CDATA[I'm having an issue 
with pending links that seem to be acting odd after the latest upgrade(s) which I did between the submissions and the approvals.

I had about 20 links to approve/decline in queue. After the recent upgrade warning about SQL-injection, I did the upgrade to 5.0.81 (and the prior 5 to 6 minor upgrades as well that I had been delaying). As usual, I skipped the auto-updates of customized templates. These particular updates did not cause the normal manual instructions for templates so I'm assuming (?) they were all PHP related and not template based.

After upgrade, I began approving/declining the links in the queue. All went normal and users received their approval emails.

However, they notified me they could not see their newly approved links. When logged in as "admin" I can see them in the category listing pages (displaylinks) just fine. But when logged out, the newly approved links disappear. However, both logged-in and logged-out users can view the individual link listing. The difference seems to be only on the category listing page.

I went and compared every field in the database between the newly approved links (that do not show) and the older approved links (that do show) and can't find any differences to which a database call could be making a difference. The only difference is ownerid which was showing as "0" for the newly approved links, although that did not seem to be unique. Not sure what zero means, but I changed the newly approved links to "1" (admin) in the WSN Links Admin Edit screen, but they still did not show on the category listing pages.

I'm out of guesses as to what happened or how I can fix it. I'm guessing something odd happened during the updates that caused a conflict from the submission time to the approval time (with the updates in between), so this may be very unique to just me. I haven't had a new suggested link yet since the upgrades so I don't yet know if this is going to continue or if it just relates to those links. There's only about 12 of them - so I could just update something in MySQL if I knew what to update, but as I said, they appear to be identical to the previously approved (and showing) links.

I've looked around for the WSN Links Changelog (which I thought I had bookmarked, but I guess not) to see what PHP/dB calls changed to see if I could narrow down what it is requesting, but can't seem to find it anymore on webmastersite.net.

By the way, I do not have any unusual "if admin" loops in my template, and I triple-checked the HTML output to make sure it wasn't outputting in HTML but not displaying on the web page itself. 

Any ideas as to where to look next would be greatly appreciated. I'm hoping this is specific to my install, but maybe not.

Thank you...

P.S. If anyone knows a quick way to "purge" all the previously unapproved links from the dB I'd appreciate it. I'm up to about 400 and would just like to clear the rows for easier data analysis. No big deal, but when I went to "Bulk Edit Links" I couldn't figure out how to pull just in the "deleted" links (although you can do it easily in "Search Items" but then I can't seem to take actions upon those results. I could of course easily delete them in MySQL, but I'm concerned it may torque other tables that cross-reference them somewhere. Thanks again.]]></content:encoded>
<comments>https://www.webmastersite.net/forums/threads/admin-sees-approved-links-after-upgrade-public-does-not-9113.html</comments>   
</item>

<item>
<title>Javacript Header Error</title>
<description>Probably not a big deal, but I noticed that Firebug was generating an error for most pages for an error on Line 3 of the javascriptheader template fil</description>
<link>https://www.webmastersite.net/forums/threads/javacript-header-error-8654.html</link>
<pubDate>Wed, 14 Jan 2009 08:24:28 GMT</pubDate>
<guid>https://www.webmastersite.net/forums/thread/8654/</guid>
<content:encoded><![CDATA[Probably not a big deal, but I noticed that Firebug was generating an error for most pages for an error on Line 3 of the javascriptheader template file. My best guess was that the &#123;DEFAULTCOUNTRY} conditional on that line should be surrounded with quotes. I chose single quotes and the error disappeared. YMMV I suppose if you have a foreign country with a single quote in its name but it works for good ol' USA.

Just hate those little hidden errors even when they don't really affect day-to-day operation. But maybe it help somebody out there, so I pass it along for posterity.]]></content:encoded>
<comments>https://www.webmastersite.net/forums/threads/javacript-header-error-8654.html</comments>   
</item>

<item>
<title>Errant space before DOCTYPE</title>
<description>It appears that a space is being output prior to the DOCTYPE declaration in the default wrapper.tpl file.</description>
<link>https://www.webmastersite.net/forums/threads/errant-space-before-doctype-8366.html</link>
<pubDate>Thu, 04 Sep 2008 08:06:45 GMT</pubDate>
<guid>https://www.webmastersite.net/forums/thread/8366/</guid>
<content:encoded><![CDATA[It appears that a space is being output prior to the DOCTYPE declaration in the default wrapper.tpl file. I've verified that there is no space in the template editor itself, or in the actual template file on the server by inspecting it via FTP afterward.

I've tried to look through the code to see where the template file is parsed but as of yet, I've not found it. But it is outputting that errant space somehow.

Just in case anyone is wondering why I care, I've changed my DOCTYPE to Strict 1.0 with UTF-8 encoding and the space (I believe!) is causing the character encoding to default back to my server standard of 8859-1.

Thanks for any help you can lend.

Just as an aside, I've always changed my DOCTYPE/encoding on even old versions (3.x) in which no space was ever output.]]></content:encoded>
<comments>https://www.webmastersite.net/forums/threads/errant-space-before-doctype-8366.html</comments>   
</item>

</channel>
</rss>