View Full Version : mysql_fetch_assoc():
hassan
12-11-2005, 03:25 PM
Hello,
I have installed the script and every thing was OK.
But when I try to display the directory index I have this message :
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in annuaire/annuaire_maroc/annuaire-maroc/classes/DirDb.php on line 97
Please Simon can you tell me what is the problem.
Many thanks
This may help:
http://www.esyndicat.com/forum/viewtopic.php?t=132
This bug was fixed in 1.4
What version are you using?
Greg
hassan
12-11-2005, 10:32 PM
Hello RadioGuy,
Thanks for your reply. the thread did not help.
I have version 1.4.
Is there any solution.
Regards
Simon Gooffin
12-12-2005, 03:53 AM
hi,
it seems very strange. I think I can advise you to save your configuration in admin panel. Go to every configuration category, set every configuration param and save. Also please check your mysql version. It should be 4.0 or above
hassan
12-13-2005, 02:12 PM
Thank you Simon,
My host offers also mysql4, the script run now :D
I tried to create categories, they are displayed but when I clic on a category I have 404 error.
Can you tell me what error I made :lol:
Thanks a lot.
that's a problem on some servers in the standard .htaccess file in your directory root folder. Some servers need the RewriteBase specified:
In the .htaccess file in your directory root change:
RewriteEngine on
to
RewriteEngine on
RewriteBase /
greetings,
gb
hassan
12-13-2005, 02:22 PM
You are right thanks.
what can I change else because page is displayed without css.
Thanks it is OK now. I give the directory where the script is installed.
Many thanks to you.
I don't know your site. Could you post a link?
If you run your directory not in root, let's say in /dir/ directory, than you need to change the RewriteBase to that directory:
RewriteBase /dir/
hassan
12-13-2005, 02:37 PM
http://annuaire.immobilier-o-maroc.com/annuaire_maroc/annuaire-maroc/
It is working now, I am trying to add categories and change design.
I have a question perhaps I must put it in wishlist category :
I have several web site with now thousand of back links. I never check that links still in place (thinking that everybody is honest :wink: )
My question is : can I use the cron link checking of Esyndicat and use it with a database so I can put all my exchanged links in it and check if backlinks still in place.
Is possible ?
Regards
hassan
I noticed that you categories are showing 3 across, then one across, then 3 across.
If you go to admin panel:
Click - Configuration
Then - Page Navigation and Listings
Choose - Number of columns in categories display
Set to 3
and Save Changes
Greg
hassan
12-13-2005, 04:16 PM
Thanks Greg.
Simon Gooffin
12-14-2005, 10:34 AM
I have several web site with now thousand of back links. I never check that links still in place (thinking that everybody is honest :wink: )
My question is : can I use the cron link checking of Esyndicat and use it with a database so I can put all my exchanged links in it and check if backlinks still in place. Is possible ?
Cron checks for backlinks from sites you link to also. For say someone submitted a link to your site and pointed to the page where reciprocal link to your site exists. So cron have this record and checks if backlink still exists on a site you link to.
hassan
12-14-2005, 03:05 PM
Hello,
Say I have 4 web sites www.a.com, www.b.com, www.c.com, www.d.com
I want to check all back links to ALL my websites from only on panel : say Esyndicat administration panel.
- Is possible to make it.
- Is it possible to take code snipets of Esyndicat or to make some modifications to do that.
Perhaps I have to put it in the WishList Forum :)
Regards
Simon Gooffin
12-14-2005, 06:03 PM
no, unfortunately it's impossible. you can not do that. our script is not a spider. It uses just URLs that are already in database. I'm sure there will not be any modification that would allow to esyndicat for your purposes :(
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.