php4 faq

Using virtualmin pro 1.31
Fedora core 6

I know this has been discussed a few times in the forum, but can anyone tell me if faq 23 is still valid? Does this still need to be done?

"script Installers keep saying I need PHP4 on my Fedora Core 4 or 5 system, what can I do?"

I have a spider tool that I am trying to get running at http://www.catyack.com/spider/index.php I have tried turning on error logging and display errors and anything I could think of, but I can not get this script to work or display errors, I was thinking maybe it needs php5 - I tried contacting the website I got it from, and they replied, but they said they don’t know anything about scripts or servers. Unfortunately I really like this script, and I can not get it working nor find one that is similar.

Anyone?

What about some PHP experts, most likely, the problem is with the script or how I set it up. The files were not commented and the only directions I got were rename the txt to php and upload to server.

I have seen this script running, but I can not figure out what I am doing wrong.

Hey William,

We’ll need to see the log entries when things go wrong. They should be in /home/domainname/logs/error_log

I have never noticed that each domain had it’s own logs, I always go to /var/log/

I even found that you have it on the main virtualmin screen. :slight_smile:

before I paste the last 20 lines of the log, I also noticed the error log is 298 megs, Jamie is helping me with customer issue #454 - I wonder if this has something to do with it. The log seems to be rotated every week, but thats a large error log isn’t it?

This will probably help - and I know this isnt a virtualmin problem, but please let me know if you see anything suspicious in these logs and can maybe point me in the right direction.

Thanks

[[Wed Apr 18 11:32:12 2007]] [[error]] [[client 209.190.39.194]] PHP Warning: main() [[<a href=‘function.include’>function.include</a>]]: Failed opening ‘…/header.php’ for inclusion (include_path=’.:/usr/share/pear4’) in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 14:32:07 2007]] [[error]] [[client 65.55.213.105]] PHP Warning: main(…/header.php) [[<a href=‘function.main’>function.main</a>]]: failed to open stream: No such file or directory in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 14:32:07 2007]] [[error]] [[client 65.55.213.105]] PHP Warning: main() [[<a href=‘function.include’>function.include</a>]]: Failed opening ‘…/header.php’ for inclusion (include_path=’.:/usr/share/pear4’) in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 14:49:58 2007]] [[error]] [[client 66.194.6.79]] PHP Warning: main(…/header.php) [[<a href=‘function.main’>function.main</a>]]: failed to open stream: No such file or directory in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 14:49:58 2007]] [[error]] [[client 66.194.6.79]] PHP Warning: main() [[<a href=‘function.include’>function.include</a>]]: Failed opening ‘…/header.php’ for inclusion (include_path=’.:/usr/share/pear4’) in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 15:42:14 2007]] [[error]] [[client 209.190.39.194]] PHP Notice: Use of undefined constant is_set - assumed ‘is_set’ in /home/guard67/domains/catyack.com/public_html/links/index.php on line 2
[[Wed Apr 18 15:42:14 2007]] [[error]] [[client 209.190.39.194]] PHP Notice: Undefined index: this in /home/guard67/domains/catyack.com/public_html/links/index.php on line 5
[[Wed Apr 18 15:42:20 2007]] [[error]] [[client 209.190.39.194]] PHP Warning: main(…/header.php) [[<a href=‘function.main’>function.main</a>]]: failed to open stream: No such file or directory in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 15:42:20 2007]] [[error]] [[client 209.190.39.194]] PHP Warning: main() [[<a href=‘function.include’>function.include</a>]]: Failed opening ‘…/header.php’ for inclusion (include_path=’.:/usr/share/pear4’) in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 15:42:36 2007]] [[error]] [[client 209.190.39.194]] PHP Notice: Use of undefined constant is_set - assumed ‘is_set’ in /home/guard67/domains/catyack.com/public_html/links/index.php on line 2
[[Wed Apr 18 15:42:36 2007]] [[error]] [[client 209.190.39.194]] PHP Notice: Undefined index: this in /home/guard67/domains/catyack.com/public_html/links/index.php on line 5
[[Wed Apr 18 15:42:37 2007]] [[error]] [[client 209.190.39.194]] PHP Warning: main(…/header.php) [[<a href=‘function.main’>function.main</a>]]: failed to open stream: No such file or directory in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 15:42:37 2007]] [[error]] [[client 209.190.39.194]] PHP Warning: main() [[<a href=‘function.include’>function.include</a>]]: Failed opening ‘…/header.php’ for inclusion (include_path=’.:/usr/share/pear4’) in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 16:17:17 2007]] [[error]] [[client 66.249.72.17]] PHP Notice: Use of undefined constant is_set - assumed ‘is_set’ in /home/guard67/domains/catyack.com/public_html/links/index.php on line 2
[[Wed Apr 18 16:21:41 2007]] [[error]] [[client 64.9.235.45]] File does not exist: /home/guard67/domains/catyack.com/public_html/favicon.ico
[[Wed Apr 18 16:21:50 2007]] [[error]] [[client 12.173.196.243]] PHP Warning: main(…/header.php) [[<a href=‘function.main’>function.main</a>]]: failed to open stream: No such file or directory in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 16:21:50 2007]] [[error]] [[client 12.173.196.243]] PHP Warning: main() [[<a href=‘function.include’>function.include</a>]]: Failed opening ‘…/header.php’ for inclusion (include_path=’.:/usr/share/pear4’) in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 16:22:34 2007]] [[error]] [[client 12.173.196.243]] PHP Warning: main(…/header.php) [[<a href=‘function.main’>function.main</a>]]: failed to open stream: No such file or directory in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 16:22:34 2007]] [[error]] [[client 12.173.196.243]] PHP Warning: main() [[<a href=‘function.include’>function.include</a>]]: Failed opening ‘…/header.php’ for inclusion (include_path=’.:/usr/share/pear4’) in /home/guard67/domains/catyack.com/public_html/index.php on line 27
[[Wed Apr 18 16:24:34 2007]] [[error]] [[client 66.249.72.17]] PHP Notice: Use of undefined constant is_set - assumed ‘is_set’ in /home/guard67/domains/catyack.com/public_html/links/index.php on line 2

Last lines of Only show lines with text

Disregard, I found the problem with a little help.

Always remember to read the directions, no matter how simple they seem, one tiny install instruction can make all the difference…