Forum

Version 5.01 Cannot...
 
Notifications
Retirer tout

Version 5.01 Cannot open index.php

13 Posts
2 Utilisateurs
0 Reactions
15.8 K Vu
 mate
(@matekhong)
Posts: 26
Active Member
Début du sujet
 
[#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


 
Posté : 6 Juil AM 06:077
(@babynus)
Posts: 14952
Membre 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.


 
Posté : 6 Juil AM 10:077
 mate
(@matekhong)
Posts: 26
Active Member
Début du sujet
 

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


 
Posté : 6 Juil PM 12:077
(@babynus)
Posts: 14952
Membre 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.


 
Posté : 6 Juil PM 13:077
 mate
(@matekhong)
Posts: 26
Active Member
Début du sujet
 

Please confirm the attached file


 
Posté : 6 Juil PM 13:077
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

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


 
Posté : 6 Juil PM 13:077
 mate
(@matekhong)
Posts: 26
Active Member
Début du sujet
 

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


 
Posté : 6 Juil PM 13:077
(@babynus)
Posts: 14952
Membre 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 ?


 
Posté : 7 Juil PM 12:077
 mate
(@matekhong)
Posts: 26
Active Member
Début du sujet
 

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


 
Posté : 9 Juil AM 05:077
(@babynus)
Posts: 14952
Membre 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.


 
Posté : 9 Juil AM 10:077
 mate
(@matekhong)
Posts: 26
Active Member
Début du sujet
 

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


 
Posté : 10 Juil AM 05:077
(@babynus)
Posts: 14952
Membre 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.


 
Posté : 10 Juil AM 10:077
 mate
(@matekhong)
Posts: 26
Active Member
Début du sujet
 

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


 
Posté : 14 Juil AM 07:077
Share:
Retour en haut