Author |
Message |
15/10/2002 21:55:53
|
Anonymous
|
I get this error when I try and do the install.php
Warning: Failed opening './include/config.inc.php' for inclusion (include_path='.:/usr/local/php4/lib/php') in /var/www/sav/poll/install.php on line 29
Fatal error: input in flex scanner failed in /var/www/sav/poll/include on line 1
Any Ideas?
|
|
15/10/2002 22:51:20
|
Anonymous
|
I was looking in the config.inc.php file and saw that PostgreSQL was in there... I do not have this installed would it cause this error seeing it is not installed?
If so what rpm's do I need to intalled for this script to work? I have found on redhat there are several of them the basic PostgreSQL and the client, server, devel, pearl, libs, odbc, tk, tcl, etc...
I am running RedHat 7.3 Apache_1.3-27 php-4.2.3 and of course mysql with of course the required rpm's and src to make all work. If I run a test.php file with the following all php info is displayed
<HTML>
<HEAD>
<TITLE>Testing PHP</TITLE>
</HEAD>
<BODY>
<?
/*
* Print PHP info
*/
phpinfo();
?>
</BODY>
</HTML>
Thanks for any info on this error in my previous msg...
|
|
17/10/2002 23:05:17
|
Anonymous
|
I cannot belive no one has responded to my previous posts... I guess my problem is 2 complicate. So to make things simple can someone please run the script in my previous post and tell me what the path is on your system under include_path? Then if possible give me a the names of a couple files in it so I can search for them on my system. Once I know what files php is looking for I can just edit my php.ini file and point it to the correct directory and hopefully things will work then.
I have spent hours if not days looking for info on this on the web and have not found anything that helps so far.. I get the same type of error mentioned above regardless if I am trying to run the text or db version of Advanced poll.
|
|
19/10/2002 08:17:37
|
Anonymous
|
My problem was that I did not do a chmod +r * on all the sub directories... once I figured this out all is working on my main system using MySql. Wow what a nice program and just want to say Thanks for making it free.
Ok what lead me to figure out the problem is I had a extra old hard drive and installed RedHat 8.0 and the rpm's for both apache 2.0 and PHP and tried the text version of advanced poll on a spare system. I got it running but am missing some graphics... you can see the broken image error if you go to
http://216.176.167.147/poll/admin
also if you go to
http://216.176.167.147/poll/demo_1
the pop up comment windows don't work and the other image errors.
Do I have some permissions on files still incorrect if so which ones? I did follow the install instructions as follows but don't understand what the author means by - ... under the graphic directory. I am 100% sure I did a chmod +r * on the image directory.
1. Upload all php files in ASCII-mode to your server.
Give write permissions to the webserver on the configuration files.
**** is the above something different than what is below? if so what do I do to give write permissons to the webserver?****
polldata 777 (drwxrwxrwx) (directory)
- 1 666 (-rw-rw-rw)
- 2 666 (-rw-rw-rw)
- 3 666 (-rw-rw-rw)
- session.php 666 (-rw-rw-rw)
templates 777 (drwxrwxrwx) (directory)
| default 777 (drwxrwxrwx) (directory)
- comment.html 666 (-rw-rw-rw)
- display_foot.html 666 (-rw-rw-rw)
- display_head.html 666 (-rw-rw-rw)
- display_loop.html 666 (-rw-rw-rw)
- result_head.html 666 (-rw-rw-rw)
- result_foot.html 666 (-rw-rw-rw)
- result_loop.html 666 (-rw-rw-rw)
| graphic 777 (drwxrwxrwx) (directory)
- ...
include 755 (drwxr-xr-x) (directory)
- config.inc.php 666 (-rw-rw-rw)
Thanks for any input...
Oh this IP address will only work for about 48 hours or less am just using it for testing this program and to get hopefully some feedback.
|
|
30/10/2002 00:56:47
|
Anonymous
|
looks like no one wants to help
|
|
|