If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanced Poll - Message error in index when I use (include)  XML
Forum Index » Support Forum
Author Message
Anonymous



Hallo everybody

I used your Poll script, and I liked it very well, it is just perfect

I'm working in a personal website, and I just found the good poll I always needed. However
when I inculde it, it works but it the server shows these following errors:

///////
Warning: include_once(./poll_cookie.php) [function.include-once]: failed to open stream: No such file or directory in C:\{my website's path}\index.php on line 3

Warning: include_once() [function.include]: Failed opening './poll_cookie.php' for inclusion (include_path='.;C:\php5\pear') in C:\{my website's path}\index.php on line 3
//////

Could you please help me to fix this error?!



Thank you very much in advance ;=)
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Did you set the path in the config file?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Yes! everything is OK in the settings :s
I just don't know why those errors message appear :s
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Change the include code in your index.php file so it uses the full path of the file to be included.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum