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.

Unable to finish in...
 
Notifications
Clear all

Unable to finish installation

6 Posts
2 Users
0 Reactions
4,248 Views
(@tzemljak)
Posts: 3
Active Member
Topic starter
 
[#1692]

Hi, i've downloaded latest version of projeqtor and tried to deploy it to my server.
After the initial set up screen i got a "continue" button. Pressing it led me to a "ERROR : An error occurred on 2014-03-17 at 13:22:04" screen.
Restarting the setup resulted in same.
DB engine shows i now have a new database named "projeqtor" , but it lacks any content.
Whole projeqtor folder and it's subcontent is chowned to apache:apache , Http/DB logs , nor syslog contain no errors, where do i start with debugging ?

Server setup:
OS: centOS 6.5
PHP: 5.3.3
DB: MySql


 
Posted : 17 Mar 2014 15H34
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

Please get log file (default is in /files/logs) and post it here if you don't understand its content.


 
Posted : 17 Mar 2014 15H51
(@tzemljak)
Posts: 3
Active Member
Topic starter
 

Hi, thank you for reply, content of log file is :

2014-03-17 13:03:10 ** ERROR ** ERROR **
2014-03-17 13:03:10
** ERROR ** on file '/var/www/html/projeqtor/tool/projeqtor.php' at line (94)
2014-03-17 13:03:10
** ERROR ** cause = get_class() expects parameter 1 to be object, array given
2014-03-17 13:03:15
** ERROR ** ERROR **
[...]
2014-03-17 13:22:04 ** ERROR ** ERROR **
2014-03-17 13:22:04
** ERROR ** on file '/var/www/html/projeqtor/tool/projeqtor.php' at line (94)
2014-03-17 13:22:04
** ERROR ***** cause = get_class() expects parameter 1 to be object, array given

( error keeps repeating)


 
Posted : 17 Mar 2014 16H20
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

Hi,

The log shows an error on :

 $user=$_SESSION['user'];
    // user must be a User object. Otherwise, it may be hacking attempt.
    if (get_class($user) != "User") {

clearly, in PrjeQtOr $_SESSION['user'] stores an object of class User.
If you retrieve an array, it is because you retrieved an old session connected to another application already using $_SESSION['user'].

So you just need to get a clean PHP session to have a correct set_up ofProjeQtOr.
To do this :
- clean browser cache (this is enough in most cases)
- stop your php server, remove all session files (in php temp directory) and restart php server

Regards.


 
Posted : 17 Mar 2014 16H48
(@tzemljak)
Posts: 3
Active Member
Topic starter
 

Thank you, cleaning caches helped.
Does the later part of your explanation means i can't use projeqtor in a enviroment where the server hosts more than one web-app ?
I'm asking because my initial ide was to, after testing, move the service/app to a external server that already hosts some web based applications that utilize PHP.


 
Posted : 17 Mar 2014 17H17
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

A user will not be able to connect to both applications in the same time.
Clean disconnection will be needed between each, with session destroy (ProjeQtOr disconnection does this, but not sure your other application does).

A workaround is to set each application on different VirtualHost.


 
Posted : 17 Mar 2014 18H32
Share:

Scroll to Top