PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
ozbutcher
Worker
Worker


Joined: Jan 17, 2007
Posts: 170

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

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.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
montego
Site Admin


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

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

ozbutcher, I will look at this right away!
View user's profile Send private message Visit poster's website
ozbutcher
Worker
Worker


Joined: Jan 17, 2007
Posts: 170

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

thanks montego, whenever you have time Smile
View user's profile Send private message
montego
Site Admin


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

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

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.
View user's profile Send private message Visit poster's website
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2401
Location: Iowa, USA

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

What version of RN? I think I remember reporting or fixing this bug....
View user's profile Send private message
ozbutcher
Worker
Worker


Joined: Jan 17, 2007
Posts: 170

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

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
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2401
Location: Iowa, USA

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

Yes this is in our issue tracker, #668. I fixed this back in April. I think it is fixed in RN2.10.01
View user's profile Send private message
montego
Site Admin


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

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

Thanks Gremmie! I had remembered the removal of the title in the URLs, but forgot about this issue.
View user's profile Send private message Visit poster's website
ozbutcher
Worker
Worker


Joined: Jan 17, 2007
Posts: 170

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

thanks guys
View user's profile Send private message
ozbutcher
Worker
Worker


Joined: Jan 17, 2007
Posts: 170

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

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?
View user's profile Send private message
montego
Site Admin


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

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

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....
View user's profile Send private message Visit poster's website
montego
Site Admin


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

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

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 />';
View user's profile Send private message Visit poster's website
ozbutcher
Worker
Worker


Joined: Jan 17, 2007
Posts: 170

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

Cool working now. Thanks Montego! Smile
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum