cupid.php script error

Hi,

 

I get the following errors when trying to run cupid.php script.

 

/cupid.php: line 1: ?: No such file or directory
./cupid.php: line 3: /aquota.group: Permission denied
./cupid.php: line 4: cmd.php: command not found
./cupid.php: line 5: cmd.php: command not found
./cupid.php: line 6: cmd.php: command not found
./cupid.php: line 7: syntax error near unexpected token `('
./cupid.php: line 7: `*     copyright            : (C) 2006 BoonEx Group'

 

The same errors occur for cmd.php and notifies.php

 

I am running PHP5, unix apache plesk cp

php.ini seems to be correct safe_mode off, register_globals off, allow_url_fopen on, I am not sure about exec but if run the script below:- 

 

<?php

echo "<br/><b>PHP INI settings</b><br/>";

echo "<br>safe mode = ".ini_get('safe_mode');

echo "<br>disabled functions = ".ini_get('disable_functions');

echo "<br>register globals = ".ini_get('register_globals');

echo "<br>exec() = ".ini_get('exec()');

echo "<br>max execution time = ".ini_get('max_execution_time');

echo "<br>post_max_size = ".ini_get('post_max_size');

echo "<br>upload max filesize = ".ini_get('upload_max_filesize');

echo "<br/><br/><b>ffmpeg output</b><pre>";

$s = realpath("ray/modules/global/app/ffmpeg.exe");

echo `$s -version 2>&1`;

?>

 

It returns the following values:-

 

PHP INI settings

safe mode = 0
disabled functions = 
register globals = 
exec() = 
max execution time = 30
post_max_size = 8M
upload max filesize = 2M

ffmpeg output

 

FFmpeg version SVN-r10832, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static
  libavutil version: 49.5.0
  libavcodec version: 51.46.1
  libavformat version: 51.16.1
  built on Oct 22 2007 21:09:01, gcc: 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
FFmpeg SVN-r10832
libavutil   3212544
libavcodec  3354113
libavformat 3346433
any ideas

Quote · 20 Mar 2009

Icom,

it appears you have permission probles on your cron directory.

Regards,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 20 Mar 2009

Could be, also this line is troubling it indicates there is a characheter that is expected thats not there or one thats there and shouldnt be..../cupid.php: line 7: syntax error near unexpected token `('...... has any editing of this file been done? or mabye cron job input wrong..

Quote · 20 Mar 2009

 

Could be, also this line is troubling it indicates there is a characheter that is expected thats not there or one thats there and shouldnt be..../cupid.php: line 7: syntax error near unexpected token `('...... has any editing of this file been done? or mabye cron job input wrong..

 

 

 

Clebarron is right, in periodic/cupid.php on line 7, you have an extra open parenthesis or you have forgotten to put the close parenthesis,  "  ( "  or "  )  "  Open the file and take a look at line 7, it will be there.

Quote · 20 Mar 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.