P2Dpro
JoomlaXT!
Welcome, Guest
Please Login or Register.    Lost Password?
{Solved} Loading Poll - Error REQUEST_URI Forum is locked
(1 viewing) 1 Guest
Go to bottom
TOPIC: {Solved} Loading Poll - Error REQUEST_URI
#5510
Webcie
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
{Solved} Loading Poll - Error REQUEST_URI 4 Years, 1 Month ago Karma: 0
Im getting an error on the frontpage and admin panel in debugging mode:

Code:

Notice: Undefined index: REQUEST_URI in D:\www\heeren17.nl\www\ns2\components\com_pollxt\class\pollxt.frame.php on line 47


And a standard error on the frontpage:
Code:

Caught error SyntaxError: missing ; before statement: Could not eval DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
etc

Without debugging its keeps infinitely saying loading poll.

Tried removing the component&module and also some left overs in the site root and dropping the sql tables of pollxt. But still this error returns.

Is there a way to fix this?

Thank you in advance.
 
Logged Logged
 
Last Edit: 2009/04/19 23:29 By Webcie.
  The topic has been locked.
#5511
Webcie
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Loading Poll - Error 4 Years, 1 Month ago Karma: 0
Fixed it!

edit your
Code:

components\com_pollxt\class\pollxt.frame.php
on line 47:

original:
Code:

$path = parse_url('/$_SERVER['REQUEST_URI']');


into:
Code:

$path = parse_url('/$_SERVER['REQUEST_URI'] = substr($_SERVER['PHP_SELF'],0'));
 
Logged Logged
 
Last Edit: 2009/04/19 23:28 By Webcie.
  The topic has been locked.
#5586
omerten
Moderator
Posts: 2832
graph
User Offline Click here to see the profile of this user
Re:Loading Poll - Error 4 Years ago Karma: 65
Hi,

are you using IIS? Apache Webservers should always transfer a "REQUEST_URI". However I'll add a check for "REQUEST_URI" and use PHP_SELF if it doesn't exist (without any guarantee of course )
 
Logged Logged
  The topic has been locked.
Go to top

Donation

Development and Maintenance of Joomla extensions is time consuming. Webspace and Server cost money. With a small donation you can help that we're able to pay the bills and can continue developing free extensions.

Make payments with payPal - it's fast, free and secure!

Featured Products


Get in touch

Search

This site is hosted by


Copyright © 2003-2009 by JoomlaXT! Template based on afterburner by Rockettheme
Joomla!(TM) is the trademark of Open Source Matters, Inc in the United States and other countries. The Joomla! name and variations on it utilizing shortforms for it such as J, Joo, Joom, etc, used on this site, is used under a limited license granted by Open Source Matters. JoomlaXT! is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.