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 
Can get poll to work / warnings / fatal error  XML
Forum Index » Support Forum
Author Message
hanse311
Newbie

Joined: 21/03/2007 12:22:01
Messages: 2
Offline

Hello,

Impresed by he possibilities, I decided to ga for this poll system. I managed to install the poll. However, using CMS Made simple, I get the following warnings

Warning: cms_tmp_poll_userplugin_function(): open_basedir restriction in effect. File(/home/httpd/vhosts/httpdocs/poll/include/config.inc.php) is not within the allowed path(s): (/home/httpd/vhosts/uisge-beatha.eu/httpdocs:/tmp) in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/lib/content.functions.php(669) : eval()'d code on line 9

Warning: cms_tmp_poll_userplugin_function(/home/httpd/vhosts/httpdocs/poll/include/config.inc.php): failed to open stream: Bewerking niet toegestaan in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/lib/content.functions.php(669) : eval()'d code on line 9

Fatal error: cms_tmp_poll_userplugin_function(): Failed opening required '/home/httpd/vhosts/httpdocs/poll/include/config.inc.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/lib/content.functions.php(669) : eval()'d code on line 9


The code has been put in a user defined tag (that's the way CMSMS wants it):


I removed the code to forcome errors on the screen.

Could you please help me to get this working?

Thanks very much for your help!
H
hanse311
Newbie

Joined: 21/03/2007 12:22:01
Messages: 2
Offline

Hello,

Made some changes and got a bit further, however, the following error occurs:

Warning: mysql_connect(): Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/poll/include/class_mysql.php on line 32
Connection Error, kan geen verbinding met DB maken

MySQL Error : Connection Error, kan geen verbinding met DB maken
Error Number: 0
Date : Wed, March 21, 2007 15:17:10
IP : 84.86.63.24
Browser : Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Referer : http://www.uisge-beatha.eu/index.php?page=home
PHP Version : 4.3.11
OS : Linux
Server : Apache
Server Name : www.uisge-beatha.eu
Script Name : /index.php


I definitly set the correct user in config.inc.php

Any suggestions why the user is apache@localhost

Thanks,
H
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

Warning: mysql_connect(): Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/vhosts/xxxxxxx/httpdocs/poll/include/class_mysql.php on line 32


You didn't edit the include/config.inc.php file and add your database user info and password. That's why it says using password: NO
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum