Thousands (95,000+!!!) of redirect links
Posted: Fri Jan 27, 2012 10:16 pm
Running Joomla 1.7.3 on Linux.
After watching a video on what's new in Joomla 1.7 yesterday, I decided to use the Redirect component to set a link for a PDF on our site. (Still haven't accomplished that.)
I opened the component and found a bunch of old links, useless links and began deleting them, pages of them. Then I noticed that they were all JEvents links. That's odd because I'm not using JEvents on this site! The 1.5 version did use JEvents. (I used SPUpgrade to convert.) However, I didn't install JEvents on the new 1.7 site. (We switched to a registration component instead.)
I continued deleting, but it was going very slowly. I decided to switch the number of links listed to "all" so I could just get it done. That produced an error message. (Sorry I don't recall the exact message; it was a white page with just a couple lines of text and there was something about too much data or lack of memory/resources.) With the component now set to show "all" redirect links, it could not show the admin redirect component because the volume was more than the system could handle. I could go to other parts of the admin, but redirect component always resulted in an error.
Using PHPAdmin, I was able to delete the links a couple thousand at a time - all 95,000+ of them!
So now I'm able to get back into the Redirect component and have reset it to only show 100 links at a time.
I double-checked (admin console + FTP files) to make sure that JEvents is not installed. It is not. (Full disclosure: I had the old 1.5 site residing in a folder in the root folder. It does have JEvents in it, but Joomla 1.7 shouldn't be accessing that, right? The folder was named "15", but I've renamed it to "15-old" to prevent any confusion with IDs on the 1.7 site. I've since moved it out of the public_html folder.)
Global cache is OFF. Turned the redirect plugin off.
Wanting to find where the problem was, I turned the Redirect plugin on again, viewed the site, checked the component again and found ... over 100 links! All of them are for JEvents.
Here are a few samples:
component/jevents/day.listevents/2011/02/04/index.php?option=com_jevents&task=month.calendar&catids=4&month=07&year=2012&Itemid=0
component/jevents/day.listevents/2011/02/05/index.php?option=com_jevents&task=month.calendar&month=01&year=2013&Itemid=0
component/jevents/day.listevents/2007/06/07/4
http://www.(sitename here)/component/jevents/day.listevents/2013/03/09/index.php?option=com_jevents&task=month.calendar&month=01&year=2011&Itemid=0
(I'd rather not list the domain in case this is a security issue.)
The last one is especially confusing because when I look at folders via FTP, there is no 'jevents' folder under 'components' in the root folder. ('com_jevents' is not in the root/components folder, either.)
There is no "New URL" or "Referring Page" for any of the current links. The status is "Unpublished." However, when I was deleting from the database, I noticed a few statuses of "-2" and saw one new URL that has nothing to do with our site, certainly not anything I put in there. (Security issue, perhaps?)
Cleared the 100+ links. Cleared browser cache. (Global cache for the site if off.) Did a few page views in the front end, and now there are dozens of new redirect URLs again.
Is this a bug, possibly a security bug (since one redirect link was set to another site)?
Any ideas why these links keep appearing in the redirect list ... where they are coming from?
Teresa
After watching a video on what's new in Joomla 1.7 yesterday, I decided to use the Redirect component to set a link for a PDF on our site. (Still haven't accomplished that.)
I opened the component and found a bunch of old links, useless links and began deleting them, pages of them. Then I noticed that they were all JEvents links. That's odd because I'm not using JEvents on this site! The 1.5 version did use JEvents. (I used SPUpgrade to convert.) However, I didn't install JEvents on the new 1.7 site. (We switched to a registration component instead.)
I continued deleting, but it was going very slowly. I decided to switch the number of links listed to "all" so I could just get it done. That produced an error message. (Sorry I don't recall the exact message; it was a white page with just a couple lines of text and there was something about too much data or lack of memory/resources.) With the component now set to show "all" redirect links, it could not show the admin redirect component because the volume was more than the system could handle. I could go to other parts of the admin, but redirect component always resulted in an error.
Using PHPAdmin, I was able to delete the links a couple thousand at a time - all 95,000+ of them!
So now I'm able to get back into the Redirect component and have reset it to only show 100 links at a time.
I double-checked (admin console + FTP files) to make sure that JEvents is not installed. It is not. (Full disclosure: I had the old 1.5 site residing in a folder in the root folder. It does have JEvents in it, but Joomla 1.7 shouldn't be accessing that, right? The folder was named "15", but I've renamed it to "15-old" to prevent any confusion with IDs on the 1.7 site. I've since moved it out of the public_html folder.)
Global cache is OFF. Turned the redirect plugin off.
Wanting to find where the problem was, I turned the Redirect plugin on again, viewed the site, checked the component again and found ... over 100 links! All of them are for JEvents.
Here are a few samples:
component/jevents/day.listevents/2011/02/04/index.php?option=com_jevents&task=month.calendar&catids=4&month=07&year=2012&Itemid=0
component/jevents/day.listevents/2011/02/05/index.php?option=com_jevents&task=month.calendar&month=01&year=2013&Itemid=0
component/jevents/day.listevents/2007/06/07/4
http://www.(sitename here)/component/jevents/day.listevents/2013/03/09/index.php?option=com_jevents&task=month.calendar&month=01&year=2011&Itemid=0
(I'd rather not list the domain in case this is a security issue.)
The last one is especially confusing because when I look at folders via FTP, there is no 'jevents' folder under 'components' in the root folder. ('com_jevents' is not in the root/components folder, either.)
There is no "New URL" or "Referring Page" for any of the current links. The status is "Unpublished." However, when I was deleting from the database, I noticed a few statuses of "-2" and saw one new URL that has nothing to do with our site, certainly not anything I put in there. (Security issue, perhaps?)
Cleared the 100+ links. Cleared browser cache. (Global cache for the site if off.) Did a few page views in the front end, and now there are dozens of new redirect URLs again.
Is this a bug, possibly a security bug (since one redirect link was set to another site)?
Any ideas why these links keep appearing in the redirect list ... where they are coming from?
Teresa