Thanks Matt.

I tried what you recommended and many other alternatives I found on
discussion boards but unfortunately I have Plesk installed on my server
so whatever I do to any config files would be overwritten within
seconds by Plesk.

Fortunately a friend actually got it working for me using a different
approach. What he did was he added 'false' to the if statement that
checks if the ini_set function exists in the webroot/index.php file.
That way Cake uses the absolute path when loading is libraries and
doesn't depend on the include_path.

If anybody using Plesk is expereincing the same issue find this line in
webroot/index.php:

         if (function_exists('ini_set')) {

and replace it with:

                 if (false && function_exists('ini_set')) {

Thanks worked out perfectly for me.

Thanks,

Sebastian

Matt Puchlerz wrote:
> Judging by the path, I'm thinking you might be hosted on Media Temple.
> If that's the case, here's how I fixed my open_basedir problem...
>
> Log into the shell.  Within your site's domain folder
> (/var/www/vhosts/begreennow.com/) is another folder called "conf."
> Inside that folder is a file called "httpd.include."  Use a text editor
> to open that file (I used vi).  Once inside that file, you'll see
> Apache configurations for your begreennow.com domain, as well as any
> subdomains you might have for it.  There should be a line that says...
>
> php_admin_value open_basedir
> "/var/www/vhosts/begreennow.comBLAHBLAHBLAH"
>
> Comment out that line by putting a "#" at the beginning of it, and save
> the file.  Make sure that you then reboot your server, and hopefully
> the problem will disappear.
>
> I don't really now why that setting exists, but it does.  Hope this
> might have helped.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to