mcbsolutions Posted November 4, 2013 Share Posted November 4, 2013 Hi, i appreciate your work on this! I can't seem to get past an error with my configuration. I'm working with 18.104.22.168 on a linux vm for testing (its not a live environment). Warning: require(/mobile/includes/classes/mobile_redirect.php): failed to open stream: No such file or directory in /var/www/it2334/includes/application_top.php on line 518 Fatal error: require(): Failed opening required '/mobile/includes/classes/mobile_redirect.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/it2334/includes/application_top.php on line 518 so line 518 says this: require(DIR_FS_MOBILE . 'includes/classes/mobile_redirect.php'); My DIR_FS_MOBILE IS defined as define('DIR_FS_MOBILE', DIR_FS_CATALOG . 'mobile/'); and DIR_FS_CATALOG is define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); I dont understand why this code does not point me to the correct path. The file is indeed in the path. What am i missing? Thank you! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.