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.

Version 5.01 Cannot...
 
Notifications
Clear all

Version 5.01 Cannot open index.php

13 Posts
2 Users
0 Reactions
15.9 K Views
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 
[#2412]

When I open projeqtor folder I can't open by using http://localhost/projeqtor it's show nothing
But When I open by using http://localhost/projeqtor/view/main.php It can show login screen.

Then I checked the index.php file It have nothing in this file
Please refer to index.php file


 
Posted : 06 Jul 2015 6H20
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Your apache may not be correctly configured to open index.php by default
You should have something like that in your httpd.conf

DirectoryIndex index.php index.phtml index.html index.htm

About index.php you attached, I guess you copied the one in /tool folder.
You'll find such index.php in every folder : it is a security trick, to avoid listiong of folders, whatever the apache configuration.

Look at index.php in / (root of projeqtor) and /view, they are quite different and work fine.


 
Posted : 06 Jul 2015 10H43
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

I think apache config may not concern
Because it's worked perfect with version 4.5 (it will show login screen when type http://localhost/projeqtor)

But after upgraded into version 5.0.1 the problem was occurred


 
Posted : 06 Jul 2015 12H38
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

using http://localhost/projeqtor it's show nothing

Could you give more detail ?
Nothing means blanck page ?
Did you tyry and refresh browser cache ?
Do you have errors in browser console ?
Could you right click on page, show source, and copy & paste result here ?

Thanks.


 
Posted : 06 Jul 2015 13H18
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

Please confirm the attached file


 
Posted : 06 Jul 2015 13H32
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

it seems you have issue with getTheme function.
Could you check ProjeQtOt log file and PHP (or apache) log file for error ?


 
Posted : 06 Jul 2015 13H41
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

Please confirm Projector log file
About the PHP or apache log file I cannot download it due to security rule of my host service company


 
Posted : 06 Jul 2015 13H50
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

I guess you have issue with getTheme() funtion.
As I cannot reproduce, I would need more hints to find workaround.

1) could you try to change line 50 in /index.php from

<body class="tundra "  style='background-color: #C3C3EB' onload="autoRedirect();">

to


and line 53 in /view/index.php from

<body class="tundra " style='background-color: #C3C3EB' >

to


Does it first fix issue ?


 
Posted : 07 Jul 2015 12H57
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

As I told you that new version of V5.0.1 the /index.php haven't anything In the file please refer the attached file.

Ps. I changed /view/index.php already but It won't work


 
Posted : 09 Jul 2015 5H09
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,
/index.php (the index.php at the root of projeqtor) should not contain what you attached.
The one you attached is one of the many index.php, one in each folder.

Attached is expected index.php.


 
Posted : 09 Jul 2015 10H41
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

I have already changed /index.php as what you explained
Now it's show only background color Please see the attached.


 
Posted : 10 Jul 2015 5H58
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Your print screen show you try to access /projeqtor/css/index.php
=> this file is not the first index page
=> it seems there is an issue in the structure of the projects; it should be /projeqtor/view/css/index.php

NB : V5.0.2 has just been deployed.
Try this one with brand new deployment.


 
Posted : 10 Jul 2015 10H54
 mate
(@matekhong)
Posts: 26
Active Member
Topic starter
 

After updated V5.0.2 It works fine Now
Thank your quick help


 
Posted : 14 Jul 2015 7H03
Share:

Scroll to Top