Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Bug Reports - Other Issues
Author Message
ozbutcher
Worker
Worker



Joined: Jan 17, 2007
Posts: 170

PostPosted: Tue Jul 17, 2007 11:45 pm Reply with quote

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.

www.burnt-clan.com
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Wed Jul 18, 2007 6:21 am Reply with quote

ozbutcher, I will look at this right away!

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
ozbutcher







PostPosted: Wed Jul 18, 2007 6:47 am Reply with quote

thanks montego, whenever you have time Smile
 
montego







PostPosted: Wed Jul 18, 2007 7:01 am Reply with quote

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

PostPosted: Wed Jul 18, 2007 7:04 am Reply with quote

What version of RN? I think I remember reporting or fixing this bug....

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
ozbutcher







PostPosted: Wed Jul 18, 2007 8:19 am Reply with quote

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







PostPosted: Wed Jul 18, 2007 9:05 am Reply with quote

Yes this is in our issue tracker, #668. I fixed this back in April. I think it is fixed in RN2.10.01
 
montego







PostPosted: Wed Jul 18, 2007 6:56 pm Reply with quote

Thanks Gremmie! I had remembered the removal of the title in the URLs, but forgot about this issue.
 
ozbutcher







PostPosted: Wed Jul 18, 2007 10:57 pm Reply with quote

thanks guys
 
ozbutcher







PostPosted: Thu Jul 19, 2007 1:25 am Reply with quote

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







PostPosted: Thu Jul 19, 2007 6:46 am Reply with quote

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







PostPosted: Thu Jul 19, 2007 6:47 am Reply with quote

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&amp;cid=$cid&amp;sid=$sid&amp;sub=$sub&amp;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&amp;cid='.$cid.'&amp;sid='.$sid.'&amp;sub='.$sub.
       '&amp;ok=1">' . _YES . '</a> | <a href="'.$admin_file.'.php?op=downloads">' . _NO . '</a> ]<br /><br />';
 
ozbutcher







PostPosted: Thu Jul 19, 2007 5:18 pm Reply with quote

Cool working now. Thanks Montego! Smile
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Bug Reports - Other Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©