Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2012-05-02 10:02:45

viola
Member
Registered: 2012-05-02
Posts: 3

Troubles installing

Hi,

I try to install piwigo (version 2.3.4), but run into a problem some others seem to have had, but I couldn't find a real solution in the forum.

The script tries to connect to localhost using user wwwrun. As mentioned in one of the posts, I replaced variables for the credentials  with my login-Information directly in install.php. To no avail. Then I also put them in function pwg_db_connect($host, $user, $password, $database)  in include/dbLayer/functions_mysql.inc.php replacing the parameters. Now I get the error when executing the first query (see attached screenshot). What else can I do?
It is rather frustrating!

I have never developed in php. Is there a way to debug during runtime?

An help will really be appreciated.

Viola

Offline

#2 2012-05-02 10:05:42

viola
Member
Registered: 2012-05-02
Posts: 3

Re: Troubles installing

OK, I tried to upload the screenshot. For a fraction of a second an error message was shown, but way to short to read...
No clue why it didn't work. So, in writing:

I get an access denied for user wwwrun@localhost in /include/dblayer/functions_mysql.inc.php on line 93

Please let me know if you need more information.

Offline

#3 2012-05-09 17:29:08

viola
Member
Registered: 2012-05-02
Posts: 3

Re: Troubles installing

Got it.

Remove the @ in line

$link = @mysql_connect($host, $user, $password);

(function pwg_db_connect in include/dblayer/functions_mysql.inc.php)

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013