Go Back   NiceCoder Community Forums > Nicecoder Products > IndexU > v3.2
Register Projects FAQ Members List Mark Forums Read

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-12-2006, 04:18 PM
Active Member
 
Join Date: Feb 2004
Posts: 439
aladdin1 is on a distinguished road
Default Adding new link with a lots of categories

Hello,

I just build a new directory with a little over 7000 categories. I am now unable to add new links, it seems that the add.php script time out.
I think it is due to the fact that the script is trying to build an add page with 2 7000 drop down fieldds. How can I keep the script from trying to build this 2 dropdown fields?
As anyone build a directory with a lots of categories, did you have to do something special? What?
  #2 (permalink)  
Old 03-12-2006, 05:26 PM
dody's Avatar
Nicecoder Team
 
Join Date: Aug 2001
Location: Indonesia
Posts: 3,292
dody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to all
Default

You have too many categories. The category dropdown list could make indexu produce timeout because it's too long and the file size is too big.
  #3 (permalink)  
Old 03-12-2006, 06:24 PM
esm's Avatar
esm esm is offline
Active Member
 
Join Date: Apr 2003
Location: Atlanta GA
Posts: 3,411
esm is on a distinguished road
Default

Code:
Content visible to License Owner only.
not that your solution depends on it but what version of INDEXU are you using?

A couple of things. First, If you don't use related categories, just comment them out in the add.php page and remove them from the HTML page.

Second, I won't even pretend to understand the INDEXU code that builds the categories (but then I just looked at it without trying to follow it ). But it sure looked complicated to me. It has to make two SQL queries and that can be time-consuming with over 7,000 cats. Then there is some ADODB code that further compounds the problem.

I did develop a dropdown category function for my LinksCoder program that handled over 5,000 categories (but I think INDEXU handled that too). Maybe that would work for you.



.
__________________
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

.
  #4 (permalink)  
Old 03-12-2006, 06:26 PM
Active Member
 
Join Date: Feb 2004
Posts: 439
aladdin1 is on a distinguished road
Default

Code:
Content visible to License Owner only.
Thank you for confirming my diagnostic. How do I keep Indexu from building dropdown list. I did remove it from the template but it did not do the trick. I will forgo the ability to input the same link in several categories.
  #5 (permalink)  
Old 03-12-2006, 06:43 PM
esm's Avatar
esm esm is offline
Active Member
 
Join Date: Apr 2003
Location: Atlanta GA
Posts: 3,411
esm is on a distinguished road
Default

Code:
Content visible to License Owner only.
remove or comment out the following lines in add.php

Code:
Content visible to License Owner only.
__________________
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

.
  #6 (permalink)  
Old 03-12-2006, 07:52 PM
Active Member
 
Join Date: Feb 2004
Posts: 439
aladdin1 is on a distinguished road
Default

Code:
Content visible to License Owner only.

I did do that but it does not seem to help. You can see it at:
http://Healthandhealers.com
I thought that something some where was still building the dropdown list. Am I wrong?

Last edited by aladdin1; 03-12-2006 at 08:35 PM.
  #7 (permalink)  
Old 03-12-2006, 08:25 PM
esm's Avatar
esm esm is offline
Active Member
 
Join Date: Apr 2003
Location: Atlanta GA
Posts: 3,411
esm is on a distinguished road
Default

Code:
Content visible to License Owner only.
should be http://Healthandhealers.com

kind of hard to say for sure without actually looking at the code.



.
__________________
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

.
  #8 (permalink)  
Old 03-12-2006, 08:39 PM
Active Member
 
Join Date: Feb 2004
Posts: 439
aladdin1 is on a distinguished road
Default

Code:
Content visible to License Owner only.
Yes you are right, it is:
http://www.healthandhealers.com

Do you wnat to look at the code. I did spend a lots of time getting the data, I will hate not to be able to post it.

Thierry

PS. I may have a server problem, I am not able to reach any of my sites.
  #9 (permalink)  
Old 03-12-2006, 09:16 PM
Active Member
 
Join Date: Feb 2004
Posts: 439
aladdin1 is on a distinguished road
Default Amusing!!

I load add.php from Indexu 3.04. and it is working, kind of strange isn't it?
  #10 (permalink)  
Old 03-12-2006, 10:32 PM
dody's Avatar
Nicecoder Team
 
Join Date: Aug 2001
Location: Indonesia
Posts: 3,292
dody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to all
Default

Indexu 5.0.2 no longer use ADODB and we implement our own database library which is faster and smaller. I'm sure indexu still can hold 7000 categories. I'll make a test today with large number of categories.
  #11 (permalink)  
Old 03-12-2006, 10:47 PM
Active Member
 
Join Date: Feb 2004
Posts: 439
aladdin1 is on a distinguished road
Default

Code:
Content visible to License Owner only.
Hello,

Thank you for your reply. I was not trying to blame you or the application, 7000 categories might be un-reasonable (or un-desirable). It works well with add.php from Indexu 3.04 so I will use it for that purpose.
I would love to use Indexu 5.0.2 for my new site but I am not sure that I want to buy an other lisence. Would you give me a discount?
BTW I got 7000 categories and also over 80.000 links.
  #12 (permalink)  
Old 03-18-2006, 07:33 PM
Active Member
 
Join Date: Feb 2004
Posts: 439
aladdin1 is on a distinguished road
Default Search problem

Hello,

I have a strange problem (http://4uri.com) if I search in index.php or any page with "Search the entire directory" option the script does not execute properly ( no footer) if I search for "car" in the automobile category with the option "just this category" the script execute properly.
What could be my problem. How would I give the script more time to execute (I think it just time out after 4 or 5 second)
  #13 (permalink)  
Old 03-19-2006, 07:41 PM
dody's Avatar
Nicecoder Team
 
Join Date: Aug 2001
Location: Indonesia
Posts: 3,292
dody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to all
Default

Try my website http://www.dodygames.com. It has 59491 links and 10474 categories.

Searching and browse through categories is fast.

But when i try to 'update number of links' in admin panel, it's quite long and i decide to turn if off.
  #14 (permalink)  
Old 04-05-2006, 09:21 AM
Active Member
 
Join Date: Aug 2002
Location: Germany
Posts: 1,186
Frank71 is on a distinguished road
Default Nop

http://www.dodygames.com/ - loading time of index is horrible...
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding categories and links for the first time sanjeev v5.x 22 01-17-2005 08:26 AM
Adding a link to many categories - MOD esm v3.2 5 08-13-2004 04:12 PM
Getting lots of header errors shalida v5.x 3 06-24-2003 08:30 PM
Adding a link to multiple categories craven v3.2 10 03-12-2003 10:27 AM
Adding link to more than one category craven v5.x 2 03-05-2002 10:51 PM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 01:02 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate