Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Error on installing
 
Notifications
Clear all

Error on installing

6 Posts
2 Users
0 Reactions
3,346 Views
 Tini
(@kompost)
Posts: 3
Active Member
Topic starter
 
[#5394]

this is from the log:
2018-09-03 20:52:28.034 ===== TRACE ===== REWRITE PARAMTERS.PHP FILE = END ======================
2018-09-03 20:52:28.034 ===== TRACE ===== set default profile [V3.4.0]
2018-09-03 20:52:28.043 ===== TRACE ===== delete old references to projectorria [V4.0.0]
2018-09-03 20:52:28.044 ===== TRACE ===== update user password changed date [4.2.0]
2018-09-03 20:52:28.094 ===== TRACE ===== update bill reference [5.1.0.a]
2018-09-03 20:52:28.107 ===== TRACE ===== Create delivery types from deliverable types
2018-09-03 20:52:28.237 ** ERROR ** [] ERROR **
2018-09-03 20:52:28.237
** ERROR ** [] on file '/var/www/primusmotus.dk/public_html/projeqtor/model/Cron.php' at line (263)
2018-09-03 20:52:28.237
** ERROR ***** [] cause = fopen(/RESTART) [function.fopen]: failed to open stream: Permission denied

The error occurs after I try to login for the first time with admin/admin. I can see that my database gets populated, but it stops abruptly on the error above.
As the error log says, the issue is with write permissions. But i'm a bit lost which file or what permissions I have to give. Can anyone elaborate and helm me?


 
Posted : 03 Sep 2018 23H00
(@babynus)
Posts: 14952
Member Admin
 

It is access rights to folder projoqtor/files/cron
PHP user must be able to write files here.

Globally, you should set write access to php use to all sub-folder of projeqtor/files


 
Posted : 04 Sep 2018 13H02
 Tini
(@kompost)
Posts: 3
Active Member
Topic starter
 

Well it throws me the same error. Just for testing i did `chmod -R 777 projeqtor/ ` free rights for everyone! And still write permission error.


 
Posted : 04 Sep 2018 16H57
(@babynus)
Posts: 14952
Member Admin
 

Hi,

I thing I have a clue.
fopen(/RESTART) : should be something like ../files/cron/RESTART

It seems parameter for cron directory is missing (but should be inserted with script for V3.0.0)
Please check content of table parameter for line with parameterCode='cronDirectory'.
This line should exist and containt something like '../files/cron'


 
Posted : 05 Sep 2018 1H06
 Tini
(@kompost)
Posts: 3
Active Member
Topic starter
 

Ty for for fast responses
I have checked and there is a line with those attributes
id idUser idProject parameterCode parameterValue
48 NULL NULL cronDirectory ../files/cron


 
Posted : 05 Sep 2018 11H20
(@babynus)
Posts: 14952
Member Admin
 

Check also that there is only one line with the code.
If there are several, delete extra ones so that you have 1 and only 1.

If all is correct on DB, so sure it is access right issue.


 
Posted : 05 Sep 2018 11H32
Share:

Scroll to Top