Re: Trust path issues impresscms 1.0 beta install.

It is proper to put the trust path outside the home directory - the trust path should not be accessible via a browser. Not all server configurations will allow you to create folders outside the web root. In those cases, the trust path can be placed inside the web root, as MrTheme suggests. This, however, is not as secure.

Steve Twitter: @skenow Facebook: Steve Kenow

Topic


Re: Trust path issues impresscms 1.0 beta install.

What else would you like to know? I posted php, mysql & apache versions.

MrTheme and I are on the same server.

I did notice Will saying that the error was a little different than the one I posted. Strange that doesn't make sense because like I said its the same server.

Anyway let me know what exactly what specs you want. I will post them for you.

Topic


Re: Trust path issues impresscms 1.0 beta install.

The behavior seems different on different server environment. Can you guys post here your environment configuration?

Marc-André Lanciault
Founder and CEO INBOX International inc.
Co-Founder ImpressCMS


Re: Trust path issues impresscms 1.0 beta install.

  • 2008/1/9 14:42:13
  • Will

I had a similar issue during installation. The installer does not default to the correct directory. Instead of /home/SITE_DIRECTORY/trust_folder it's default is /home/trust_folder. So it is trying to create the trust_path by default in the server's home directory.

Easy to catch if you are paying attention though.



Re: Installation needs a warning if trust path is not found or writable

Excellent suggestion Drummond!

Can you add this to the Feature tracker ? We will get this one in for next release.

Cheers !

Marc-André Lanciault
Founder and CEO INBOX International inc.
Co-Founder ImpressCMS


Installation needs a warning if trust path is not found or writable

Hey guys,

I just installed v1 and one UI thing I'd suggest that through me for a loop. I LOVE how iCMS uses a trust path by default, but I was rushing through and it had a default trust path that the installer could not create to (no permissions) and when I click next there ought to be some warning so the user knows why it's not progressing to the next step. IE: "Your trust path is not writable, please examine and try again or you may have to manually create the directory."

After I edited the trust path manually to a correct location, I actually DID get a warning that it was not writable, which was good, just no initial warning, and that might confuse some people.



Re: Trust path issues impresscms 1.0 beta install.

Hi thomas,

Can you provide a screenshot ?

Thanks !

Marc-André Lanciault
Founder and CEO INBOX International inc.
Co-Founder ImpressCMS


Re: Trust path issues impresscms 1.0 beta install.

Quote:


thomas wrote:
Apache version 2.2.6 (Unix)
PHP version 5.2.4
MySQL version 5.0.45-community-log

This is a live site not a local install.



Hi Thomas, let´s go.

Quote:


The installer would not create a trust path for me. So I created one myself in the second attemp. I then chmod the trust path folder to 777. Icms still would not create it. My public_html directory is set to chmod 750. I also changed that to 777 on the third install try. I still get the same error.

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/trust_pathe3c4f) is not within the allowed path(s): (/home/mydomain:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/mydomain/public_html/install/page_pathsettings.php on line 147


Now what guys?



When this occurs.

-- Access your site via FTP.
-- Create a directory for the trust_path outside your web root.
-- Restarting the installation and inform your directory manually.

Giba


Trust path issues impresscms 1.0 beta install.

Apache version 2.2.6 (Unix)
PHP version 5.2.4
MySQL version 5.0.45-community-log

This is a live site not a local install.

The installer would not create a trust path for me. So I created one myself in the second attemp. I then chmod the trust path folder to 777. Icms still would not create it. My public_html directory is set to chmod 750. I also changed that to 777 on the third install try. I still get the same error.

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/trust_pathe3c4f) is not within the allowed path(s): (/home/mydomain:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/mydomain/public_html/install/page_pathsettings.php on line 147


Now what guys?




 Top