error connection cron install - eSyndiCat User Forums
eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > Common Questions

Common Questions Latest releases, patches, bugfixes and changes in eSyndiCat Directory Software free version. Feel really frustrated after having spent several hours trying to figure out what went wrong with your directory? Wait no more! Click the link above and post your issues. Right here. Right now.

Reply
 
Thread Tools Display Modes
Old 05-27-2007   #1
mihaivoiculescu
 
Join Date: May 2007
Posts: 3
mihaivoiculescu is on a distinguished road
Default error connection cron install

hi!
i'm new here! how are you ?

well... i have an issue...

i try to set up page rank for my sites from my directory but it gives me the following error

Could not connect: Access denied for user 'nobody'@'localhost' (using password: NO)Could not connect: Access denied for user 'nobody'@'localhost' (using password: NO)

i am using pro version 2.1.03.

thank you.

Last edited by mihaivoiculescu; 05-27-2007 at 10:28 AM.
mihaivoiculescu is offline   Reply With Quote
Old 05-28-2007   #2
Sergey Ten
eSyndiCat Lead Developer
 
Sergey Ten's Avatar
 
Join Date: Apr 2006
Location: Kyrgyzstan, Bishkek
Posts: 6,596
Sergey Ten is a jewel in the roughSergey Ten is a jewel in the roughSergey Ten is a jewel in the roughSergey Ten is a jewel in the rough
Default

Hello mihai,

Can you send me your FTP and CPanel details and I will try to set up a cron job for you. You could send the details via PM, and don't forget to include a description of a problem.
Sergey Ten is offline   Reply With Quote
Old 07-26-2007   #3
electriduct
 
Join Date: Jul 2007
Posts: 4
electriduct is on a distinguished road
Question Error Could not connect with version free 1.6

Hi, I tried to set up the cron like described at this page :
http://www.esyndicat.com/support/des...&kbarticleid=3

But I get an error telling me :

HTML Code:
[ 26 Jul 2007 11:52:41 ]	WARNING	 mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'nobody'@'localhost' (using password: NO)  in site-directory/includes/classes/DirDb.php:41
I know it comes from :
HTML Code:
require_once(dirname(__FILE__).'/../includes/config.inc.php');
require_once(dirname(__FILE__).'/../includes/classes/DirDb.php');

$gDb =& new Database();
$gDb->mDbhost = $gDirConfig['dbhost'];
$gDb->mDbuser = $gDirConfig['dbuser'];
$gDb->mDbpwd = $gDirConfig['dbpwd'];
$gDb->mDbname = $gDirConfig['dbname'];
$gDb->mPrefix = $gDirConfig['prefix'];
Because gDirConfig refers to nothing.
Anyone fixed that?

Thanks
electriduct is offline   Reply With Quote
Old 07-27-2007   #4
Sergey Ten
eSyndiCat Lead Developer
 
Sergey Ten's Avatar
 
Join Date: Apr 2006
Location: Kyrgyzstan, Bishkek
Posts: 6,596
Sergey Ten is a jewel in the roughSergey Ten is a jewel in the roughSergey Ten is a jewel in the roughSergey Ten is a jewel in the rough
Default

Hello electriduct,

It is wrong code. I think it is cron file for free 1.5. There is cron.php file in the includes folder.
Sergey Ten is offline   Reply With Quote
Old 07-27-2007   #5
electriduct
 
Join Date: Jul 2007
Posts: 4
electriduct is on a distinguished road
Arrow How to set up Cron for Omega 1.6?

Hi Sergey Ten,

Ok I see. That's right for the cron.php file in includes folder.
So my question is : How to I set up Cron to work for the pageranking ?

In the configuration panel for Cron , i set :
HTML Code:
Cron for checking reciprocal listings	enabled 
Gets listing status (checking for broken listings)	enabled 
Cron for listings pagerank update	enabled 
Number of links to check in one run 10
Check interval (in days) 1
I guess that everything I can do .... Do I need to upload the checksum.cgi file, supplied in the package for cron (1.5 apparently) in my server ?

Or do I need to run the cron.php file on my server?

Finally the code in cron.php starts by :
HTML Code:
$_path = realpath(dirname(__FILE__).'/classes');

/** require necessary files **/
require_once('config.inc.php');
require_once($_path.'/DirDb.php');

$gDb = new Database();
$gDb->mConfig['dbhost'] = DBHOST;
$gDb->mConfig['dbname'] = DBNAME;
$gDb->mConfig['dbport'] = DBPORT;
$gDb->mConfig['dbuser'] = DBUSER;
$gDb->mConfig['dbpass'] = DBPASS;
$gDb->connect();
The same problem about the DBHOST, DBNAME .... from where does the file get these parameters?

Thanks for support. I appreciate it.
electriduct is offline   Reply With Quote
Old 11-16-2007   #6
Worzel
 
Join Date: Oct 2007
Posts: 5
Worzel is on a distinguished road
Default

Quote:
Originally Posted by electriduct View Post
Hi Sergey Ten,

Ok I see. That's right for the cron.php file in includes folder.
So my question is : How to I set up Cron to work for the pageranking ?

In the configuration panel for Cron , i set :
HTML Code:
Cron for checking reciprocal listings	enabled 
Gets listing status (checking for broken listings)	enabled 
Cron for listings pagerank update	enabled 
Number of links to check in one run 10
Check interval (in days) 1
I guess that everything I can do .... Do I need to upload the checksum.cgi file, supplied in the package for cron (1.5 apparently) in my server ?

Or do I need to run the cron.php file on my server?

Finally the code in cron.php starts by :
HTML Code:
$_path = realpath(dirname(__FILE__).'/classes');

/** require necessary files **/
require_once('config.inc.php');
require_once($_path.'/DirDb.php');

$gDb = new Database();
$gDb->mConfig['dbhost'] = DBHOST;
$gDb->mConfig['dbname'] = DBNAME;
$gDb->mConfig['dbport'] = DBPORT;
$gDb->mConfig['dbuser'] = DBUSER;
$gDb->mConfig['dbpass'] = DBPASS;
$gDb->connect();
The same problem about the DBHOST, DBNAME .... from where does the file get these parameters?

Thanks for support. I appreciate it.
The DBHOST, DBNAME etc information is acquired from your config.inc.php file in the same directory as your cron.php
It is called from the config.inc.php by the line require_once('config.inc.php'); under the /** require necessary files **/

I hope this info enlightens you.
Worzel is offline   Reply With Quote
Old 05-22-2011   #7
edm718
 
Join Date: May 2011
Posts: 1
edm718 is on a distinguished road
Default Paid version 2.3

how often should the cron job run?

whatever duration i set it at... my website users who have a paid directory listing get a blank email that says "esyndicate mail notifier <>" every time cron runs. ? how do i stop this?
edm718 is offline   Reply With Quote
Old 05-22-2011   #8
Greg
Super Moderator
 
Greg's Avatar
 
Join Date: Oct 2005
Location: Phoenix,Arizona (Valley of the Sun)
Posts: 5,355
Greg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the rough
Default

Hi edm718 - Welcome to the support forums.

What version of the script are you using?
__________________
Please don't ask me about script questions or sales issues through "Private Messages". Thanks!
Greg 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:05 AM.


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