Adorius Black
Advanced OT User
- Joined
- Mar 31, 2020
- Messages
- 321
- Solutions
- 3
- Reaction score
- 194
Hi. Today i tried to install xampp on ubuntu and run gesior page. But problem is that my page is blank. its not loaded. what i am making bad?
Errors are probably inBut problem is that my page is blank. its not loaded. what i am making bad?
/var/log/apache2/error.log
i tried today go through nginx tutorial but i was always stuck somewhere. thats why i try now xampp.don't use xampp, try apache or nginx
i dont have any error in this log. I changed xampp for 7.4 version and i have error that i have not correct path to config even if i have correct path to config. maybe this make this problem.Errors are probably in/var/log/apache2/error.log
Fatal error: Uncaught InvalidArgumentException: #C-2 LUA config file doesn't exist. Path: <b>/home/username/Desktop/tfs/config.lua</b> in /opt/lampp/htdocs/classes/configlua.php:25 Stack trace: #0 /opt/lampp/htdocs/classes/configlua.php(13): ConfigLUA->loadFromFile('/home/username/...') #1 /opt/lampp/htdocs/system/load.init.php(21): ConfigLUA->__construct('/home/username/...') #2 /opt/lampp/htdocs/index.php(18): include_once('/opt/lampp/htdo...') #3 {main} thrown in /opt/lampp/htdocs/classes/configlua.php on line 25
Probablyif i have correct path to config. maybe this make this problem.
config.lua
file access is set to some value that does not allow PHP to read it. Try to set it to 777 and check, if acc. maker works then.already did it but its still same.Probablyconfig.lua
file access is set to some value that does not allow PHP to read it. Try to set it to 777 and check, if acc. maker works then.
already did it but its still same.
setPrintQueries(true);// DATABASE END// LOGINif(!ONLY_PAGE) include_once('./system/load.login.php');// LOGIN END// COMPAT// some parts in that file can be blocked because of ONLY_PAGE constantinclude_once('./system/load.compat.php');// COMPAT END// LOAD PAGEinclude_once('./system/load.page.php');// LOAD PAGE END// LAYOUT// with ONLY_PAGE we return only page text, not layoutif(!ONLY_PAGE) include_once('./system/load.layout.php');else echo $main_content;// LAYOUT END
CREATE USER 'your_user'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON your_database.* TO 'your_user'@'localhost';
FLUSH PRIVILEGES;