Forum

[SOLVED] Fopen erro...
 
Notifications
Retirer tout

[SOLVED] Fopen error at first intallation

4 Posts
2 Utilisateurs
0 Reactions
5,114 Vu
(@sylvain)
Posts: 7
Active Member
Début du sujet
 
[#3189]

Hi,

I am French. So, My language is not good. I'm sorry

I am looking for a project management program. I found Projeqtot 🙂
I try to locally insttalation with:

Apache / 2.2.27 (Win32) DAV / 2 mod_ssl / 2.2.27 OpenSSL / 1.0.1g mod_fcgid / 2.3.9 mod_wsgi / 3.4 Python / 2.7.6 PHP / 5.6.13 mod_perl / 2.0.8 Perl / v5.16.3

The installation seems to be fine.

However, when I connect for the first time, I was after a long time:

ERROR: fopen (../ files / config / parameters.php): failed to open stream: Invalid argument in Parameter.php at line 804

It's strange because this file contain only 43 lines :huh:

If you have any leads, I'm interested 🙂

In terms of urgency, I learn to use it. So I have all the time 🙂

I'll put in onligne when I can better control the beast: P

Thanks in advance

(Thanks google translotor :S)

Regards
Sylvain

Edit :

I forget : OS : win 7 64 Bits
I try fopen and it run

Logs file :

2016-03-27 19:16:21.624 ===== TRACE ===== === REWRITE PARAMTERS.PHP FILE = START ====================
2016-03-27 19:16:21.624 ** ERROR ** ERROR **
2016-03-27 19:16:21.624 ** ERROR ** on file 'D:wwwprojeqtormodelParameter.php' at line (804)
2016-03-27 19:16:21.624 ** ERROR ** cause = fopen(../files/config/parameters.php): failed to open stream: Invalid argument
2016-03-27 19:38:03.856 ** ERROR ** Exception-[42S02] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'projeqtor.user' doesn't exist
2016-03-27 19:38:03.859 ** ERROR *****    For query : select * from user where user.name='admin' and user.isUser = '1' 
2016-03-27 19:38:03.861 ** ERROR **    Strack trace :
2016-03-27 19:38:03.862 ** ERROR **    #0 Sql->query called at [D:wwwprojeqtormodelpersistenceSqlElement.php:1713]
2016-03-27 19:38:03.863 ** ERROR **    #1 SqlElement->getSqlElementsFromCriteria called at [D:wwwprojeqtortoolloginCheck.php:61]
2016-03-27 19:38:03.866 ===== TRACE ===== Login error for user 'admin'

 
Posté : 27 Mar PM 21:033
(@babynus)
Posts: 14952
Membre Admin
 

It's strange because this file contain only 43 lines :huh:

It is because issue is in /Model/Parameter.php, not /files/config/parameter.php.

It seems you have a /tool/parametersLocation.php file, but it does not contain correct $parametersLocation var or this does not fit parameters.php file location.
Try and delete /tool/parametersLocation.php and try again.

NB : I don't understand the "locally installation" you report. Are these installed modules ?
ProjeQtOr just needs to be unzipped on a PHP server web directory...


 
Posté : 28 Mar AM 11:033
(@sylvain)
Posts: 7
Active Member
Début du sujet
 

Well, I try to install ProjeQTor In my computer, with web service MAMP

My computer is old.
I change in PHP.ini the delai for execute script.
30s => 480s.

I try to add some time... and i say you what append

The data base is OK, but need long time to be contructed

so, i try with xamp soon and i'm coming back here toreport the result...

Thanks 🙂

Objective :

  1. Learn to use Projeqtor
  2. See how to install for dedicated server
  3. Use ProjeQTor for my project

 
Posté : 28 Mar PM 14:033
(@sylvain)
Posts: 7
Active Member
Début du sujet
 

Sorry for double post...

Well, all are good.

I installed xamp for windows 7

I adapted 3 things in php.ini

  • Mysql extension
  • imap extension
  • max_input_vars = 4000

Version of :

  • PHP : 5.6.15
  • Apache : 2.4.17 (win32)
  • DB engin : MariaDB 10.1.10

I don't the raison that block installation with server MAMP

For me, issue is closed.

I expect that serve for everybody 😉

Regards
Sylvain


 
Posté : 28 Mar PM 17:033
Share:
Retour en haut