convert.php help

You need additional help with phplogcon, then write into this forum.

convert.php help

Postby askorp » Thu Sep 25, 2008 11:07 am

After reading your suggestion using convert.php to create phplogcon accounts would it be possible to post some sort
of documentation on how to use it?
No matter how i hard i try i always get some sort of error. Maybe some sort of general guideline or steps we need to follow to make convert.php work?

Best regards,

Aris
askorp
Avarage
 
Posts: 21
Joined: Fri Aug 08, 2008 7:19 am

phpLogCon professional services

  • Custom phpLogCon configuration?
  • Maintenance Contract?
  • Installation support?

Re: convert.php help

Postby alorbach » Thu Sep 25, 2008 11:23 am

Hi,

for security reasons, you have to add a variable into your config.php manually to allow the convert.php to work.
As the error message says, add this variable into your config.php
$CFG['UserDBConvertAllowed'] = true;


If it doesn't work, please post the detailed error messages here.

best regards,
Andre Lorbach
User avatar
alorbach
Site Admin
 
Posts: 1129
Joined: Thu Feb 13, 2003 11:55 am

Re: convert.php help

Postby askorp » Mon Sep 29, 2008 5:54 pm

Hi,
Sorry for the late reply but i was away from work and could not test your suggestion.....

Anyway i did add the line you mention to my config.php but after directing my browser to convert.php i get this message:
Critical error occured
phplogcon is not allowed to convert your settings into the user database. Please add the following into your config.php
$CFG['UserDBConvertAllowed'] = true;

That's strange since as i mentioned i have added this line....any ideas:)?
askorp
Avarage
 
Posts: 21
Joined: Fri Aug 08, 2008 7:19 am

Re: convert.php help

Postby alorbach » Tue Sep 30, 2008 10:24 am

Hi,

my bad I forgot to mention that you need to configure the other userdb options as well. This means this whole block here:

Code: Select all
$CFG['UserDBEnabled'] = false;
$CFG['UserDBServer'] = "";
$CFG['UserDBPort'] = 3306;
$CFG['UserDBName'] = "";
$CFG['UserDBPref'] = "";
$CFG['UserDBUser'] = "";
$CFG['UserDBPass'] = "";
$CFG['UserDBLoginRequired'] = false;


This is automatically filled by the installer if you install the userdb system with the main installation.
However, now you need to fill in these options manually like this:

Code: Select all
$CFG['UserDBEnabled'] = true;
$CFG['UserDBServer'] = "localhost";
$CFG['UserDBPort'] = 3306;
$CFG['UserDBName'] = "phplogcon";
$CFG['UserDBPref'] = "logcon_";
$CFG['UserDBUser'] = "phplogconuser";
$CFG['UserDBPass'] = "password";
$CFG['UserDBLoginRequired'] = false;


Once you have done so, the convert.php will start to work.

--
best regards,
Andre Lorbach

PS: I recommend to update to the latest version before you start the conversion which is 2.5.12 (See here: http://www.phplogcon.org/downloads )
User avatar
alorbach
Site Admin
 
Posts: 1129
Joined: Thu Feb 13, 2003 11:55 am

Google Ads



Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron