Forum

[SOLVED] incorrect ...
 
Notifications
Clear all

[SOLVED] incorrect value for 'Log file name', cannot write to such a file : check access rights on linux

10 Posts
2 Users
0 Reactions
17.8 K Views
(@soblog)
Posts: 26
Active Member
Topic starter
 
[#2760]

hi i put my projeqtor on linux server,

and then when i finish to set all my first configuration its returning this message in the bottom :
incorrect value for 'Log file name', cannot write to such a file : check access rights

what is the problem? it is the access right?

or it is the projeqtor permission?

Thanks


 
Posted : 26 Nov 2015 5H35
(@babynus)
Posts: 14952
Member Admin
 

The problem is write access rights on file system.
You must set some write rights to php user (www-data on debian like distribs) on some directories :

  • directory where log files will be written
  • directory where documents and attachments will be stored
  • temporary files directories (projeqtor/files/*)
  • projeqtor/tools : configuration process will write one file here. Can be set to readonly after config steps

 
Posted : 26 Nov 2015 15H57
(@soblog)
Posts: 26
Active Member
Topic starter
 

im sorry but what is the syntax to change our write rights in that folder ?


 
Posted : 27 Nov 2015 5H36
(@soblog)
Posts: 26
Active Member
Topic starter
 

i have change all the write rights required files to 777 but it return this kind of error :
ERROR : An error occurred on 2015-11-27 at 07:01:16

and when i check the log files, there is not file that describe what happen in my projeqtor

help me

thanks


 
Posted : 27 Nov 2015 9H00
(@babynus)
Posts: 14952
Member Admin
 

If you have this kind of error, you must have detailed error on projeqtor log file (default location is projeqtor/files/logs, one file per day).
Please post error here.


 
Posted : 27 Nov 2015 10H35
(@soblog)
Posts: 26
Active Member
Topic starter
 

when i check that, there is no file other thatn index.php


 
Posted : 27 Nov 2015 10H45
(@babynus)
Posts: 14952
Member Admin
 

Can you check :
1) projeqtor/tool/parametersLocation.php : here is defined location of your parameters.php file (default is projector/files/config/parameters.php)
2) in your parameters.php file, location for log files (default is projeqtor/files/logs but it can be changed)
If really log files location is defaut and empty, try and check Apache error file.
It should be in /var/logs/apache2/error.log


 
Posted : 27 Nov 2015 10H49
(@soblog)
Posts: 26
Active Member
Topic starter
 

i found in the file you refer this sentence :
Error cause =date_default_timezone_set() : Timezone ID 'Asian/Jakarta' is Invalid


 
Posted : 27 Nov 2015 10H56
(@soblog)
Posts: 26
Active Member
Topic starter
 

Thanks Admin, it has been solved, its not Asian, its asia in default php timezone


 
Posted : 27 Nov 2015 10H58
(@soblog)
Posts: 26
Active Member
Topic starter
 

please help me in another topic..

http://www.projeqtor.org/en/forum/5-ask-questions/6746-exception-42s02-sqlstate-42s02-base-table-or-view-not-found-1146-table-projeqtor-parameter-d

Thanks Admin 🙂


 
Posted : 27 Nov 2015 11H06
Share:

Scroll to Top