Jump to content

Vidan

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Vidan

  1. Thank you Guys I will try to fix all the steps from the beginning thanks.
  2. Hello Everybody, i still have this problem, Any Help please ?
  3. My Friend, there is no missing into folder htdocs there is schoolApp-master folder inside the htdocs directly must working when i wirte : Localhost/SchoolApp-master but not working i don't know why ! you can download the folder from this link : http://www.mediafire.com/folder/iun5pgypnmcc5/schoolapp and you can see what is the problem please thank you
  4. No dear, i am not insist to do that ! i write this : Localhost/SchoolApp-master only then when i click enter automatically show me in the address this : localhost/auth/login not me !! you can try by your self i put the program on this link : http://www.mediafire.com/folder/iun5pgypnmcc5/schoolapp any help ?
  5. i tried now, but same problem : i add : http://localhost/schoolApp-master/auth/login. but they give me : http://localhost/auth/login Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 localhost Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.14
  6. when i write : localhost\shoolapp they put this : http://localhost/auth/login !!! and this is the .htaccess file contents : RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php
  7. and this is the config.php codes : <?php defined('DATABASE_HOST_NAME') ? null : define('DATABASE_HOST_NAME', 'localhost'); defined('DATABASE_USER_NAME') ? null : define('DATABASE_USER_NAME', 'root'); defined('DATABASE_PASSWORD') ? null : define('DATABASE_PASSWORD', 'Moa_09195'); defined('DATABASE_DB_NAME') ? null : define('DATABASE_DB_NAME', 'school_db'); defined('DOMAIN_NAME') ? null : define('DOMAIN_NAME', 'school.app');
  8. this is the index.php codes: <?php use FR_MO\Lib\MainController; use FR_MO\Lib\Template\Template; use FR_MO\Lib\Registry; use FR_MO\Lib\SessionManager; use FR_MO\Lib\Messenger; use FR_MO\Lib\Authentination; //echo defined("DS") ? null : define("DS", DIRECTORY_SEPARATOR); require_once 'app' . DS . 'config' . DS . 'config.php'; require_once 'config.php'; require_once APP_PATH . DS . 'lib' . DS . 'autoload.php'; $nameTemplate = require_once 'app' . DS . 'config' . DS . 'templateconfig.php'; $session = new SessionManager(); $session->start(); $messenger = Messenger::getInstance($session); $authentination = Authentination::getInstance($session); $template = new Template($nameTemplate); $registry = Registry::getInstance(); $registry->session = $session; $registry->messenger = $messenger; $control = new MainController($template, $registry, $authentination); $control->getInstance();
  9. thank you for your help i tried to copy all the contents inside the file to another file name (.htaccess) but also not working ! what shall i do now ?
  10. Hi to all, I got a school program online, but I could not browse it through the program (Xampp ) local server, although I knew the database on the server in the PHP addiction, according to what I got from one of the videos, but it did not work! Any help, please I attach to you the pictures that I receive from the program, and this is the link for the SchoolApp: http://www.mediafire.com/folder/iun5pgypnmcc5/schoolapp
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.