![]() |
same issue here
hi,
i am having the same issue here after an upgrade from 1.8.0 to 1.8.6. All works as expected when running the spider from the webbrowser, but when i try to run it from the commandline by cgi (something that was no problem using 1.8.0): Ik think i know what the problem is but i am not sure and unfamiliar of how to fix it... Code:
cd /path/to/phpdig-1.8.6/ Code:
Warning: Cannot modify header information - headers already sent by (output started at /path/to/phpdig-1.8.6/includes/config.php:1) in /path/to/phpdig-1.8.6/libs/auth.php on line 62 I just did a test, by uploading an unmodified version of config.php, using pico to edit it via the shell works partially. (Other then anoying working with pico) The redrect (in auth) now works fine, but the running via cgi still produces the same errors. ohh, phpdig is currently installed in just one directory (as downloaded) so i did not add a relative path in the config... i hope this info helps... please contact me if you need more info, i really need this working via cron... tanks |
solution
it seems that this was the culprit;
cd to the admin dir, instead of phpdig... Code:
instead of |
I was using a cron job and had to change the code on line 88 in spider.php
FROM Code:
// echo $relative_script_path; Code:
// echo $relative_script_path; |
All times are GMT -8. The time now is 09:57 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.