Displaying code in browser

Why do I get this in my browser not sure what happened.
. */ include ‘init.php’; include $core_config[‘apps_path’][‘libs’] . ‘/function.php’; // fixme anton // load app extensions from index, such as menu, webservices and callbacks // using APP you can even load another application from playSMS if you need to // but the point is to make a single gate into playSMS, that is through index.php if (APP) { switch (APP) { case ‘menu’: case ‘main’: // APP=main to access main application logger_audit(); $fn = $core_config[‘apps_path’][‘incs’] . ‘/app/main.php’; if (file_exists($fn)) { include $fn; } break; case ‘ws’: case ‘webservice’: case ‘webservices’: // APP=webservices to access webservices, replacement of input.php and output.php $fn = $core_config[‘apps_path’][‘incs’] . ‘/app/webservices.php’; if (file_exists($fn)) { include $fn; } break; case ‘call’: // APP=call to access subroutine in a plugin if (CAT && PLUGIN) { core_hook(PLUGIN, ‘call’, array( $REQUEST )); } break; case ‘page’: // APP=page to access a page inside themes // by default this is used for displaying ‘forgot password’ page and ‘register an account’ page // login, logout, register, forgot password, noaccess logger_audit(); if (INC) { $fn = $core_config[‘apps_path’][‘themes’] . ‘/’ . core_themes_get() . '/page’ . INC . ‘.php’; if (file_exists($fn)) { include $fn; } else { $fn = $core_config[‘apps_path’][‘themes’] . ‘/common/page_’ . INC . ‘.php’; if (file_exists($fn)) { include $fn; } } } } } else { // no APP then load default page if (auth_isvalid()) { $query_string = ‘’; if ($core_config[‘main’][‘default_inc’]) { $query_string .= ‘&inc=’ . $core_config[‘main’][‘default_inc’]; } else { $query_string .= ‘&inc=core_welcome’; } if ($core_config[‘main’][‘default_route’]) { $query_string .= ‘&route=’ . $core_config[‘main’][‘default_route’]; } if ($core_config[‘main’][‘default_op’]) { $query_string .= ‘&op=’ . $core_config[‘main’][‘default_op’]; } header("Location: " . _u(‘index.php?app=main’ . $query_string)); } else { header("Location: " . _u(‘index.php?app=main&inc=core_auth&route=login’)); } exit(); } unset($_SESSION[‘dialog’]); // fixme anton - still exists for compatibilty unset($_SESSION[‘error_string’]); // fixme anton - remove last_post unset($_SESSION[‘tmp’][‘last_post’]);

Any changes in your server? Like update php, or webserver settings

Anton

Yes but nothing that should affect this I am in the process of implementing ssl but I have done this on other installation’s with no problem, so I guess its to do with apache but cannot find out why , thought is was session but that seems ok.

It was something in apache implemented ssl now its not doing it anymore, strange.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.