| Author |
Message |
ozbutcher Worker


Joined: Jan 17, 2007 Posts: 170
|
Posted:
Tue Jul 17, 2007 11:45 pm |
|
I thought I did something wrong but after restoring my downloads from a previous sql backup I tried it again...
I tried to delete a sub-category but everytime I try it removes all my other download categories too.
|
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Wed Jul 18, 2007 6:21 am |
|
ozbutcher, I will look at this right away! |
|
|
|
 |
ozbutcher Worker


Joined: Jan 17, 2007 Posts: 170
|
Posted:
Wed Jul 18, 2007 6:47 am |
|
thanks montego, whenever you have time  |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Wed Jul 18, 2007 7:01 am |
|
I tried this and it only deleted the sub-category and those below it, which is even what the error message said it would do. Can you give more explanation that might help me reproduce this? Thanks. |
|
|
|
 |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2415 Location: Iowa, USA
|
Posted:
Wed Jul 18, 2007 7:04 am |
|
What version of RN? I think I remember reporting or fixing this bug.... |
|
|
|
 |
ozbutcher Worker


Joined: Jan 17, 2007 Posts: 170
|
Posted:
Wed Jul 18, 2007 8:19 am |
|
Sorry... the problem happens when I try and delele a normal category not sub category... eg, In my downloads section I have:
Battlefield 2
- Maps
- Mods
Game Demos
Game Trailers
etc...
1) I go into the Admin Center
2) Click on Downloads
3) Scroll down to 'Modify Category'
4) Select Category to modify and click modify
5) Select Delete
The above erases all of my categories in my downloads.
Gremmie: I'm using v2.10.00 |
|
|
|
 |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2415 Location: Iowa, USA
|
Posted:
Wed Jul 18, 2007 9:05 am |
|
Yes this is in our issue tracker, #668. I fixed this back in April. I think it is fixed in RN2.10.01 |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Wed Jul 18, 2007 6:56 pm |
|
Thanks Gremmie! I had remembered the removal of the title in the URLs, but forgot about this issue. |
|
|
|
 |
ozbutcher Worker


Joined: Jan 17, 2007 Posts: 170
|
Posted:
Wed Jul 18, 2007 10:57 pm |
|
|
|
 |
ozbutcher Worker


Joined: Jan 17, 2007 Posts: 170
|
Posted:
Thu Jul 19, 2007 1:25 am |
|
I've replaced these files from the 2.10.01 zip:
html\modules\Downloads\admin\index.php
html\modules\Downloads\index.php
...as specified in the "rwsRavenNuke_2.10.01_patch_README".
I still have the same problem and I didn't see any table alterations in the "rndb_upgrade.php" so I didn't run that (I can't run the script because I've modded quite a lot of files). Is there a file I missed? |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Thu Jul 19, 2007 6:46 am |
|
ozbutcher, the change was made in html\modules\Downloads\admin\index.php and I just checked the 2.10.01 zip file locally and it appears to have the fix. Please make sure and upload again and make sure your FTP client really does overwrite the file.... |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Thu Jul 19, 2007 6:47 am |
|
BTW, here is the section of code that has the problem:
2.10.00 and earlier:
| Code: |
echo '[ <a href="'.$admin_file.'.php?op=DownloadsDelCat&cid=$cid&sid=$sid&sub=$sub&ok=1">' . _YES . '</a> | <a href="'.$admin_file.'.php?op=downloads">' . _NO . '</a> ]<br /><br />';
|
2.10.01 code with the fix:
| Code: |
echo '[ <a href="'.$admin_file.'.php?op=DownloadsDelCat&cid='.$cid.'&sid='.$sid.'&sub='.$sub.
'&ok=1">' . _YES . '</a> | <a href="'.$admin_file.'.php?op=downloads">' . _NO . '</a> ]<br /><br />';
|
|
|
|
|
 |
ozbutcher Worker


Joined: Jan 17, 2007 Posts: 170
|
Posted:
Thu Jul 19, 2007 5:18 pm |
|
Cool working now. Thanks Montego!  |
|
|
|
 |
|
|
|
|