I just checked the file and there is no error on this file, but when I try
to read my secrets.php from other folders, I can't retrieve any data but I
can open the file.

On Tue, Nov 15, 2011 at 12:28 PM, Josh Thompson <josh_thomp...@ncsu.edu>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Mani,
>
> Everything looks good in the secrets.php file you included below.  I would
> suggest running the secrets.php script from the command line using the php
> command line interpreter:
>
> php secrets.php
>
> Any problems in it would then be reported.
>
> Also, just to be sure, you are talking about secrets.php and not
> secrets-default.php, right?
>
> Josh
>
> On Sunday November 13, 2011, Mani Shafa'atDoost wrote:
> > Hello,
> >
> > When I run testsetup.php, I just receive following errors:
> > Error: fopen(http://localhost/vcl/testsetup.php?includesecretstest=1):
> > failed to open stream: Permission denied
> > PHP version: 5.3.8
> > Including .ht-inc/secrets.php ...
> >
> >    - unable to include .ht-inc/secrets.php - this is probably due to a
> >    syntax error in .ht-inc/secrets.php
> >    - skipping tests for contents of .ht-inc/secrets.php
> >
> > Including .ht-inc/conf.php ...
> >
> >    - cannot include .ht-inc/conf.php when including of
> .ht-inc/secrets.php
> >    fails
> >
> > Testing for required php extensions ...
> >
> >    - All required modules are installed
> >
> > Testing mcrypt ...
> >
> >    - Cannot test encryption without $mcryptkey and $mcryptiv from
> >    .ht-inc/secrets.php
> >
> > checking openssl encryption keys ...
> >
> >    - Cannot test private key file without $pemkey from
> .ht-inc/secrets.php
> >    - successfully created public key from public key file
> >
> > Testing openssl encryption ...
> >
> >    - cannot test encryption without a valid private key
> >
> > Testing for existance of dojo directory ...
> >
> >    - dojo directory exists
> >    - dojo directory is readable
> >
> > Checking value of PHP display_errors ...
> >
> >    - display_errors: *disabled*
> >    - NOTE: Displaying errors in a production system is a security risk;
> >    however,
> >    while getting VCL up and running, having them displayed makes
> debugging
> >    a little easier. Edit your php.ini file to modify this setting.
> >
> > Done
> >
> > my secrets.php file is like this:
> >
> > <?php
> > $vclhost = 'localhost'; # name of mysql server
> > $vcldb = 'vcl';         # name of mysql database
> > $vclusername = 'mani';      # username to access database
> > $vclpassword = 'mani';      # password to access database
> >
> > $mcryptkey = 'password';  # random password - won't ever have to type it
> so
> > make it long
> > $mcryptiv = '12345678'; // must be 8 hex chars
> >
> > $pemkey = 'password'; # random passphrase - same as given to genkeys.sh -
> > should be long
> > ?>
> >
> > can you guide me, what should i do to fix this file?
> >
> >
> > Best Regards
> > Mani
> - --
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
>
> my GPG/PGP key can be found at pgp.mit.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (GNU/Linux)
>
> iEYEARECAAYFAk7CoSkACgkQV/LQcNdtPQP7nQCfbrlCk/yD8QMJzlbeL6k8840U
> e8cAnRkdpgRbwQVqQgXzkdgkEJRO9jnO
> =0uvC
> -----END PGP SIGNATURE-----
>

Reply via email to