Form failure

Questions and bug reports for current release of CKForms

Form failure

Postby Birger » Thu Sep 03, 2009 7:02 pm

Hi

I get this mesage when I subbit the form:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/d/r/ftp_drk-sydjyllanddk/:/tmp/:/tmp/phplog:/usr/local/phpbin/php) in /home/d/r/ftp_drk-sydjyllanddk/Joomla1514/components/com_ckforms/models/ckforms.php on line 220
What is wrong and what ca I do?

I have tried to emty the databata and removed the installation but without result.

Regards form Denmark

Birger
Birger
 
Posts: 1
Joined: Thu Sep 03, 2009 6:58 pm
Top

Re: Form failure

Postby Samaroo » Thu Sep 03, 2009 7:39 pm

Birger,

It's not a CK Forms specific issue. Try these:

1. Was Joomla working properly before you installed the extension? Check the configuration of Joomla to make sure the paths are correct.

2. The open_basedir warning is due to the configuration of your hosting. You can set the open_basedir parameter in your php.ini, httpd.conf or .htaccess file. If you don't have access to those files I suggest you contact your hosting provider and inform them of the warning message.


Regards,
Allan.
Samaroo
 
Posts: 39
Joined: Thu Sep 03, 2009 2:28 pm
Top

Re: Form failure

Postby pedrino » Tue Sep 08, 2009 6:05 pm

Hi,

I found why you have this message (It’s a warning and not an error).
Because your provider (or you) changed a PHP parameters (“open_basedir”);

To the value of this parameters, go in your joomla administration site et and open the screen help > information > php settings and now you can see the value of “open_basedir”;

If the value is different of “none”, every time your joomla use a PHP File function (like fopen ou gzopen) and the path or file doesn’t exist or with restriction you receive a warning.

To avoid this message :

- Change the PHP settings to set open_basedir to none;
- Or change “/” with an existing “path” (you can create a TMP folder)
- Or wait the next release of CKForms (I’ll do something to bypass this message).

I fixed some bugs in the new release. Try it to see if the problem exists again.
Don't forget to backup your CKForms data (see manual) before uninstall the previous release.

http://joomlacode.org/gf/project/ckforms/frs/

Thanks

Pierre
User avatar
pedrino
Site Admin
 
Posts: 150
Joined: Tue Aug 25, 2009 1:13 pm
Top


Return to CKForms 1.3.x Support forum

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron