Nicca
Новичок
вопрос по access_user_class
Скачал этот класс. Всю папку залил на сервер localhost/access_user_class.
Сам класс скопировал в папку classes/access_user/
В db_config.php прописал:
Захожу теперь
http://localhost/access_user_class/example.php
пишет HTTP 500 внутренняя ошибка сервера
Пс. $_SERVER['DOCUMENT_ROOT'] ---------- d:/htdocs/
Скачал этот класс. Всю папку залил на сервер localhost/access_user_class.
Сам класс скопировал в папку classes/access_user/
В db_config.php прописал:
PHP:
// use this pathes and/or define the pathes for the "standard" pages
define("CLASS_PATH", $_SERVER['DOCUMENT_ROOT']."classes/access_user/"); // the location where the class is executed
$sec_path = $_SERVER['DOCUMENT_ROOT']."access_user_class/"; // a second location where the scripts should be
define("APPLICATION_PATH", $sec_path);
http://localhost/access_user_class/example.php
пишет HTTP 500 внутренняя ошибка сервера
Пс. $_SERVER['DOCUMENT_ROOT'] ---------- d:/htdocs/