Forum

When i launch first...
 
Notifications
Retirer tout

When i launch first configuration

10 Posts
2 Utilisateurs
0 Reactions
6,398 Vu
 Reza
(@rvasighi)
Posts: 12
Active Member
Début du sujet
 
[#5339]

When i launch first configuration in my local host computer , i received this message
what i must to do to resolve this problem
thx


 
Posté : 08/08/2018 6:30 pm
(@babynus)
Posts: 14952
Membre Admin
 

Issue is clear and has amready been reported here several times : access denied on DB access.
It means credentials to access DB are wrong.
Check your install to know correct credentials.
On WAMP, XAMP, MAMP, you may try :
- root/mysql (it seems the one you tried)
- root/ (no password)


 
Posté : 08/08/2018 6:47 pm
 Reza
(@rvasighi)
Posts: 12
Active Member
Début du sujet
 

Could you explain more clearly, what is the meaning of this:
On WAMP, XAMP, MAMP, you may try :
- root/mysql (it seems the one you tried)
- root/ (no password

what am i dining in configuration windows?
-root/mysql where is it? root is the name of folder or its mean that root !


 
Posté : 08/08/2018 9:41 pm
(@babynus)
Posts: 14952
Membre Admin
 

It means
db user = root
db password = mysql
or
db user = root
db password = (leave empty)


 
Posté : 08/08/2018 10:55 pm
 Reza
(@rvasighi)
Posts: 12
Active Member
Début du sujet
 

Thank for answer,

I tried the second option
db user = root
db password = (leave empty)
and error massage change as follows
:incorrect value for 'Log file name', cannot write to such a file : check access rights
the value in log file is: ../files/logs/projeqtor_${date}.log


 
Posté : 08/08/2018 11:02 pm
 Reza
(@rvasighi)
Posts: 12
Active Member
Début du sujet
 

Thank for answer,
the first option is used actually in my configuration page and gave me an error message that i explained to you, so
I tried the second option
db user = root
db password = (leave empty)
and error massage change as follows
:incorrect value for 'Log file name', cannot write to such a file : check access rights
the value in log file is: ../files/logs/projeqtor_${date}.log


 
Posté : 08/08/2018 11:06 pm
(@babynus)
Posts: 14952
Membre Admin
 

Have a look at message : cannot write to such a file : check access rights

I guess all your files and directories are readonly (sometimes the result of unzipping)
Change access rights (at least to all content of folder projeqtor/files including sub-directories)


 
Posté : 08/08/2018 11:44 pm
 Reza
(@rvasighi)
Posts: 12
Active Member
Début du sujet
 

Hi,
i did change the rights of file as you told me, but i have the same massage.!
incorrect value for 'Log file name', cannot write to such a file : check access rights

it talk about log file name!

in configuration windows:
../files/logs/projeqtor_${date}.log.
i verified the Logs folder , we have not a file name like this. is system must create a file log (projeqtor_${date}.log) in the first configuration? or this file must before exist?


 
Posté : 09/08/2018 8:39 pm
(@babynus)
Posts: 14952
Membre Admin
 

Yes, the system will create the log file (one per day).
But it needs write access rights to do this.

Don't forget that it is the PHP user (internal user who launched PHP) that needs to be able to write, and it may be different from your current user.
So best it to give write rights to every user to be sure.


 
Posté : 09/08/2018 8:54 pm
 Reza
(@rvasighi)
Posts: 12
Active Member
Début du sujet
 

Thanks for your support.
its solved!!!!
i got it


 
Posté : 09/08/2018 10:14 pm
Share:
Retour en haut