I have a problem with this module. I try and configure Survey 0.6 on my home server. All the module works great and I want to use for petitions. After, I upload the module on my real hosted server and we have a bug, I don't understand because, my home server have the same configuration of my real server. The difference is My home server are in Windows and my real server are in Linux. You can see the configuration of both server bottom the message. I try to put the php.ini configuration same on both server, but the module not working on linux. I try many of thing, but not success. I thing the problem can be the capital letter in the code, because, linux manages the capital letters and not windows. So I supposed the problem are here, but i don't know how to resolve the problem. I can't show the form in the admin panel, so I cannot create the survey because I can't add question. If you want to see the problem, follow the procedure :
1 - Go on
http://www.fansdescanadiens.com Login : testmax
Passw : testmax
2 - Go on this adress
http://www.fansdescanadiens.com/modules/survey/admin/index.php3 - clique on EDIT QUESTION or the small box with different color
4 - try to add a "text line" and GO
5 - Nothing appear and in the debug mode :
Quote:
Warning: main() [function.main]: open_basedir restriction in effect. File(/elements/checkbox.php) is not within the allowed path(s): (:/tmp) in file /modules/survey/class/element.php line 3
Warning: main(elements/checkbox.php) [function.main]: failed to open stream: Operation not permitted in file /modules/survey/class/element.php line 3
Warning: main() [function.include]: Failed opening 'elements/checkbox.php' for inclusion (include_path='.:') in file /modules/survey/class/element.php line 3
Warning: main() [function.main]: open_basedir restriction in effect. File(/elements/surveydate.php) is not within the allowed path(s): (:/tmp) in file /modules/survey/class/element.php line 4
Warning: main(elements/surveydate.php) [function.main]: failed to open stream: Operation not permitted in file /modules/survey/class/element.php line 4
Warning: main() [function.include]: Failed opening 'elements/surveydate.php' for inclusion (include_path='.:') in file /modules/survey/class/element.php line 4
Warning: main() [function.main]: open_basedir restriction in effect. File(/elements/label.php) is not within the allowed path(s): (:/tmp) in file /modules/survey/class/element.php line 5
Warning: main(elements/label.php) [function.main]: failed to open stream: Operation not permitted in file /modules/survey/class/element.php line 5
Warning: main() [function.include]: Failed opening 'elements/label.php' for inclusion (include_path='.:') in file /modules/survey/class/element.php line 5
Warning: main() [function.main]: open_basedir restriction in effect. File(/elements/persondata.php) is not within the allowed path(s): (:/tmp) in file /modules/survey/class/element.php line 6
Warning: main(elements/persondata.php) [function.main]: failed to open stream: Operation not permitted in file /modules/survey/class/element.php line 6
Warning: main() [function.include]: Failed opening 'elements/persondata.php' for inclusion (include_path='.:') in file /modules/survey/class/element.php line 6
Warning: main() [function.main]: open_basedir restriction in effect. File(/elements/radio.php) is not within the allowed path(s): (:/tmp) in file /modules/survey/class/element.php line 7
Warning: main(elements/radio.php) [function.main]: failed to open stream: Operation not permitted in file /modules/survey/class/element.php line 7
Warning: main() [function.include]: Failed opening 'elements/radio.php' for inclusion (include_path='.:') in file /modules/survey/class/element.php line 7
Warning: main() [function.main]: open_basedir restriction in effect. File(/elements/select.php) is not within the allowed path(s): (:/tmp) in file /modules/survey/class/element.php line 8
Warning: main(elements/select.php) [function.main]: failed to open stream: Operation not permitted in file /modules/survey/class/element.php line 8
Warning: main() [function.include]: Failed opening 'elements/select.php' for inclusion (include_path='.:') in file /modules/survey/class/element.php line 8
Warning: main() [function.main]: open_basedir restriction in effect. File(/elements/textarea.php) is not within the allowed path(s): (:/tmp) in file /modules/survey/class/element.php line 9
Warning: main(elements/textarea.php) [function.main]: failed to open stream: Operation not permitted in file /modules/survey/class/element.php line 9
Warning: main() [function.include]: Failed opening 'elements/textarea.php' for inclusion (include_path='.:') in file /modules/survey/class/element.php line 9
Warning: main() [function.main]: open_basedir restriction in effect. File(/elements/textbox.php) is not within the allowed path(s): (:/tmp) in file /modules/survey/class/element.php line 10
Warning: main(elements/textbox.php) [function.main]: failed to open stream: Operation not permitted in file /modules/survey/class/element.php line 10
Warning: main() [function.include]: Failed opening 'elements/textbox.php' for inclusion (include_path='.:') in file /modules/survey/class/element.php line 10
Warning: main() [function.main]: open_basedir restriction in effect. File(/elements/textdhtml.php) is not within the allowed path(s): (:/tmp) in file /modules/survey/class/element.php line 11
Warning: main(elements/textdhtml.php) [function.main]: failed to open stream: Operation not permitted in file /modules/survey/class/element.php line 11
Warning: main() [function.include]: Failed opening 'elements/textdhtml.php' for inclusion (include_path='.:') in file /modules/survey/class/element.php line 11
Warning: main() [function.main]: open_basedir restriction in effect. File(/elements/radiogroup.php) is not within the allowed path(s): (:/tmp) in file /modules/survey/class/element.php line 12
Warning: main(elements/radiogroup.php) [function.main]: failed to open stream: Operation not permitted in file /modules/survey/class/element.php line 12
Warning: main() [function.include]: Failed opening 'elements/radiogroup.php' for inclusion (include_path='.:') in file /modules/survey/class/element.php line 12
INFO FOR HOSTED SERVER:
-------------------------
Website URL:
http://www.fansdescanadiens.comXOOPS Version: XOOPS 2.0.15
XOOPS Template Set: default
PHP Version: 5.0.4
MySQL Version: 4.1.20
Server Software: Apache/2.0.54 (Fedora)
User's Browser: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
INFO FOR MY HOME TEST SERVER:
-------------------------------
XOOPS Version: XOOPS 2.0.15
XOOPS Template Set: default
PHP Version: 5.0.4
MySQL Version: 4.1.21-community-nt
Server Software: Microsoft-IIS/6.0
User's Browser: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)