When I open my gallery, I get
Could not connect to database
I haven't changed anything, but what can this be?
Thank you very much.
Offline
Try to access to your MySQL database.
Maybe you have a phpMyAdmin access from your Host provider.
If you can't access to your database, call their support.
If you can access to your database, check your ./include/mysql.inc.php
8-)
Offline
Hi there,
I have phpmyadmin, what shall I do next? I can not find include/mysql.... What shall I do after I open phpmyadmin?
Offline
You don't have ./include/mysql.inc.php ?
There is no reason to loose it.
Via phpMyAdmin check if phpwebgallery_plugins exist already, and tell me.
8-)
Offline
I only got this far...What shall be next?
Last edited by Haribda (2008-04-22 18:17:44)
Offline
Your database seems safe.
So create or restore your ./include/mysql.inc.php
It look like this:
<?php
$cfgBase = 'aviation_galerija';
$cfgUser = 'xxxxxxxxxxxxxxx';
$cfgPassword = 'yyyyyyyyyyyyy';
$cfgHote = 'localhost';
$prefixeTable = 'phpwebgallery_';
define('PHPWG_INSTALLED', true);
?>Replace xxxxxxxxxxxxxxx and yyyyyyyyyyyyy by your MySQL user/psw
And maybe the host (localhost) depending on your hoster directives.
8-)
PS: No explanation, except you scratch it or vulnerabilities somewhere on the server.
Offline
Hi,
I found that file where and it exists and it is perfecly fine. I opened it but everything was OK. Hm, I'm confused...
Offline
Could we have a link to your west Macedonian gallery?
Thanks.
8-)
Offline
Download 1.7.1
Unzip
Remove ./include/mysql.inc.php from the unzipped folders.
Transfer
Tell us.
8-)
Offline
I just did it and nothing changed, its the same... :( Other solutions?
Offline
.htaccess ???
I sent you a mail.
8-)
Offline
Hi VDigital,
I was away on a trip and I couldn't answer on your email. My hosting company solved the problem, it was a missing username from the db. Now the gallery works well, but when I try to go to my admin panel I get this message.
Template->make_filename(): Error - file ./template/flop_pure_design/admin/check_integrity.tpl does not exist
I downloaded the flop pure design but I there's no check_integrity.tpl in the folder.
Where can I find it?
Thank you in advance.
Offline
Haribda,
I was away too.
I will check my mails asap.
8-)
Offline
Hi VDigital,
Anynews on my problem with my admin login? I have some pictures that I can not publish hehe.
Please if you have some time take a look.
Offline
Sorry, I am disconected from your problem. Could you send me again all elements?
I promise to take time for you.
8-/
Offline