==========
At 07:47 PM 3/15/00 +0900, you wrote:
Dear Wandrer,
I saw the progrm is working now at SourceForce. However, I can not find any clue how to install your wonderful program. I will greatly appreciate if you show me how to do it.
Best regard,
==========
The easiest way to get the program up and running is to edit the config.inc.php3 file. Setting it with your database username/password and other configuration variables.
Then, create the database using the information in database-structure.mysql.php3.
Once you have a created database, you can use the add-picture.php3 file to add your pictures/descriptions to the database.
Once your pictures are added, run the create-poll.php3 to create your poll with its options and associated picture ID numbers.
That is it.
Currently there is no admin interface. I should have one completed for Version 0.8 which should be out in a week or so.
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2000-03-16
Dear wandrer,
After installation, as you said, I uploaded couple pictures to the DB and
it worked. However, when I tried to create poll but I get the following
error message:
Fatal error: Call to unsupported or undefined function strtotime() in
/home/wphong/public_html/phptest/picture/create-poll.php3 on line 79
The system that I am using to develop and test this program is currently running PHP/4.0b2 . Sorry about the confusion. The strtotime() function, i believe, is only in PHP4.
Let me know if I can be of further assistance.
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2000-03-21
Dear Paul!
I am now using PHP3.0.15.
I want to keep using it.
Is there any way that I can install both PHP3.0.15 and PHP4.0 together so that
Apache can go along with both versions ?
Is the strotime() fuction absolutely necessary to build PHP vote program?
In other word, can you make PHP vote work using PHP3.x version?
I will appreciate your answer.
Please keep up the good work!
Woopyo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having trouble with the $poll_template_dir varriable. Is this a direct host root... as in "/root/smokeyandthebandit/public_html/votehere"
or "/votehere" I've tried both and neither are working. The SQL is set up right.
I keep getting
ERROR: Specified ROOT dir [/root/ezcheez/public_html/scripts/picvote/] is not a directory
ERROR: Cannot open template. Root not valid.
Keep in mind that I am and idiot... can you anyone help me here?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You know it was so long ago that I completely forgot what I did to solve the problem. I don't even use the voting poll, as it wasn't suited to my needs. Sorry I'm such a worthless bastard.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
may you help with my problem ?
I have the same problems with a non-specified ROOT directory. How can I solve this problem ?
The program says [/htdocs/ibs/picture/] specified ROOT dir ist not a directory.
Thank you for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-08-03
This is a great idea to have a public script like this available... but, do you think in the next version you could add a random function that will randomly choose a picture from a directory listing and then let people cycle through them, the same way as http://www.hotornot.com
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded the 0.7 and when I wanted to add pictures trhought the add_pictures.php3 I have a message error:
Warning: Bad arguments to implode() in /home/user/e/l/i/eliphas/www/copc/class.FastTemplate.php3 on line 157
ERROR: get_template() failure: [/home/user/e/l/i/eliphas/www/copc/photos/Add-Photo.tpl] Bad arguments to implode()
==========
At 07:47 PM 3/15/00 +0900, you wrote:
Dear Wandrer,
I saw the progrm is working now at SourceForce. However, I can not find any clue how to install your wonderful program. I will greatly appreciate if you show me how to do it.
Best regard,
==========
The easiest way to get the program up and running is to edit the config.inc.php3 file. Setting it with your database username/password and other configuration variables.
Then, create the database using the information in database-structure.mysql.php3.
Once you have a created database, you can use the add-picture.php3 file to add your pictures/descriptions to the database.
Once your pictures are added, run the create-poll.php3 to create your poll with its options and associated picture ID numbers.
That is it.
Currently there is no admin interface. I should have one completed for Version 0.8 which should be out in a week or so.
Paul
Dear wandrer,
After installation, as you said, I uploaded couple pictures to the DB and
it worked. However, when I tried to create poll but I get the following
error message:
Fatal error: Call to unsupported or undefined function strtotime() in
/home/wphong/public_html/phptest/picture/create-poll.php3 on line 79
Is this PHP version problem or something else?
I appreciate your help.
My test phpvote is at
http://physics.cataegu.ac.kr/~wphong/phptest/picture/add-picture.php3
Ciao.
Woopyo Hong
The system that I am using to develop and test this program is currently running PHP/4.0b2 . Sorry about the confusion. The strtotime() function, i believe, is only in PHP4.
Let me know if I can be of further assistance.
Paul
Dear Paul!
I am now using PHP3.0.15.
I want to keep using it.
Is there any way that I can install both PHP3.0.15 and PHP4.0 together so that
Apache can go along with both versions ?
Is the strotime() fuction absolutely necessary to build PHP vote program?
In other word, can you make PHP vote work using PHP3.x version?
I will appreciate your answer.
Please keep up the good work!
Woopyo
I'm having trouble with the $poll_template_dir varriable. Is this a direct host root... as in "/root/smokeyandthebandit/public_html/votehere"
or "/votehere" I've tried both and neither are working. The SQL is set up right.
I keep getting
ERROR: Specified ROOT dir [/root/ezcheez/public_html/scripts/picvote/] is not a directory
ERROR: Cannot open template. Root not valid.
Keep in mind that I am and idiot... can you anyone help me here?
Nevermind see like I said I'm an idiot.
I got the thing working. I don't think it was what I had in mind as far as a voting system.
Thanks though.
Hello gymeblake,
I have the same problems with a non-specified ROOT directory. How did you solve this problem ?
Thanks a lot !
You know it was so long ago that I completely forgot what I did to solve the problem. I don't even use the voting poll, as it wasn't suited to my needs. Sorry I'm such a worthless bastard.
So dear wandrer,
may you help with my problem ?
I have the same problems with a non-specified ROOT directory. How can I solve this problem ?
The program says [/htdocs/ibs/picture/] specified ROOT dir ist not a directory.
Thank you for your help.
This is a great idea to have a public script like this available... but, do you think in the next version you could add a random function that will randomly choose a picture from a directory listing and then let people cycle through them, the same way as http://www.hotornot.com
I downloaded the 0.7 and when I wanted to add pictures trhought the add_pictures.php3 I have a message error:
Warning: Bad arguments to implode() in /home/user/e/l/i/eliphas/www/copc/class.FastTemplate.php3 on line 157
ERROR: get_template() failure: [/home/user/e/l/i/eliphas/www/copc/photos/Add-Photo.tpl] Bad arguments to implode()
you can check at:
http://eliphas.nexen.net/copc/add-picture.php3
thanks.
What does this mean do You think ? :
Parse error: parse error in config.inc.php3 on line 23
<script language="php">
/*
##############################################################################
# PHP Photo Voting Booth - Config Version 0.7 #
# Copyright 2000 Paul Pearson wandrer@glcomputers.com #
# Created 3/07/00 Last Modified Today #
# Scripts Archive at: http://www.sourceforge.net/ #
##############################################################################
##############################################################################
# Start Script #
##############################################################################
*/
$poll_title = "CS-FAVs Afstemning";
$poll_Email_From = "White WOlf";
$poll_Email_From_Address = 'WhiteWolf@capion.dk';
$poll_Email_Subject = "Bekrft din stemme";
$poll_picture_thumbwidth = "120";
$poll_picture_thumbheight = "100";
$poll_template_dir = "d:\home\capiondk\www\db\";
$poll_scriptVersion = "0.7"; // current version
$poll_baseURL = "www.capion.dk/db"; // base path of scriptNO slash at the end!
$poll_mySQL_host = "mysql.capion.dk"; // hostname of MySQL database
(I have "cut" the rest for privacy..You know..username and password..)