• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

cgiemail and php advanced poll 2.02 help!

dowxp

Diamond Member
sniff! something is wrong with my code. its my understanding that i would insert this code into my table and a poll would pop up...

<?php include_once "/home/dowxp1/public_html/poll/booth.php"; echo $php_poll->poll_process(4);?>

is this correct? because the webpage sure doesnt seem so.

also, for cgiemail... I'm having trouble setting my action path. cgiemail is set into my cgi-bin .. but this does not work

<FORM METHOD="POST" ACTION="http://www.downloadanime.org/cgi-bin/cgiemail.txt">

imma go RTFM again..
 
Try:

<?php
include_once ("/home/dowxp1/public_html/poll/booth.php");
echo $php_poll->poll_process(4);
?>

the missing parentheses are the only obvious mistake, but there could be a mistake in the code somewhere else too.

For the other, check your file extensions:
<FORM METHOD="POST" ACTION="http://www.downloadanime.org/cgi-bin/cgiemail.txt">

The form ACTION should point towards a CGI file with either the .cgi or .pl extension. A text file won't get processed unless the server is configured in a very strange way.



NOTE: I'm a self-taught bad programmer who learns only enough to get by, but not enough to get good. If your server blows up, I take no responsibility.
 
no worky on the php. imma google around and see what other people have. thanks for trying. gonna try cgiemail later
 
Check:

Are the paths correct?
Are all needed files uploaded to the correct directories?
Are all writable/executable files set with proper permissions?
For the PHP poll, is it using a database? Is the database set-up? Did you create the necessary table?
 
Originally posted by: GagHalfrunt
Check: Are the paths correct? not for cgiemail. the initial test installation by the autoscript installer said it had, but upon RTFM, i tried to access www.downloadanime.org/cgi-bin/cgiemail/ and that came up as a nono. support has been notified. perhaps i will try installing it myself. phppoll works in admin mode.. www.downloadanime.org/poll/admin

Are all needed files uploaded to the correct directories? cgiemail - seems so, see cgiemail there.


Are all writable/executable files set with proper permissions?i dont have ssh so i cant tell


For the PHP poll, is it using a database? Is the database set-up? its using a mysql database. AFIAK, one is being used up.


Did you create the necessary table?everything was done by an autoinstall script. so i cant say =(


support has been notified =p
 
welp. cgiemail requires actually ./configure and make. no ssh access... nothing i can do, thanks though
 
Back
Top