How to solve this error ? - eSyndiCat User Forums
eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > Bug Reports

Bug Reports "Brrr! Bugs!" Yes, we do hate them as well. But nothing is perfect in this world and if you found a bug let us know so that we can make eSyndiCat Directory Software even better.

Reply
 
Thread Tools Display Modes
Old 03-24-2008   #1
iulian00
 
Join Date: May 2007
Posts: 9
iulian00 is on a distinguished road
Default How to solve this error ?

I have installed Esyndicat and now i have a problem and i don't know how to solve it .

This is what i get when i try to access my webdirectory :

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/itareaor/public_html/webdirectory/classes/DirDb.php on line 113
SELECT t4.*, COUNT(DISTINCTROW t3.`id`) num_links FROM `iuli_related` t1 LEFT JOIN `iuli_flat_structure` t2 ON t1.`id_related` = t2.`id_parent` LEFT JOIN `iuli_links` t3 ON t2.`id_category` = t3.`id_category` AND t3.`status` = 'active' LEFT JOIN `iuli_categories` t4 ON t1.`id_related` = t4.`id` WHERE t1.`id_category` = '0' AND t4.`status` = 'active' GROUP BY t1.`id` ORDER BY `order`
The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay

webdirectory.itarea.org is my webdirectory's address.

Last edited by iulian00; 03-24-2008 at 03:12 PM.
iulian00 is offline   Reply With Quote
Old 03-25-2008   #2
Vasily B.
Administrator
 
Vasily B.'s Avatar
 
Join Date: Sep 2005
Posts: 9,249
Vasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished road
Default

Hi,
You should contact your hosting and ask them to add the following line in their mysql configuration file. Usually it is called my.cnf

Quote:
SET SQL_BIG_SELECTS=1
__________________
Subrion CMS - free open source php content management system
Business Directory Script - powerful php business directory software, Yellow Pages Script - the most advanced yellow pages php software
Vasily B. is offline   Reply With Quote
Old 03-25-2008   #3
iulian00
 
Join Date: May 2007
Posts: 9
iulian00 is on a distinguished road
Default

I contacted them and they told me that they can't do that. Is there any other way that i can fix this problem?

Last edited by iulian00; 03-25-2008 at 08:14 AM.
iulian00 is offline   Reply With Quote
Old 03-25-2008   #4
Vasily B.
Administrator
 
Vasily B.'s Avatar
 
Join Date: Sep 2005
Posts: 9,249
Vasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished road
Default

Yes, you can change your hosting then I do not see any reasons why not to increase a number of examined rows in mysql configuration
__________________
Subrion CMS - free open source php content management system
Business Directory Script - powerful php business directory software, Yellow Pages Script - the most advanced yellow pages php software
Vasily B. is offline   Reply With Quote
Reply

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
Forum Jump


All times are GMT. The time now is 10:15 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources