Share » Forums » Install & configuration » First install: Access denied, no...

First install: Access denied, no database connection, failed to open/write file

First install: Access denied, no database connection, failed to open/write file

Friday 11 July 2003 4:58:05 pm - 4 replies

Author Message

ossi petz

Saturday 12 July 2003 11:32:12 am

> "Access denied, You don't have permission to access this area."
>

this is a missconfiguration in your php.ini file which should be in your windows installation folder. the folder in which php will store its temp. data is configured in the [session] part of php.ini

in your mysql folder there will be an application: /bin/winmysqladmin.exe
start it and you will have a small traffic light in your system tray showing its status.

within the mysql folder under /data/ there is a file: mysql.err which should give some hints why mysql does not want to work.

good luck :-)

geovanni rosetto

Monday 14 July 2003 2:58:14 pm

josh,
If you did downloaded eZ publish 3.1 "Installer" package for the Windows platform, you may not be able to use Microsoft Windows' built-in Web server (IIS). In fact, you will have to disable IIS in the services control panel or provide a different port number (other than 80) to IIS.
The installer provided here includes: The Apache Web server software, PHP, mySQL server, ImageMagick and eZ publish 3.1, all in one package.

If you need/have/ or want to use IIS then you will to download this packages from their developers and install them one by one in order.

1. PHP (required) http://www.php.net/
2. MySQL (required) http://www.mysql.com/
3. ImageMagick (optional) http://www.imagemagick.org/
You can use PHP's built-in GD library for image conversion.
See php.ini file to enable the GD library.
4. eZ publish 3.1 (uhhhh... required) http://www.ez.no/

For more information on this, please check this address: http://www.ez.no/manual/

josh, I hope this helps you with your eZ publish installation. Let us know if you have more problems.

Regards,

geo

Alan Sparkes

Tuesday 15 July 2003 2:31:33 pm

This really is a royal pain. Check out the thread here [http://mysql-mirror.free.fr/doc/N/T/NT_start.html]

I read it tried it and still can't get it to run mysql.
Previous version 'ezpublish-3.0_2-winnt.exe' seemed fine.

Any further ideas?

alan

josh t

Wednesday 16 July 2003 5:02:03 pm

Thanks for the help.

The site works after starting MySQL.

In WinMysqlAdmin the Start check message indicates that the path key was empty, but has now been fixed.
Found: E:/Program Files/eZ systems/mysql/bin/mysqld-nt.exe

As a matter of fact after installing MySQL at previous occasions I have never been able to start it without manually adding the --basedir parameter. The WinMysqlAdmin app seems to have fixed this automatically, which is nice.

A problem is that the site runs very slow. It takes about 6-7 seconds to serve a page. Ok my computer is from -99 but should it really take that long?

I've checked mysql.err and found some mystic information also.

MySql: ready for connections
Cannot initialize InnoDB as 'innodb_data_file_path' is not set.
If you do not want to use transactional InnoDB tables, add a line
skip-innodb
to the [mysqld] section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add to the [mysqld]
section, for example,
innodb_data_file_path = ibdata1:10M:autoextend
But to get good performance you should adjust for your hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html

/Josh

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu