02-18-2018, 09:39 PM
Hi,
I have the latest version (4.3.13). I have US installed on Redhat. when I do php any PHP file, it return something like this:
<pre></pre>
require_once $abs_us_root.$us_url_root.'users/helpers/helpers.php';
when I run the following commands
`echo "<pre>"; var_dump($abs_us_root); var_dump($us_url_root); var_dump($abs_us_root.$us_url_root.'users/includes/header.php'); echo "</pre>";
I get the following output:
string(13) "/var/www/html"
string(8) "/portal/"
string(46) "/var/www/html/portal/users/includes/header.php"
Also, I dont know why it complains about (include_path='.:/usr/share/pear:/usr/share/php')? I have no pear installed and /usr/share/php folder is empty!
I installed Apache,PHP, and MySQL using default yum repositories.
I have the latest version (4.3.13). I have US installed on Redhat. when I do php any PHP file, it return something like this:
<pre>
Code:
PHP Fatal error: require_once(): Failed opening required 'users/helpers/helpers.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/portal/users/init.php on line 23
Line 23 on file: init.php, has the following
require_once $abs_us_root.$us_url_root.'users/helpers/helpers.php';
when I run the following commands
`echo "<pre>"; var_dump($abs_us_root); var_dump($us_url_root); var_dump($abs_us_root.$us_url_root.'users/includes/header.php'); echo "</pre>";
I get the following output:
string(13) "/var/www/html"
string(8) "/portal/"
string(46) "/var/www/html/portal/users/includes/header.php"
Also, I dont know why it complains about (include_path='.:/usr/share/pear:/usr/share/php')? I have no pear installed and /usr/share/php folder is empty!
I installed Apache,PHP, and MySQL using default yum repositories.