Author Topic: Testing in local  (Read 2978 times)

0 Members and 1 Guest are viewing this topic.

Offline stefano54

  • Pre-Newbie
  • Posts: 5
    • View Profile
Testing in local
« on: December 17, 2015, 06:47:43 PM »
I moved my site to local for testing
I followed the steps as mentioned in another post
I changed the database parameters

Now on my PC I find this message

  "An unexpected error occured. Please try again later."



Config.php

$db_servertype = 'mysql';
$db_host = 'localhost';
$db_name = 'foto2';
$db_user = '              ';
$db_password = '*******';

$table_prefix = '4images_';

define("4IMAGES_ACTIVE", 1);

      In config at line   $db_user = '              ';  what should I write?

Thank you
stefano

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.855
    • View Profile
Re: Testing in local
« Reply #1 on: December 17, 2015, 07:14:58 PM »
Hi,

possibly is db_name and db_user equal (foto2)  :wink:


nobby

Offline stefano54

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Testing in local
« Reply #2 on: December 18, 2015, 09:27:48 AM »
Fixed.
Found in the help of MySQL
 :D :D

 

Post your comments here