Jump to content

Problem!


Eicosav

Recommended Posts

Hello folks,

I had some problems during the installation process. I'm able to acess the index page, but when I try to do anythin in this page (like acess the pilots, or live map) a message like this appears:

Warning: include(core/codon.config.php): failed to open stream: Operation not permitted in /www/zxq.net/e/i/c/eicosairlinesvirtual/htdocs/index.php on line 40 Warning: include(): Failed opening 'core/codon.config.php' for inclusion (include_path='.:/usr/lib/php') in /www/zxq.net/e/i/c/eicosairlinesvirtual/htdocs/index.php on line 40 Fatal error: Class 'Config' not found in /www/zxq.net/e/i/c/eicosairlinesvirtual/htdocs/index.php on line 42

What I have to do?

Link to comment
Share on other sites

Hello. I see you are on free hosting. I am not sure what this error is, but most of the time, phpVMS will NOT run very well on free hosting. Search this forum for that particular error and see what you can come up with. I will check between now and then myself.

Link to comment
Share on other sites

  • Administrators

You need to contact your host, they will have to adjust the config of the server, unless you are on a dedicated or vps with root access you could make the changes yourself. Looking at it quick I would say some of the fastcgi settings are incorrect.

Link to comment
Share on other sites

You need to contact your host, they will have to adjust the config of the server, unless you are on a dedicated or vps with root access you could make the changes yourself. Looking at it quick I would say some of the fastcgi settings are incorrect.

I have the root acess, tell me what to do.

Link to comment
Share on other sites

Here is:

phpVMS Virtual Airline Administration Software

Install Check

get(PHPVMS_API_SERVER.'/version'); if($contents == '') { $error = $file->errors[count($file->errors)-1]; error('Connection failed', 'Could not connect to remote server - error is "'.$error.'"'); } else { success('OK', 'Can contact outside servers'); } unset($file); /* Simple XML? */ echo '

'; echo 'Checking for SimpleXML module...

'; if(function_exists('simplexml_load_string') == true) { success('OK', 'SimpleXML module exists!'); } else { error('Fail', 'SimpleXML module doesn\'t exist or is not installed. Contact your host'); } /* File hashes check */ echo '

'; echo 'Checking file hashes for corrupt or mismatched files

'; $fp = fopen(HASH_LIST, 'r'); if(!$fp) { error('Fatal', 'Could not read '.HASH_LIST); exit; } $total = 0; $errors = 0; while(!feof($fp)) { $line = fgets($fp); $line = trim($line); if(empty($line)) continue; fscanf($fp, '%s %s', $checksum, $file); $total ++; $file = str_replace('*./', '../', $file); if($file == '../core/local.config.php' || substr_count($file, 'unittest') > 0 || empty($file)) { continue; } if(!file_exists($file)) { $errors++; error('Error', "{$file} doesn't exist"); continue; } $calc_sum = md5_file($file); $file = str_replace('../', '/', $file); # make pretty if($calc_sum === false) { $errors++; error('Checksum failed', "{$file} - permissions might be incorrect!"); continue; } if($calc_sum != $checksum) { $errors++; error('Checksum failed', "{$file} did not match, possibly corrupt or out of date"); continue; } $file = ''; } if($errors == 0) { success('OK', 'No errors found!'); } echo "

-- Checked {$total} files, found {$errors} errors

"; ?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...