Author |
Message |
|
Yea that is the problem, now how do i fix it. It does not like to be run in a page that has numerious php includes. Like check out www.dp3dclan.com and try the poll. Then go to www.dp3dclan.com/poll.php and try it. Then it works fine yes it is the same exact thing only it is running in a page of it's own. Anyone have any ideas?
Thanks,
Derek
|
 |
|
How does someone reset the admin username and password? My guestbook also got hacked into, I figured out how to delete the post (in phpmyadmin), but can't get into my guestbook admin to disable html. I am not very computer literate, can someone please help this fool? LOL I have cpanel. my guestbook is here:
http://www.stormtrooper108.com/guestbook/
Thanks in advance!
|
 |
|
Ok, you would not believe this, but i totally took off the xml line and it worked!
Before I had just commented it off, but i have no clue why it still didnt work then.
Do you have any comments on this?
|
 |
|
I set the path as you said. I get the same exact error.
browse to the following URL: http://www.uwi-iob.org/polls/polls.html
If you view the source there, you will see the code.
However, please note that the actually php file is at http://www.uwi-iob.org/polls/polls.php
the polls.php file is in directoy
So when i tired what you suggested, i tried both
and
and i still get the same error.
I am really at a lost here.
Thanks very much for the quick responses.
|
 |
|
Ok I have it kinda figured out. Ummm... When i put the poll in a page by it's self it works fine. But when it is in my right.php file it seems to not work. I'll keep trying. If i get it i will post my results. Any more ideas?
Thanks,
Derek
|
 |
|
Here are the first few lines of poll.php:
Line 2 is actually :
I commented off line 2 thinking the xml statement was causing the error, however that didnt work.
I'll try setting the path as you said in your previous reply. I'll let you know what happened.
|
 |
|
I install the Advanced poll as directed, followed EVERY SINGLE instruction word for word.
I set the paths correctly for the php code.
i am using a webhosting company. the paths provided by the poll was correct so i used that.
that path is
You can see the poll at http://www.uwi-iob.org/polls/polls.php
I keep getting the error
I spend the ENTIRE day searching this forum for an answer, the closest answer i found for unexpected T_STRING is that i have a php issue with my webserver and to adjust the php.ini file.
But remember i am using a webhosting company, so i dont htink i will have access to that file. What should i do? Where is the error originating from? i hope is not a php issue with my webserver.
Some server stats: Apache Fedora on Linux platform with mod_perl and php support.
|
 |
|
Auron wrote:check paths in config files and the admin area.
Do you mean in the admin panel? If not what files would i need to edit, i dont seen any editable files under the admin folder. When i use one of the other templates that is not popup it works but it brings up the results weird do to the way i have the site set up that is why i was wanting to use the popup temp. I appreciate you guys trying to help! But if you have anymore suggestions feel free to let me know.
Thanks,
Derek
|
 |
|
ET wrote:
I don't do the Polls but here's my dumb question for the first of February... Are you running this on your harddrive of your pc? Why the C:/ for the path?
That is an automatically set path by the installation of the poll. It is the path of the booth.php on the actual web server. Tellin the script to access that file from the location on the webserver. At least that is what i believe anyway. Oh and by the way, the link you sent me. I have been to that site time after time after time during my searchin. I do no t believe it explains anything in there about my porblem. The link to my site is www.dp3dclan.com, if you wanna check out the poll.
Thanks,
Derek
|
 |
|
Thank you for the answer.
Can you send me the rewrite script with an email? My email address is "ich_weiss@bluewin.ch". I am very happy when it work correctly.
Thank you
|
 |
|
I have a website that has been hacked and I've done the reset of the password/username with the fix, but I still can't get rid of the damn page that idiot put up. What do I do?
www.weaveittolinda.com/comments
|
 |
|
Thank you very much. I'll try to make it and tell you later.
|
 |
|
BTW the website is www.dp3dclan.com if you would like to see for your self.
Thanks,
Derek
|
 |
|
Sorry for the double post, clicked twice
|
 |
|
Ok this is what I have:
include_once "C:/inetpub/dp3d/poll/booth.php";
$php_poll->set_template_set("popup");
echo $php_poll->poll_process("4");
But here is the problem... When I click on the Vote button it brings me to Page cannot be displayed. And when I click the view results button absolutlely nothing happens. I have left the popup template alone and have not changed any of the code, so what else could be the problem? The poll does show up fine by the way, it's just that the button and the link do not work properly.
Thanks in advance,
Derek
|
 |
|