Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Wed Dec 28, 2005 7:32 am Reply with quote

My download module shows a wrong number of downloads.I added a new download but there is no update anymore.
It seems that this problem is since a longer time, therefore I have no backup. The messages for the downloads is always the same e.g. "There are 90 Downloads and 8 Categories in our database". I´ m using Nuke 6.5 downloads module with Ravens Download Hack and Fetch Mod.
I have also tried the original modules index.php. Doesn´t change the number of the downloads.

With phpMyAdmin I found that there are different numbers of rows in the database for the table nuke_downloads_downloads this means I get on the left side "Browse: 90 rows" and if I click on the table I can see the complete 95 rows. The analyze status for the table is up to date. I tried also the repair function but there is still a wrong number in my downloads module. Any ideas how and where to repair this ?

Thanks in advance
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Wed Dec 28, 2005 1:31 pm Reply with quote

Wrong number..?...huh
Did you deleted files?
 
View user's profile Send private message
Susann







PostPosted: Wed Dec 28, 2005 1:46 pm Reply with quote

No, all files are in the database, but the result is wrong because of the different rows. 90 and 95. I never had this problem before.The module shows only the 90 rows from the left site means the downloads.However, there is no other problem with this module or the hacks.
I quess I ´m busy till next year to find out whats wrong with the index.php. Would be great to know why this stopped at 90.
 
hitwalker







PostPosted: Wed Dec 28, 2005 2:07 pm Reply with quote

well i doubt that this has something to do with your files,unless you edited some related files of the downloads mod.
But from what you wrote about how it shows in your tables its more likely something is stuck in there...
you could start inspecting from row 89,90 and up..
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Wed Dec 28, 2005 3:14 pm Reply with quote

I would be tempted to grab the data so I can check it in a text editor then wipe the records from the DB and re-insert the data using INSERT.
 
View user's profile Send private message Send e-mail
Susann







PostPosted: Fri Dec 30, 2005 5:20 am Reply with quote

Thanks, quess I fixed it. Through Hitwalkers question "Did you deleted files?" I checked the sites in the table nuke_downloads_downloads and indeed I missed several lid´ s. I added the downloads for those lids again. I have now 97 rows and the same number of downloads. It seems the problem is similar if users are deleted from the table.

Btw: Is there a way to change the Next Autoindex Value in the table ?
 
hitwalker







PostPosted: Fri Dec 30, 2005 6:21 am Reply with quote

hello susann...nice to hear you found it...as i recall i had the same problem once when i was using the version you have...
at that time i just adjusted the stuff manualy,like you just did...the how and why this happens was never worth a topic then.....Smile
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Fri Dec 30, 2005 10:11 pm Reply with quote

If you optimize a table, I believe it resets the autoindex value. Not sure if you can set it any other way.

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Susann







PostPosted: Fri Dec 30, 2005 11:27 pm Reply with quote

I had the problem that a new download got lid 90 but when I looked in the database it was stored in the table with lid 91.Very confusing.Therefore my question about the autoindex. But I repaired and optimized the table several times and its fixed. Thanks. Smile
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Dec 31, 2005 1:18 am Reply with quote

Susann wrote:
Btw: Is there a way to change the Next Autoindex Value in the table ?


ALTER TABLE [table name] auto_increment=XXX

where xxx is the number
 
View user's profile Send private message
Susann







PostPosted: Sat Dec 31, 2005 6:54 am Reply with quote

Thank you Raven Very Happy
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©