PDA

View Full Version : check.php cron error


Daniel Zurita
03-14-2007, 08:09 PM
Hello,

I am using Version 2.1.02, using GREENLEAVES my website is here (http://www.hecho-en-mexico.com.mx).

This is the error report:

Parse error: parse error, unexpected '(', expecting '}' in /usr/www/users/dzurita/hecho-en-mexico/cron/check.php on line 287

This is the line code:

$body = "{$count($links)} links checked \n=========================\n";

Could you please help me to find out how to correct this error?

Thanks.
Regards
Daniel.

Sergey Ten
03-15-2007, 08:28 AM
Hello Daniel,

Please read that post:
http://www.esyndicat.com/forum/about9468.html

Daniel Zurita
03-15-2007, 05:05 PM
Hello Sergey,

I applied the fix you've mentioned, copied and pasted code in both files.

Now a new error came:

Parse error: parse error, unexpected '.' in /usr/www/users/dzurita/hecho-en-mexico/cron/check.php on line 287

It is the same line, but different error.

Sorry to bother you about this, but we need to run the cron ASAP.

Thanks for your support.
Regards
Daniel.

Sergey Ten
03-16-2007, 05:27 AM
Hello Daniel,

I am sorry :ooi:

[ Find code ]


$body = .count($links)." links checked \n=========================\n";


[ Replace with ]


$body = count($links)." links checked \n=========================\n";


[ Save change ]

Daniel Zurita
03-16-2007, 07:24 PM
Hello Sergey,

I also corrected line 408 with the same instruction.

It seems to work perfect.

Thanks for your support.

Regards
Daniel.

Sergey Ten
03-17-2007, 05:46 AM
Hello Daniel,

I am glad for you :) If you have any other question please let me know.

Daniel Zurita
03-17-2007, 06:07 PM
Hello Sergey,

After some crons ran yesterday, I have found that:

1. It only checks links that were manually suscribed to the directory. All imported links to the database are not being checked. I imported them directly to the database using Navicat

As today I have up to 1400 links on my database, but cron reports these:

10 links checked
=========================
0 broken links
0 non-reciprocal links
0 links PageRank not updated

where these 10 links are the ones that I suscribed manually for testing purposes.

2. Imported links are there. In ADMIN I can see all categories with total links on them. But at FRONT END all categories individual totals show ZERO links as well as page rank has not been checked for all those imported links.

3. Total categories shown at FRONT END are less than total categories in ADMIN. I am not using crossed categories.


Finally, I have REBUILT both links and categories, but the problem is still there.

Hopefully you can help me through these. Or if you know a thread to fix this, let me know.

Thanks again.
Regards
Daniel

John Turner
03-19-2007, 07:21 AM
Hi Daniel,

Could you please explain how Navicat works?
Also you can provide me with FTP and AdminPanel credentials in PM.
I'll try to help you.

Daniel Zurita
03-19-2007, 08:39 PM
Hello John,

I am sorry. Everything looks to be working correctly. I guees I only have to wait.

PageRank is being updated, checking 10 at a time as I have this set up at Cronjob Configuration. I will test higher values and find an optimum value here.

Anyway, what values do you recommend for CronJob best performance? short cycles? # of links for each cronjob?

I am not sure why FRONT END categories totals are taking longer to update, but at the end they are being updated. I will wait more and see.

But so far, cronjob is doing what it is supposed to do. I am happy to see everything being updated.

I still have a 2checkout thread as well as a captcha thread there from last week with no response. They are not urgent, but please check them sometime this week if possible.

Thanks :good:
Regards
Daniel.

paypal2go
04-07-2007, 07:20 AM
Please help.

Anybody!

paypal2go
04-07-2007, 04:11 PM
Anybody can help?

John Turner
04-11-2007, 10:11 AM
Hi paypal2go,

Please describe your troubles.

webby2000
04-11-2007, 05:52 PM
Hi ,

I've follow this cronjob for 2.1.03 (http://www.esyndicat.com/support/desk/knowledgebase/view/7.html) but I receive this message from cronjob:

PHP Notice: Undefined index: REQUEST_URI in /var/www/vhosts/siti-online.eu/httpdocs/includes/config.inc.php on line 23 PHP Notice: Undefined index: DOCUMENT_ROOT in /var/www/vhosts/siti-online.eu/httpdocs/includes/config.inc.php on line 67 PHP Warning: main(/includes/compat.inc.php): failed to open stream: No such file or directory in /var/www/vhosts/siti-online.eu/httpdocs/includes/config.inc.php on line 108 PHP Warning: main(): Failed opening '/includes/compat.inc.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/vhosts/siti-online.eu/httpdocs/includes/config.inc.php on line 108


the pageranks seems update.
But what about this message ?

thanks

Sergey Ten
04-12-2007, 04:24 AM
Hello webby2000 and welcome to our support forum,

Please read this post I think it will be help you:
http://www.esyndicat.com/forum/about9857.html

webby2000
04-12-2007, 11:21 AM
Thanks for reply Sergei,

I've follow your suggest and now I receive this message:
PHP Notice: Undefined index: REQUEST_URI in /var/www/vhosts/siti-online.eu/httpdocs/includes/config.inc.php on line 23

webby2000
04-14-2007, 10:26 PM
Thanks for reply Sergei,

I've follow your suggest and now I receive this message:
PHP Notice: Undefined index: REQUEST_URI in /var/www/vhosts/siti-online.eu/httpdocs/includes/config.inc.php on line 23

Any help ?
Is this warning important ?

thanks

Sergey Ten
04-15-2007, 06:29 AM
Hello webby2000,

Please send me your FTP details via PM and I will try to fix it.